Skip to content

Commit b5e5ce5

Browse files
committed
chore: refactor npm commands
1 parent afbdad7 commit b5e5ce5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nodejs/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
"main": "dist/index.js",
66
"declaration": "./dist/index.d.ts",
77
"scripts": {
8-
"build": "rimraf dist && tsc -d",
9-
"watch": "tsc -w",
8+
"clean": "rimraf dist",
9+
"build": "npm run clean && tsc -d",
10+
"watch": "npm run clean && tsc -w",
1011
"prepublishOnly": "npm run build",
1112
"lint": "eslint src --fix --ext .ts"
1213
},

0 commit comments

Comments
 (0)