ufutx_love_mp/package.json

108 lines
2.6 KiB
JSON
Raw Permalink Normal View History

2024-08-16 09:14:13 +08:00
{
2026-04-21 09:56:13 +08:00
"name": "ufutx_fulllink",
2024-08-16 09:14:13 +08:00
"version": "0.0.1",
2026-04-21 09:56:13 +08:00
"description": "ufutx 微信小程序项目基于wepy 2.x",
2024-08-16 09:14:13 +08:00
"main": "weapp/app.js",
"scripts": {
2026-04-21 09:56:13 +08:00
"start": "npm run dev",
2024-08-16 09:14:13 +08:00
"dev": "./node_modules/.bin/wepy build --watch",
2026-04-21 09:56:13 +08:00
"build": "cross-env NODE_ENV=production ./node_modules/.bin/wepy build --no-cache ",
2024-08-16 09:14:13 +08:00
"clean": "rm -rf weapp",
2026-04-21 09:56:13 +08:00
"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 '自动上传'",
2024-08-16 09:14:13 +08:00
"test": "echo \"Error: no test specified\" && exit 1"
},
"wepy": {
"module-a": false,
2026-04-21 09:56:13 +08:00
"resolve": {
"alias": {
"@": "./src"
}
},
"compiler": {
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
],
"plugins": [
"@wepy/babel-plugin-import-regenerator"
]
},
"less": {
"paths": [
"./src/styles"
]
}
}
2024-08-16 09:14:13 +08:00
},
"author": "mamba <dengzhifeng_63@163.com>",
"license": "MIT",
"dependencies": {
2026-04-21 09:56:13 +08:00
"@wepy/core": "^2.1.0",
2024-08-16 09:14:13 +08:00
"@wepy/use-promisify": "^2.1.0",
2026-04-21 09:56:13 +08:00
"@wepy/x": "^2.1.0",
2024-08-16 09:14:13 +08:00
"@yolanda-qn/four-electrodes-report-lib-pe": "^1.1.5",
2026-04-21 09:56:13 +08:00
"dayjs": "^1.11.10",
2024-08-16 09:14:13 +08:00
"miniprogram-slide-view": "0.0.3",
"nim-web-sdk-ng": "^10.3.1"
},
"devDependencies": {
2026-04-21 09:56:13 +08:00
"@babel/core": "^7.23.0",
"@babel/preset-env": "^7.23.0",
2024-08-16 09:14:13 +08:00
"@wepy/babel-plugin-import-regenerator": "0.0.2",
2026-04-21 09:56:13 +08:00
"@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",
2024-08-16 09:14:13 +08:00
"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",
2026-04-21 09:56:13 +08:00
"husky": "^7.0.4",
"less": "^3.13.1",
"lint-staged": "^11.2.6",
"prettier": "^2.8.8",
2024-08-16 09:14:13 +08:00
"wepy-cli-extend": "^1.0.3",
"wepy-eslint": "^1.5.3"
2026-04-21 09:56:13 +08:00
},
"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"
]
2024-08-16 09:14:13 +08:00
}
}