mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
28 lines
764 B
JSON
28 lines
764 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",
|
|
"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": "^3.3.2",
|
|
"prettier": "^2.4.1",
|
|
"eslint": "^8.1.0",
|
|
"stylelint": "^13.0.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^11.2.6"
|
|
}
|
|
}
|