[Documentation] --use-npm & --scripts-version
See original GitHub issue- I have checked the issues & could’t find the mentioned below.
There should be mention of the following;
--use-npm
in the documentation, if someone want’s to opt out ofyarn
to usenpm
instead.- How to use
--scripts-version
when over-riding with your own custom react-scripts.
npx create-react-app
--scripts-version
CUSTOM_SCRIPT_PATH my-project-name--use-npm
I am more than happy to make a PR for this. (I would need some guideance though 😃)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
scripts - npm Docs
scripts. How npm handles the "scripts" field. Select CLI Version: ... Scripts from dependencies can be run with npm explore <pkg> -- npm...
Read more >Documenting build commands with NPM scripts
Alongside a readme, NPM scripts can be used document the different build commands that are available for a particular project.
Read more >NPM: How to document your package.json scripts
npx why is a tool created to fix the problem of documenting package.json scripts. If we have to run the scripts from the...
Read more >npm-run-all/run-s.md at master - GitHub
A CLI command to run given npm-scripts sequentially. This command is the shorthand of npm-run-all -s . Usage: $ run-s [--help | -h...
Read more >npm, pnpm, and Yarn | WebStorm Documentation - JetBrains
Alternatively, open the relevant package.json file in the editor or select it in the Project tool window and choose Run 'npm install' from...
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 FreeTop 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
Top GitHub Comments
@mrmckeb I made an initial poor draft on
--use-scripts
flag & wrote it here https://gist.github.com/adeelibr/304da37d0e22a687b1bf6f09c6f10ee6 Can you kindly give me some direction here =)Hello @adeelibr. We don’t support .template.dependencies.json officially, but the other methods are supported - but not documented.
I think we need to document
scripts-version
at some point, but we need to do it carefully as that feature is not for beginners.I’d be happy to accept a PR for the first two (excluding template dependencies for now) if you’d like to raise one. I can work on it with you 😃