Skip to content

Instantly share code, notes, and snippets.

@denysdovhan
Last active June 2, 2016 14:08
Show Gist options
  • Save denysdovhan/d8b8cd52356a88c1afed41548f6510ce to your computer and use it in GitHub Desktop.
Save denysdovhan/d8b8cd52356a88c1afed41548f6510ce to your computer and use it in GitHub Desktop.
How do you organize your npm-scripts?
{
"...": "...",
"scripts": {
"...": "...",
"build": "cross-env NODE_ENV=production webpack --config internals/webpack/webpack.prod.babel.js --color -p",
"test": "cross-env NODE_ENV=test karma start internals/testing/karma.conf.js --single-run",
"test-node": "./node_modules/mocha/bin/mocha $(find api -name '*-test.js') --compilers js:babel-core/register",
"...": "..."
},
"...": "..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment