Skip to content

Commit 1728d69

Browse files
committed
create clean task
1 parent ca89aa9 commit 1728d69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
"typings": "lib/index.d.ts",
1919
"scripts": {
2020
"postinstall": "typings install",
21-
"watch": "rm -rf lib && tsc -p . --watch",
22-
"transpile": "rm -rf lib && tsc -p ."
21+
"clean": "rm -rf lib",
22+
"watch": "npm run clean && tsc -p . --watch",
23+
"transpile": "npm run clean && tsc -p ."
2324
},
2425
"devDependencies": {
2526
"typescript": "^2.0.3",

0 commit comments

Comments
 (0)