-
Notifications
You must be signed in to change notification settings - Fork 142
Expand file tree
/
Copy pathpackage.json
More file actions
177 lines (177 loc) · 4.93 KB
/
package.json
File metadata and controls
177 lines (177 loc) · 4.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "sentry-miniapp",
"version": "1.8.0",
"description": "Sentry SDK for Mini Programs (WeChat, Alipay, ByteDance, Baidu, QQ, DingTalk, Kuaishou) & Taro / uni-app | 小程序监控 SDK,支持异常监控、性能监控、错误收集",
"repository": {
"type": "git",
"url": "git://github.com/lizhiyao/sentry-miniapp.git"
},
"homepage": "https://github.com/lizhiyao/sentry-miniapp",
"scripts": {
"build": "vite build && npm run sync:examples",
"sync:examples": "cp dist/sentry-miniapp.umd.js examples/wxapp/lib/sentry-miniapp.js && cp dist/sentry-miniapp.umd.js.map examples/wxapp/lib/sentry-miniapp.js.map",
"build:miniapp": "vite build --mode miniapp",
"build:types": "vite build && tsc --emitDeclarationOnly --outDir dist/types",
"dev": "vite build --watch",
"lint": "eslint src --ext .ts",
"test": "jest",
"test:integration": "npm run build && cp dist/sentry-miniapp.umd.js examples/wxapp/lib/sentry-miniapp.js && node integration-tests/test-duplicate-async-error.js && node integration-tests/test-multiple-exceptions.js && node integration-tests/test-size-limit-fix.js",
"test:all": "npm run test && npm run test:integration",
"prepublishOnly": "npm run build",
"prepare": "husky",
"release": "commit-and-tag-version"
},
"author": "dancerlzy@gmail.com",
"license": "MIT",
"engines": {
"node": ">=20"
},
"main": "dist/sentry-miniapp.cjs.js",
"module": "dist/sentry-miniapp.esm.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/sentry-miniapp.esm.js",
"require": "./dist/sentry-miniapp.cjs.js",
"default": "./dist/sentry-miniapp.umd.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/config-conventional": "^20.5.0",
"@jest/globals": "^30.0.4",
"@types/jest": "^30.0.0",
"@types/node": "^20.19.11",
"@typescript-eslint/eslint-plugin": "^8.57.1",
"@typescript-eslint/parser": "^8.57.1",
"@vue/language-core": "^3.2.6",
"commit-and-tag-version": "^12.7.1",
"eslint": "^8.57.1",
"husky": "^9.1.7",
"jest": "^29.0.0",
"js-yaml": "3.14.2",
"lint-staged": "^16.4.0",
"lodash": "4.18.1",
"prettier": "^3.8.1",
"ts-jest": "^29.4.0",
"typescript": "^5.8.3",
"vite": "^6.4.1",
"vite-plugin-dts": "^4.5.4"
},
"dependencies": {
"@sentry/core": "10.47.0"
},
"lint-staged": {
"src/**/*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"yarn.lock": [
"node -e \"const fs = require('fs'); const content = fs.readFileSync('yarn.lock', 'utf8'); if (/registry\\.(?!npmjs\\.org)[a-zA-Z0-9-]+\\.(cn|net|com|org)/i.test(content)) { console.error('Error: yarn.lock contains non-official registry URLs. Please clean it.'); process.exit(1); }\""
]
},
"commit-and-tag-version": {
"header": "# 更新日志\n\n本文档记录了 sentry-miniapp 项目的所有重要变更。",
"bumpFiles": [
{
"filename": "package.json",
"type": "json"
},
{
"filename": "src/version.ts",
"updater": "scripts/version-updater.js"
}
],
"types": [
{
"type": "feat",
"section": "✨ Features | 新功能"
},
{
"type": "fix",
"section": "🐛 Bug Fixes | 修复"
},
{
"type": "chore",
"section": "🎫 Chores | 其他更新"
},
{
"type": "docs",
"section": "📝 Documentation | 文档"
},
{
"type": "style",
"section": "💄 Styles | 风格"
},
{
"type": "refactor",
"section": "♻️ Code Refactoring | 代码重构"
},
{
"type": "perf",
"section": "⚡ Performance Improvements | 性能优化"
},
{
"type": "test",
"section": "✅ Tests | 测试"
},
{
"type": "revert",
"section": "⏪ Reverts | 回退"
},
{
"type": "build",
"section": "👷 Build System | 构建"
}
]
},
"keywords": [
"sentry",
"miniapp",
"mini-program",
"miniprogram",
"weapp",
"wechat",
"alipay",
"bytedance",
"swan",
"kuaishou",
"dingtalk",
"qq",
"taro",
"uniapp",
"error-monitoring",
"error-tracking",
"exception-tracking",
"performance-monitoring",
"crash-report",
"crash-reporting",
"sourcemap",
"offline-cache",
"breadcrumbs",
"distributed-tracing",
"小程序",
"小程序监控",
"微信小程序",
"支付宝小程序",
"字节跳动小程序",
"抖音小程序",
"百度小程序",
"快手小程序",
"钉钉小程序",
"QQ小程序",
"跨端开发",
"异常监控",
"错误收集",
"性能监控",
"前端监控",
"前端异常监控",
"小程序错误监控"
]
}