Skip to content

Commit 56b0f30

Browse files
committed
build: run build in prepublishOnly
1 parent 3f87977 commit 56b0f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "The TypeScript compiler with onSuccess command",
55
"scripts": {
66
"clean": "rimraf dist && rimraf tmp",
7-
"prepublish": "crlf --set=LF index.js client.js dist/**/*",
7+
"prepublishOnly": "npm run build && crlf --set=LF index.js client.js dist/**/*",
88
"test": "npm run build && jest --verbose --runInBand",
99
"build": "npm run clean && npm run build-lib && npm run build-client",
1010
"build-lib": "tsc -p tsconfig.json",

0 commit comments

Comments
 (0)