1 parent c4735a8 commit e5cb869Copy full SHA for e5cb869
2 files changed
package.json
@@ -22,10 +22,11 @@
22
"default": "./dist/index.js"
23
},
24
"scripts": {
25
- "prepublishOnly": "npm run clean && npm run test && npm run build",
+ "prepublishOnly": "pnpm run clean && pnpm run test && pnpm run build",
26
"clean": "premove ./dist ./test/temp",
27
"build": "SWC_NODE_PROJECT=./tsconfig.json node -r @swc-node/register tools/build.ts",
28
"test": "SWC_NODE_PROJECT=./tsconfig.json mocha -r @swc-node/register test/index.ts",
29
+ "test:update": "UPDATE_SNAPSHOTS=true SWC_NODE_PROJECT=./tsconfig.json mocha -r @swc-node/register test/index.ts",
30
"lint": "eslint --format sukka ."
31
32
"author": "",
0 commit comments