mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
31 lines
898 B
JSON
31 lines
898 B
JSON
{
|
|
"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"
|
|
},
|
|
"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",
|
|
"devDependencies": {
|
|
"@vant/cli": "workspace:*",
|
|
"@vant/eslint-config": "workspace:*",
|
|
"@vant/stylelint-config": "workspace:*",
|
|
"eslint": "^8.2.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^12.1.2",
|
|
"prettier": "^2.5.0",
|
|
"rimraf": "^3.0.2",
|
|
"stylelint": "^13.13.1"
|
|
}
|
|
}
|