mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
31 lines
904 B
JSON
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"
|
|
}
|
|
}
|