Skip to content

Commit

Permalink
Adding gh-pages for example deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JedWatson committed Nov 23, 2017
1 parent feb3651 commit 1e150a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-scripts.js
Expand Up @@ -28,7 +28,7 @@ module.exports = {
rimraf('examples/dist'),
'webpack --progress -p',
'cp examples/src/.gitignore examples/dist/.gitignore',
'git subtree push --prefix examples/dist origin gh-pages'
'gh-pages -d examples/dist'
),
},
},
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -36,6 +36,7 @@
"eslint": "^4.6.1",
"eslint-plugin-react": "^7.3.0",
"extract-text-webpack-plugin": "^3.0.0",
"gh-pages": "^1.1.0",
"html-loader": "^0.5.1",
"html-webpack-plugin": "^2.30.1",
"husky": "^0.14.3",
Expand Down Expand Up @@ -82,7 +83,7 @@
"cover": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha",
"coveralls": "cross-env NODE_ENV=test nyc --reporter=lcov --reporter=text mocha && cat coverage/lcov.info | coveralls",
"lint": "eslint .",
"publish:examples": "NODE_ENV=production nps publish",
"deploy": "NODE_ENV=production nps publish",
"start": "webpack-dev-server --progress",
"test": "NODE_ENV=test mocha --compilers js:babel-core/register",
"precommit": "lint-staged && yarn run test"
Expand Down

0 comments on commit 1e150a9

Please sign in to comment.