Skip to content

npm run dev and npm run build are empty strings now? #4200

Answered by browniebroke
pamelafox asked this question in Q&A
Discussion options

You must be logged in to vote

Our package.json in the template is a valid JSON file which contains all dependencies (Gulp + Webpack). This is to be able to receive Dependabot updates, which -if I'm not mistaken- don't work with Jinja tags.

We programmatically update the package.json file in the post-gen hooks to remove the dependencies which aren't needed and set the npm scripts:

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by pamelafox
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants