We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c463614 commit 873088fCopy full SHA for 873088f
1 file changed
package.json
@@ -6,7 +6,8 @@
6
"bin": "./build/src/index.js",
7
"main": "index.js",
8
"scripts": {
9
- "build": "tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts && rollup -c rollup.config.mjs",
+ "clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
10
+ "build": "npm run clean && tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts && rollup -c rollup.config.mjs",
11
"typecheck": "tsc --noEmit",
12
"format": "eslint --cache --fix . && prettier --write --cache .",
13
"check-format": "eslint --cache . && prettier --check --cache .;",
0 commit comments