Skip to content

Commit

Permalink
chore(png): fix build script command in case file not found
Browse files Browse the repository at this point in the history
  • Loading branch information
jamsinclair committed Apr 1, 2024
1 parent 91a3317 commit 12cc694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/png/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "Apache-2.0",
"scripts": {
"clean": "rm -rf dist",
"build": "npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && rm dist/codec/pkg/.gitignore",
"build": "npm run clean && tsc && cp -r codec package.json README.md CHANGELOG.md .npmignore ../../LICENSE dist && (rm dist/codec/pkg/.gitignore || true)",
"prepublishOnly": "[[ \"$PWD\" == *'/dist' ]] && exit 0 || (echo 'Please run npm publish from the dist directory' && exit 1)"
},
"devDependencies": {
Expand Down

0 comments on commit 12cc694

Please sign in to comment.