Skip to content

Commit

Permalink
Ensure docs site is generated before being published in postversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjeffburke committed Jan 8, 2019
1 parent 5154a54 commit 2ff8256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"ci": "npm run lint && npm run coverage && npm run build && npm run bundle && npm run test-headless",
"coverage": "nyc --reporter=lcov --reporter=text npm test",
"preversion": "npm run build && npm run bundle && npm run lint && npm run test && git add unexpected-dom.*",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit --allow-empty -m 'Update changelog' && gh-pages -d site-build",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit --allow-empty -m 'Update changelog' && npm run generate-site && gh-pages -d site-build",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples"
},
Expand Down

0 comments on commit 2ff8256

Please sign in to comment.