mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
56 lines
1.1 KiB
Smarty
56 lines
1.1 KiB
Smarty
{
|
|
"name": "<%= name %>",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "lib/<%= name %>.js",
|
|
"style": "lib/index.css",
|
|
"files": [
|
|
"lib",
|
|
"es"
|
|
],
|
|
"scripts": {
|
|
"dev": "vant-cli dev",
|
|
"test": "vant-cli test",
|
|
"lint": "vant-cli lint",
|
|
"build": "vant-cli build",
|
|
"prepare": "husky install",
|
|
"release": "vant-cli release",
|
|
"test:coverage": "open test/coverage/index.html",
|
|
"build-site": "vant-cli build-site && gh-pages -d site"
|
|
},
|
|
"author": "",
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"*.md": "prettier --write",
|
|
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
|
|
"*.{ts,tsx,js,vue}": "eslint --fix",
|
|
"*.{vue,css,less,scss}": "stylelint --fix"
|
|
},
|
|
"peerDependencies": {
|
|
"vue": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vant/cli": "^3.9.0",
|
|
"@vue/compiler-sfc": "^3.0.0",
|
|
"vue": "^3.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"root": true,
|
|
"extends": [
|
|
"@vant"
|
|
]
|
|
},
|
|
"stylelint": {
|
|
"extends": [
|
|
"@vant/stylelint-config"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"singleQuote": true
|
|
},
|
|
"browserslist": [
|
|
"Chrome >= 51",
|
|
"iOS >= 10"
|
|
]
|
|
}
|