Skip to content

Instantly share code, notes, and snippets.

@stujo
Last active October 19, 2016 23:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stujo/a69e967dfb504d61139d06ca3f2c60a6 to your computer and use it in GitHub Desktop.
Save stujo/a69e967dfb504d61139d06ca3f2c60a6 to your computer and use it in GitHub Desktop.
Available npm run scripts in the ReactStarterKit
$ npm run
Lifecycle scripts included in :
test
mocha "src/**/*.test.js" --require test/setup.js --compilers js:babel-register
start
babel-node tools/run start
available via `npm run-script`:
lint:js
eslint src tools
lint:css
stylelint "src/**/*.{css,less,scss,sss}"
lint
npm run lint:js && npm run lint:css
test:watch
npm run test -- --reporter min --watch
clean
babel-node tools/run clean
copy
babel-node tools/run copy
bundle
babel-node tools/run bundle
build
babel-node tools/run build
deploy
babel-node tools/run deploy
render
babel-node tools/run render
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment