chore: remove lib dir before build

This commit is contained in:
chenjiahan 2021-11-27 14:51:05 +08:00
parent 8268c78705
commit 94e00d443f
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
},
"scripts": {
"dev": "tsc --watch",
"build": "tsc",
"build": "rimraf ./lib && tsc",
"release": "pnpm build & release-it",
"prepare": "pnpm build"
},

View File

@ -9,7 +9,7 @@
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "tsc",
"build": "rimraf ./lib && tsc",
"release": "pnpm build && npm publish",
"prepare": "pnpm build"
},

View File

@ -16,7 +16,7 @@
},
"scripts": {
"dev": "tsc --watch",
"build": "tsc",
"build": "rimraf ./lib && tsc",
"release": "pnpm build & release-it",
"prepare": "pnpm build"
},

View File

@ -15,7 +15,7 @@
],
"scripts": {
"dev": "tsc --watch",
"build": "tsc",
"build": "rimraf ./lib && tsc",
"release": "pnpm build && npm publish",
"prepare": "pnpm build"
},