diff --git a/package.json b/package.json index e7d31db..eddd25a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tools/publish b/tools/publish index 9dd0da0..516707c 100755 --- a/tools/publish +++ b/tools/publish @@ -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 .