Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Add gh-pages deploy npm script
Browse files Browse the repository at this point in the history
Once we're publishing to npm, this should probably be added to some prepublish step
  • Loading branch information
Dom Harrington committed Dec 8, 2017
1 parent c7c0fa7 commit 4f50cf3
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 3 deletions.
57 changes: 55 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"example": "npm start",
"start": "node scripts/update-example-swagger-files && budo example/index.jsx --dir example -- -t babelify -p livereactload --extension .jsx",
"build": "./build.sh & lerna run build",
"watch": "lerna run watch"
"watch": "lerna run watch",
"deploy": "./build.sh && gh-pages -d example/dist"
},
"publishConfig": {
"registry": "http://registry.npmjs.org"
Expand All @@ -31,6 +32,7 @@
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"gh-pages": "^1.1.0",
"lerna": "^2.5.1",
"uglify-es": "^3.2.1",
"uglifyify": "^4.0.5"
Expand Down

0 comments on commit 4f50cf3

Please sign in to comment.