We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
build
preversion
1 parent b230a9d commit 222b696Copy full SHA for 222b696
package.json
@@ -30,7 +30,7 @@
30
"README.md"
31
],
32
"scripts": {
33
- "build": "npm run build-cjs && npm run build-esm",
+ "build": "npm run clean && npm run build-cjs && npm run build-esm",
34
"build-cjs": "tsc -p tsconfig.cjs.json",
35
"build-esm": "tsc",
36
"clean": "rimraf ./cjs ./esm",
@@ -41,7 +41,8 @@
41
"lint-fix": "eslint --config eslint.config.mjs --fix .",
42
"prepare": "npm run clean && npm run build",
43
"prepublishOnly": "npm run lint && npm test",
44
- "test": "vitest run --passWithNoTests --coverage"
+ "test": "vitest run --passWithNoTests --coverage",
45
+ "preversion": "npm run lint && npm run test"
46
},
47
"devDependencies": {
48
"@babel/cli": "^7.28.3",
0 commit comments