Title: Remove the requirement for a second package.json in the app folder · Issue #577 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Remove the requirement for a second package.json in the app folder · Issue #577 · NativeScript/nativescript-cli
X Title: Remove the requirement for a second package.json in the app folder · Issue #577 · NativeScript/nativescript-cli
Description: As of NativeScript 1.1.1 I can now keep my npm modules in the root folder of my NativeScript project, which is awesome. After I got that working I wanted to remove the package.json within my project's app folder, as that file didn't seem...
Open Graph Description: As of NativeScript 1.1.1 I can now keep my npm modules in the root folder of my NativeScript project, which is awesome. After I got that working I wanted to remove the package.json within my projec...
X Description: As of NativeScript 1.1.1 I can now keep my npm modules in the root folder of my NativeScript project, which is awesome. After I got that working I wanted to remove the package.json within my projec...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/577
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove the requirement for a second package.json in the app folder","articleBody":"As of NativeScript 1.1.1 I can now keep my npm modules in the root folder of my NativeScript project, which is awesome. After I got that working I wanted to remove the `package.json` within my project's `app` folder, as that file didn't seem to have any purpose anymore. But when I do that I get an error, as the CLI seems to be using the `app/package.json` file's `\"main\"`. So I had to keep around a basic `package.json` for my app to work:\n\n``` json\n{\n \"main\": \"app.js\"\n}\n```\n\nIs there any chance this configuration can move to the root `package.json` or just go away entirely—aka why can't we just default the app's main file to be `app.js` so a project only needs to have one `package.json`?\n\nThanks.\n","author":{"url":"https://github.com/tjvantoll","@type":"Person","name":"tjvantoll"},"datePublished":"2015-06-19T17:05:11Z","url":"https://github.com/NativeScript/nativescript-cli/issues/577"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9ce67157-8d7d-f34e-f37d-10a34edba020 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B150:157C65:19E0AC9:228304E:6B01566D |
| html-safe-nonce | dcadbc8cd185371be9c15aaec78501446e97b600d307157952b98c271b9dfd00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTUwOjE1N0M2NToxOUUwQUM5OjIyODMwNEU6NkIwMTU2NkQiLCJ2aXNpdG9yX2lkIjoiNTE3MTk5MzU2MzczNDU2MjQxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4253b7aa95c873d9aeb520c2d85d00f801263245edb3af8d19436c9cf0c55d63 |
| hovercard-subject-tag | issue:89613944 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/577/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8cfddeb7d0c77798fc512b0e536828291cc92fbb50ea62596168584948f70f81/NativeScript/nativescript-cli/issues/577 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8cfddeb7d0c77798fc512b0e536828291cc92fbb50ea62596168584948f70f81/NativeScript/nativescript-cli/issues/577 |
| og:image:alt | As of NativeScript 1.1.1 I can now keep my npm modules in the root folder of my NativeScript project, which is awesome. After I got that working I wanted to remove the package.json within my projec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tjvantoll |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width