Skip to content

Commit

Permalink
Add deploy to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Aug 2, 2016
1 parent cff6ba5 commit 3a42ea0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
"clean-dist": "npm run remove-dist && mkdir dist",
"remove-dist": "rimraf ./dist",
"prebuild": "npm run clean-dist && npm run lint && npm run test",
"build": "babel-node tools/build.js && npm run open:dist",
"build": "babel-node tools/build.js",
"build:open": "npm-run-all --sequential build open:dist",
"deploy": "npm run build && gh-pages -d dist",
"test": "mocha tools/testSetup.js \"src/**/*.spec.js\" --reporter progress",
"test:cover": "babel-node node_modules/isparta/bin/isparta cover --root src --report html node_modules/mocha/bin/_mocha -- --require ./tools/testSetup.js \"src/**/*.spec.js\" --reporter progress",
"test:cover:travis": "babel-node node_modules/isparta/bin/isparta cover --root src --report lcovonly _mocha -- --require ./tools/testSetup.js \"src/**/*.spec.js\" && cat ./coverage/lcov.info | node_modules/coveralls/bin/coveralls.js",
Expand Down Expand Up @@ -65,6 +67,7 @@
"eslint-watch": "2.1.13",
"extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.9.0",
"gh-pages": "0.11.0",
"html-webpack-plugin": "2.22.0",
"isparta": "4.0.0",
"mocha": "2.5.3",
Expand Down
1 change: 0 additions & 1 deletion webpack.config.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export default {
target: 'web', // necessary per https://webpack.github.io/docs/testing.html#compile-and-test
output: {
path: `${__dirname}/dist`,
publicPath: '/',
filename: '[name].[chunkhash].js'
},
plugins: [
Expand Down

0 comments on commit 3a42ea0

Please sign in to comment.