vant/package.json
neverland a4472f8788
chore: compatible with pnpm v7 (#10639)
* chore: compatible with pnpm v7

* chore: fix missing @types/node
2022-05-28 08:26:26 +08:00

31 lines
904 B
JSON

{
"private": true,
"scripts": {
"prepare": "husky install",
"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",
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix",
"*.{vue,css,less}": "stylelint --fix"
},
"packageManager": "pnpm@7.1.6",
"devDependencies": {
"@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*",
"@vant/stylelint-config": "workspace:*",
"eslint": "^8.2.0",
"husky": "^8.0.1",
"lint-staged": "^12.1.2",
"prettier": "^2.5.0",
"rimraf": "^3.0.2",
"stylelint": "^13.13.1"
}
}