Skip to content

Instantly share code, notes, and snippets.

@DavidDudson
Created May 18, 2016 04:35
Show Gist options
  • Save DavidDudson/4ad791bce3dc11a049311a013000f004 to your computer and use it in GitHub Desktop.
Save DavidDudson/4ad791bce3dc11a049311a013000f004 to your computer and use it in GitHub Desktop.
"scripts": {
"test": "karma start",
"clean": "rm -r dist/*",
"populate": "node ./src/database.js",
"mkPub": "mkdir -p dist/public",
"copy:index": "cp src/client/index.html dist/public/index.html",
"copy": "npm run copy:index && npm run copy:iframe",
"quicktest": "open ./dist/public/test.html",
"webpack": "webpack --config=\"src/webpack.conf.js\" --progress",
"deploy": "git push heroku master",
"start": "npm run production && node ./src/start.js",
"babel-node": "babel-node --stage 0 --ignore='node_modules|dist'",
"webpackDevServer": "webpack-dev-server --config src/webpack.conf.js --content-base dist/public --hot --inline",
"develop2": "(npm run clean || ! npm run clean) && npm run mkPub && npm run copy && npm run webpackDevServer & open http://localhost:8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment