Skip to content

Commit

Permalink
Fixed clean script
Browse files Browse the repository at this point in the history
  • Loading branch information
smikhalevski committed Dec 25, 2021
1 parent 78ad343 commit 52c4665
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 @@ -13,7 +13,7 @@
"build": "tsc && npm run rollup && npm run terser",
"rollup": "rollup --input ./lib/index.js --file ./lib/index-cjs.js --format cjs --plugin @rollup/plugin-node-resolve",
"terser": "for file in $(find ./lib -name '*.js'); do terser --compress --mangle --output $file -- $file; done || exit 1",
"clean": "rimraf ./lib",
"clean": "rimraf ./lib ./docs",
"test": "jest --detectOpenHandles",
"docs": "typedoc ./src/main/index.ts",
"publish-docs": "[ -d ./docs ] && [[ ! $(git status --porcelain) ]] && branch=$(git rev-parse --abbrev-ref HEAD) && sha=$(git rev-parse --short HEAD) && t=$(mktemp -d) && cp -R ./docs/ $t && git checkout ghpages && ls -A | grep -wv .git | xargs rm -rf && cp -R $t/ . && git add . && git commit -m \"Updated docs ($sha)\" && git push && git checkout $branch",
Expand Down

0 comments on commit 52c4665

Please sign in to comment.