-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the requirement for a second package.json in the app folder #577
Comments
Personally, I'm mostly peeved that I have to shove stuff into an |
Hey @tjvantoll, The problem with this is that the runtimes fail to resolve which is your main. The current workflow is like this:
We have been discussing that we can provide a fallback for |
With |
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'sapp
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 theapp/package.json
file's"main"
. So I had to keep around a basicpackage.json
for my app to work:Is 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 beapp.js
so a project only needs to have onepackage.json
?Thanks.
The text was updated successfully, but these errors were encountered: