初始化提交

This commit is contained in:
yuantao
2025-12-01 17:56:13 +08:00
commit bc5d2cf14d
11 changed files with 2154 additions and 0 deletions

77
package.json Normal file
View File

@@ -0,0 +1,77 @@
{
"name": "uniapp-error-monitor",
"version": "1.0.0",
"description": "专门为UniApp环境设计的错误监控和上报工具支持全局错误捕获、Promise错误捕获、网络错误捕获等",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"uniapp",
"error",
"monitor",
"tracking",
"wechat-miniprogram",
"vue3",
"error-reporting",
"javascript",
"error-handling"
],
"author": {
"name": "iFlow CLI",
"email": "contact@iflow.dev"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/iflow-dev/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",
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"scripts": {
"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"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"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"
},
"peerDependencies": {
"@dcloudio/uni-app": "^3.0.0"
},
"peerDependenciesMeta": {
"@dcloudio/uni-app": {
"optional": true
}
},
"browserslist": [
"defaults",
"not IE 11",
"last 2 versions",
"iOS >= 10",
"Android >= 6"
]
}