chore: compatible with pnpm v7 (#10639)

* chore: compatible with pnpm v7

* chore: fix missing @types/node
This commit is contained in:
neverland
2022-05-28 08:26:26 +08:00
committed by GitHub
parent a2df2b1b3b
commit a4472f8788
7 changed files with 56 additions and 74 deletions

View File

@@ -2,12 +2,12 @@
"private": true,
"scripts": {
"prepare": "husky install",
"dev": "pnpm dev --dir ./packages/vant",
"lint": "pnpm lint --dir ./packages/vant",
"test": "pnpm test --dir ./packages/vant",
"test:watch": "pnpm test:watch --dir ./packages/vant",
"build": "pnpm build --dir ./packages/vant",
"build:site": "pnpm build:site --dir ./packages/vant"
"dev": "pnpm --dir ./packages/vant dev",
"lint": "pnpm --dir ./packages/vant lint",
"test": "pnpm --dir ./packages/vant test",
"test:watch": "pnpm --dir ./packages/vant test:watch",
"build": "pnpm --dir ./packages/vant build",
"build:site": "pnpm --dir ./packages/vant build:site"
},
"lint-staged": {
"*.md": "prettier --write",
@@ -15,7 +15,7 @@
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css,less}": "stylelint --fix"
},
"packageManager": "pnpm",
"packageManager": "pnpm@7.1.6",
"devDependencies": {
"@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*",