Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
"pack" script was failing when `dist` directory didn't exist.
  • Loading branch information
mLicznerskiIterative committed Jun 20, 2024
1 parent 979e079 commit 8f5ea8b
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 @@ -3,7 +3,7 @@
"version": "1.0.1",
"description": "NodeJS client library for Adscore",
"scripts": {
"pack": "rm -r ./dist && npm run generate-barrels && tsup && npm run copy-files && cd ./dist && npm pack",
"pack": "rm -r -f ./dist && npm run generate-barrels && tsup && npm run copy-files && cd ./dist && npm pack",
"publish": "cd ./dist && npm publish --access public",
"copy-files": "cp package.json ./dist/ && cp readme.md ./dist/",
"generate-barrels": "barrelsby --delete --directory ./src --location all",
Expand Down

0 comments on commit 8f5ea8b

Please sign in to comment.