mirror of
https://github.com/1Panel-dev/CordysCRM.git
synced 2026-05-21 01:18:08 +08:00
44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "mobile",
|
|
"private": true,
|
|
"version": "1.0.0",
|
|
"author": "MeterSphere Team",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "rsbuild dev --open",
|
|
"build": "vue-tsc --noEmit && rsbuild build",
|
|
"preview": "rsbuild preview",
|
|
"type:check": "vue-tsc --noEmit --skipLibCheck -p tsconfig.json",
|
|
"lint-staged": "npx lint-staged",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
|
"lint:styles": "stylelint 'src/**/*.{vue,html,css,scss,less}' --fix"
|
|
},
|
|
"dependencies": {
|
|
"vant": "^4.8.2",
|
|
"vue": "^3.5.13"
|
|
},
|
|
"devDependencies": {
|
|
"@rsbuild/core": "^1.0.4",
|
|
"@rsbuild/plugin-less": "^1.0.1",
|
|
"@rsbuild/plugin-vue": "^1.0.1",
|
|
"@vant/auto-import-resolver": "^1.1.0",
|
|
"unplugin-auto-import": "^0.17.5",
|
|
"unplugin-vue-components": "^0.26.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.vue": [
|
|
"stylelint --fix",
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{less,css,scss,sass}": [
|
|
"stylelint --fix --custom-syntax postcss-less",
|
|
"prettier --write"
|
|
]
|
|
}
|
|
} |