vant/package.json
2024-07-21 17:55:06 +08:00

35 lines
1004 B
JSON

{
"private": true,
"scripts": {
"prepare": "husky",
"dev": "pnpm --dir ./packages/vant dev",
"lint": "eslint \"./packages/**/{src,test}/**/*.{vue,ts,tsx,js,mjs,cjs}\"",
"test": "pnpm --dir ./packages/vant test",
"test:watch": "pnpm --dir ./packages/vant test:watch",
"test:update": "pnpm --dir ./packages/vant test:update",
"test:coverage": "pnpm --dir ./packages/vant test:coverage",
"build": "pnpm --dir ./packages/vant build",
"build:site": "pnpm --dir ./packages/vant build:site"
},
"nano-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,less}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix"
},
"engines": {
"pnpm": ">= 9.0.0"
},
"packageManager": "pnpm@9.1.4",
"devDependencies": {
"@vant/cli": "workspace:*",
"@vant/eslint-config": "workspace:*",
"eslint": "^8.57.0",
"husky": "^9.1.1",
"nano-staged": "^0.8.0",
"prettier": "^3.3.3"
},
"overrides": {
"esbuild": "^0.20.2"
}
}