Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.73 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 3.73 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
{
"name": "c-monitor",
"version": "1.0.0",
"private": true,
"type": "module",
"engines": {
"node": ">=18.19.1",
"pnpm": ">=9.1.3"
},
"packageManager": "pnpm@9.1.3",
"scripts": {
"build": "rollup -c --watch",
"changeset": "changeset",
"packages-version": "changeset version",
"publish": "changeset publish --registry=https://registry.npmjs.com/",
"examples:vue3": "pnpm run -C examples/vue3 dev --host",
"examples:server": "pnpm run -C examples/server server",
"examples": "concurrently \"pnpm build\" \"pnpm examples:vue3\" \"pnpm examples:server\"",
"lint:eslint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.vue --fix",
"lint:prettier": "prettier --write \"**/*.{js,cjs,ts,json,jsx,tsx,css,less,scss,vue,html,md}\"",
"lint:lint-staged": "lint-staged",
"lint:stylelint": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
"prepare": "husky",
"preinstall": "npx only-allow pnpm",
"commit": "git add -A && czg && git push",
"commit2": "git add -A && git-cz && git push",
"test:unit": "jest --config jsdom.jest.config.ts",
"coverage": "open ./coverage/lcov-report/index.html"
},
"keywords": [
"web monitor",
"web monitor sdk"
],
"author": "cheen77",
"license": "ISC",
"description": "前端监控SDK,可用来收集并上报:代码报错、性能数据、用户行为、加载资源、个性化指标等数据",
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@rollup/plugin-commonjs": "23.0.3",
"@rollup/plugin-json": "5.0.2",
"@rollup/plugin-node-resolve": "15.0.1",
"@rollup/plugin-terser": "0.4.4",
"@types/jest": "^29.5.14",
"@types/puppeteer": "^7.0.4",
"@typescript-eslint/eslint-plugin": "8.26.1",
"@typescript-eslint/parser": "8.26.1",
"commitizen": "^4.3.1",
"cz-git": "^1.11.1",
"czg": "^1.11.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-vue": "9.22.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "15.5.0",
"postcss": "^8.5.3",
"postcss-html": "^1.8.0",
"postcss-scss": "^4.0.9",
"prettier": "^3.5.3",
"puppeteer": "^24.4.0",
"rollup": "2.78.0",
"rollup-plugin-delete": "^3.0.1",
"rollup-plugin-dts": "5.0.0",
"rollup-plugin-typescript2": "0.34.1",
"rollup-plugin-uglify": "6.0.4",
"stylelint": "16.1.0",
"stylelint-config-html": "1.1.0",
"stylelint-config-recess-order": "6.0.0",
"stylelint-config-recommended-scss": "14.1.0",
"stylelint-config-recommended-vue": "1.6.0",
"stylelint-config-standard": "37.0.0",
"stylelint-config-standard-scss": "13.0.0",
"stylelint-prettier": "5.0.3",
"ts-jest": "^29.3.0",
"ts-node": "^10.9.2",
"typescript": "4.9.4"
},
"dependencies": {
"concurrently": "^9.1.2",
"error-stack-parser": "^2.1.4",
"tslib": "^2.8.1",
"ua-parser-js": "^2.0.3"
},
"lint-staged": {
"*.{js,ts,vue}": [
"eslint --fix",
"prettier --write"
],
"*.{cjs,json}": [
"prettier --write"
],
"*.{vue,html}": [
"eslint --fix",
"prettier --write"
],
"*.{scss,css,style,html}": [
"prettier --write",
"stylelint --fix"
],
"*.md": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/cheen77/monitor"
}
}