Skip to content

Commit fd74581

Browse files
committed
refine npm script
1 parent feca48b commit fd74581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"dist"
2020
],
2121
"bin": {
22-
"sd": "cli/cli.js"
22+
"sd": "dist/cli/cli.js"
2323
},
2424
"main": "src/index.js",
2525
"types": "src/index.d.ts",
@@ -32,7 +32,7 @@
3232
"pretest": "npm run clean:ts && npm run transcribe",
3333
"test": "jest --coverage",
3434
"test:watch": "jest --watch",
35-
"prebuild": "npm run clean:dist",
35+
"prebuild": "npm run clean:dist && npm run clean:ts",
3636
"build": "npm run transcribe && tsc",
3737
"postbuild": "npm run clean:ts",
3838
"dev": "npm run transcribe:watch",

0 commit comments

Comments
 (0)