Skip to content

Commit fc9ad99

Browse files
committed
add prepublishScript
1 parent 8de2161 commit fc9ad99

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99
"license": "MIT",
1010
"private": false,
1111
"scripts": {
12-
"ts:build": "npx tsc -p tsconfig.json",
13-
"ts:watch": "npx tsc --watch"
12+
"build": "npx tsc -p tsconfig.json",
13+
"watch": "npx tsc --watch",
14+
"prepublishOnly": "npm run ts:build"
1415
},
1516
"devDependencies": {
1617
"@types/ejs": "^3.1.1",

0 commit comments

Comments
 (0)