package.json is not copied to the build folder
See original GitHub issueThe package.json file is not copied to the build folder, but yet without it, the contents of the build folder can’t be deployed on a remote server, since you wouldn’t be able to recreate the node dependencies in node_modules. I suspect the best way to add it is to just add this to the build.js?
s.cp('package.json', 'build/package.json');
Or is there a better way, or am I missing something?
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to copy package.json in dist or build folder when running ...
json file (see screenshot) and I run tsc in order to transpile it to es5 in my dist folder but the package. json...
Read more >Modify library package.json (do not copy to dist folder) #1229
package.json is copied from source folder to dist folder. Publish workflow is cd dist && npm publish. Expected Behaviour.
Read more >Files still published when "Output directory" set to "Do not copy ...
js is always copied to the output folder when publishing. I would expect the "Output directory" and "Build action" properties to take priority...
Read more >"copy-files" task | Rush Stack
json config file. When to use it. This task is most commonly used to copy asset files such as fonts or images into...
Read more >Copying missing files during a typescript build on deploy
I'm adding the script copyMySpecialFiles . This copies all the files in the folder to build. The --up 1 tells copyfiles not to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, thanks for clarifying!
On Thu, May 10, 2018 at 12:27 PM, Carmine DiMascio <notifications@github.com
–
Chris Marx ZevRoss - Know Your Data Data Science & Spatial Analysis New website: www.zevross.com Ithaca, NY
closing this out, feel free to continue the discussion if needed