Skip to content

Instantly share code, notes, and snippets.

@r3dcrosse
Created November 18, 2016 03:41
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 r3dcrosse/d5234675f0358fcadbd6979bd35ff2d0 to your computer and use it in GitHub Desktop.
Save r3dcrosse/d5234675f0358fcadbd6979bd35ff2d0 to your computer and use it in GitHub Desktop.
npm useful start scripts
package.json
{
"scripts": {
"test": "live-server --open=./SpecRunner.html --port=8081",
"postinstall": "curl -s https://raw.githubusercontent.com/reactorcore/pomander/master/bin/install | bash",
"start": "babel . --out-dir compiled --presets=es2015,react --ignore=node_modules,compiled --source-maps inline",
"start:watch": "babel . --watch --out-dir compiled --presets=es2015,react --ignore=node_modules,compiled --source-maps inline"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment