108 lines
2.6 KiB
JSON
108 lines
2.6 KiB
JSON
{
|
||
"name": "ufutx_fulllink",
|
||
"version": "0.0.1",
|
||
"description": "ufutx 微信小程序项目(基于wepy 2.x)",
|
||
"main": "weapp/app.js",
|
||
"scripts": {
|
||
"start": "npm run dev",
|
||
"dev": "./node_modules/.bin/wepy build --watch",
|
||
"build": "cross-env NODE_ENV=production ./node_modules/.bin/wepy build --no-cache ",
|
||
"clean": "rm -rf weapp",
|
||
"lint": "eslint --ext .js,.wpy src/",
|
||
"lint:fix": "eslint --ext .js,.wpy src/ --fix",
|
||
"preview": "npm run build && wx-tools preview",
|
||
"deploy": "npm run build && wx-tools upload --version $npm_package_version --desc '自动上传'",
|
||
"test": "echo \"Error: no test specified\" && exit 1"
|
||
},
|
||
"wepy": {
|
||
"module-a": false,
|
||
"resolve": {
|
||
"alias": {
|
||
"@": "./src"
|
||
}
|
||
},
|
||
"compiler": {
|
||
"babel": {
|
||
"presets": [
|
||
[
|
||
"@babel/preset-env",
|
||
{
|
||
"modules": false
|
||
}
|
||
]
|
||
],
|
||
"plugins": [
|
||
"@wepy/babel-plugin-import-regenerator"
|
||
]
|
||
},
|
||
"less": {
|
||
"paths": [
|
||
"./src/styles"
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"author": "mamba <dengzhifeng_63@163.com>",
|
||
"license": "MIT",
|
||
"dependencies": {
|
||
"@wepy/core": "^2.1.0",
|
||
"@wepy/use-promisify": "^2.1.0",
|
||
"@wepy/x": "^2.1.0",
|
||
"@yolanda-qn/four-electrodes-report-lib-pe": "^1.1.5",
|
||
"dayjs": "^1.11.10",
|
||
"miniprogram-slide-view": "0.0.3",
|
||
"nim-web-sdk-ng": "^10.3.1"
|
||
},
|
||
"devDependencies": {
|
||
"@babel/core": "^7.23.0",
|
||
"@babel/preset-env": "^7.23.0",
|
||
"@wepy/babel-plugin-import-regenerator": "0.0.2",
|
||
"@wepy/cli": "^2.1.0",
|
||
"@wepy/compiler-babel": "^2.1.0",
|
||
"@wepy/compiler-less": "^2.1.0",
|
||
"babel-eslint": "^7.2.3",
|
||
"cross-env": "^7.0.3",
|
||
"eslint": "^3.18.0",
|
||
"eslint-config-standard": "^7.1.0",
|
||
"eslint-friendly-formatter": "^2.0.7",
|
||
"eslint-plugin-html": "^2.0.1",
|
||
"eslint-plugin-promise": "^3.5.0",
|
||
"eslint-plugin-standard": "^2.0.1",
|
||
"husky": "^7.0.4",
|
||
"less": "^3.13.1",
|
||
"lint-staged": "^11.2.6",
|
||
"prettier": "^2.8.8",
|
||
"wepy-cli-extend": "^1.0.3",
|
||
"wepy-eslint": "^1.5.3"
|
||
},
|
||
"engines": {
|
||
"node": ">=14.0.0 <17.0.0",
|
||
"npm": ">=6.0.0"
|
||
},
|
||
"browserslist": [
|
||
"iOS >= 9",
|
||
"Android >= 5",
|
||
"last 2 versions",
|
||
"not dead"
|
||
],
|
||
"overrides": {
|
||
"nim-web-sdk-ng": {
|
||
"vue": "^2.6.14"
|
||
}
|
||
},
|
||
"husky": {
|
||
"hooks": {
|
||
"pre-commit": "lint-staged"
|
||
}
|
||
},
|
||
"lint-staged": {
|
||
"*.{js,wpy}": [
|
||
"eslint --fix",
|
||
"prettier --write"
|
||
],
|
||
"*.less": [
|
||
"prettier --write"
|
||
]
|
||
}
|
||
}
|