Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(docs): add prepublishOnly docs building step
  • Loading branch information
claudiahdz committed Oct 31, 2019
commit 0229ef5b7aa9ebef58cc3fa78057e3470eeca5cf
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,11 @@
"tar-stream": "^2.1.0"
},
"scripts": {
"docs:create": "make -j4 doc && npm run docs:html",
"docs:man": "make -j4 doc",
"docs:html": "cd docs && npm i && npm run static-build && rimraf ./node_modules ./.cache",
"dumpconf": "env | grep npm | sort | uniq",
"prepare": "node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && npm run docs:create",
"prepublishOnly": "npm run docs:html",
"prepare": "node bin/npm-cli.js rebuild && node bin/npm-cli.js --no-audit --no-timing prune --prefix=. --no-global && rimraf test/*/*/node_modules && npm run docs:man",
"preversion": "bash scripts/update-authors.sh && git add AUTHORS && git commit -m \"update AUTHORS\" || true",
"licenses": "licensee --production --errors-only",
"tap": "tap -J --timeout 300 --no-esm",
Expand Down