NPX (Node Package Executor) CheatSheet for Developers
Basic Commands
Command | Description |
---|---|
npx create-react-app [name] | Create a react app |
npx npm-check -u | Update all project dependencies |
npx browserslist OR npx browserslist "last 2 versions, not dead, not < 2%" | Browsers list |
npx create-react-app {name} --template {template} | Templates can be added according to developer's need, like redux template, npx create-react-app my-app --template redux |
npx sirdeploy reactapp . | Deploy React App on Github |