fix: enable docs generation before the release (#3300)
The commit fixes an issue where the node_modules\/.bin\/jsdoc is not found
This commit is contained in:
parent
17d63a53fb
commit
6887c4a886
2 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"test": "mocha tests --recursive --timeout 5000",
|
||||
"test-single": "mocha",
|
||||
"shell": "node --experimental-repl-await ./shell.js",
|
||||
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
|
||||
"generate-docs": "npx jsdoc --configure .jsdoc.json --verbose"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
|||
|
|
@ -70,6 +70,8 @@ npm version $VERSION_ARGS || exit 1
|
|||
|
||||
git push && git push --tags || exit 1
|
||||
|
||||
npm install
|
||||
|
||||
npm run generate-docs
|
||||
|
||||
git add .
|
||||
|
|
|
|||
Loading…
Reference in a new issue