Skip to content

Commit

Permalink
build: run build in prepublishOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
llllvvuu committed Mar 27, 2024
1 parent 3f87977 commit 56b0f30
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 @@ -4,7 +4,7 @@
"description": "The TypeScript compiler with onSuccess command",
"scripts": {
"clean": "rimraf dist && rimraf tmp",
"prepublish": "crlf --set=LF index.js client.js dist/**/*",
"prepublishOnly": "npm run build && crlf --set=LF index.js client.js dist/**/*",
"test": "npm run build && jest --verbose --runInBand",
"build": "npm run clean && npm run build-lib && npm run build-client",
"build-lib": "tsc -p tsconfig.json",
Expand Down

0 comments on commit 56b0f30

Please sign in to comment.