Skip to content

Commit 80c34ab

Browse files
committed
add npm scripts
1 parent 9374652 commit 80c34ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
"types": "dist/index.d.ts",
77
"scripts": {
88
"clean": "rm -rf dist/*",
9+
"predeploy": "npm run clean && npm run build",
10+
"deploy": "np",
911
"test": "echo todo",
1012
"build": "tsc"
1113
},
@@ -34,4 +36,4 @@
3436
"devDependencies": {
3537
"typescript": "5.0.4"
3638
}
37-
}
39+
}

0 commit comments

Comments
 (0)