Skip to content

Commit e63614b

Browse files
committed
chore: update scripts
Signed-off-by: tunnckoCore <5038030+tunnckoCore@users.noreply.github.com>
1 parent b5c3f24 commit e63614b

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,21 +48,21 @@
4848
},
4949
"scripts": {
5050
"build-package": "rollup --config ./tool/rollup.config.js",
51-
"prepublishOnly": "pnpm run build-package",
51+
"prepublishOnly": "npm run build-package",
5252
"bench": "node benchmark",
5353
"bench2prep": "node benchmark/server.js",
5454
"bench2": "bombardier --body-file=\"./README.md\" --method=POST --duration=10s --connections=100 http://localhost:3000/api/upload",
55-
"fmt": "pnpm run fmt:prepare '**/*'",
55+
"fmt": "npm run fmt:prepare '**/*'",
5656
"fmt:prepare": "prettier --write",
57-
"lint": "pnpm run lint:prepare .",
57+
"lint": "npm run lint:prepare .",
5858
"lint:prepare": "eslint --cache --fix --quiet --format codeframe",
5959
"fresh": "rm -rf ./node_modules",
6060
"pretest": "rm -rf ./test/tmp && mkdir ./test/tmp",
6161
"test-specific": "node --disable-warning=ExperimentalWarning --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=test/standalone/keep-alive-error.test.js",
62-
"test": "pnpm audit --prod && pnpm run test-jest && pnpm run test-node",
62+
"test": "npm audit --prod && npm run test-jest && npm run test-node",
6363
"test-jest": "node --disable-warning=ExperimentalWarning --experimental-vm-modules ./node_modules/jest/bin/jest.js --testPathPattern=test/ --coverage",
6464
"test-node": "node --disable-warning=ExperimentalWarning --test test-node/**/*.test.js",
65-
"pretest:ci": "pnpm run pretest",
65+
"pretest:ci": "npm run pretest",
6666
"test:ci": "node --disable-warning=ExperimentalWarning --experimental-vm-modules node_modules/.bin/nyc jest --testPathPattern=test/ --coverage && node --disable-warning=ExperimentalWarning --experimental-vm-modules node_modules/.bin/nyc node --test test-node/"
6767
},
6868
"dependencies": {
@@ -96,7 +96,6 @@
9696
"jest": {
9797
"verbose": true
9898
},
99-
"packageManager": "pnpm@10.8.1",
10099
"keywords": [
101100
"multipart",
102101
"form",

0 commit comments

Comments
 (0)