clean before build
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
"require": "./dist/main.cjs"
|
"require": "./dist/main.cjs"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup-node src/main.ts --target node16 --format cjs,esm --dts",
|
"build": "tsup-node src/main.ts --clean --target node16 --format cjs,esm --dts",
|
||||||
"test": "c8 ava",
|
"test": "c8 ava",
|
||||||
"lint": "eslint --ext js,ts,tsx .",
|
"lint": "eslint --ext js,ts,tsx .",
|
||||||
"lint-fix": "npm run lint -- --fix",
|
"lint-fix": "npm run lint -- --fix",
|
||||||
|
|||||||
Reference in New Issue
Block a user