修复 项目名称和版本号获取

This commit is contained in:
2025-12-01 22:40:41 +08:00
parent b08d955049
commit 6ad59a6ae7
2 changed files with 29 additions and 34 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "uniapp-error-monitor",
"version": "1.0.0",
"version": "1.0.1",
"description": "专门为UniApp环境设计的错误监控和上报工具支持全局错误捕获、Promise错误捕获、网络错误捕获等",
"main": "dist/index.js",
"module": "dist/index.esm.js",
@@ -28,12 +28,9 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iflow-dev/uniapp-error-monitor.git"
"url": "hhttps://git.pandorastudio.cn/product/uniapp-error-monitor.git"
},
"bugs": {
"url": "https://github.com/iflow-dev/uniapp-error-monitor/issues"
},
"homepage": "https://github.com/iflow-dev/uniapp-error-monitor#readme",
"homepage": "https://git.pandorastudio.cn",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
@@ -42,11 +39,9 @@
"build": "rollup -c",
"dev": "rollup -c -w",
"clean": "rimraf dist",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint src/**/*.js",
"lint:fix": "eslint src/**/*.js --fix",
"prepublishOnly": "npm run clean && npm run build && npm test"
"prepublishOnly": "npm run clean && npm run build"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
@@ -55,7 +50,6 @@
"rollup": "^3.0.0",
"rollup-plugin-terser": "^7.0.0",
"typescript": "^5.0.0",
"jest": "^29.0.0",
"eslint": "^8.0.0",
"rimraf": "^5.0.0"
},
@@ -74,4 +68,4 @@
"iOS >= 10",
"Android >= 6"
]
}
}