MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getPackageJson

Function getPackageJson

packages/vite/helpers/project.ts:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 * Utility function to get the contents of the project package.json
27 */
28export function getPackageJson() {
29 return require(getProjectFilePath('package.json')) as IPackageJson;
30}
31
32/**
33 * Utility to get project files relative to the project root.

Callers 4

main-entry.tsFile · 0.70
utils.tsFile · 0.70
configureServerFunction · 0.50

Calls 1

getProjectFilePathFunction · 0.70

Tested by

no test coverage detected