-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
100 lines (100 loc) · 2.96 KB
/
package.json
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
{
"name": "femonitor-wx",
"version": "1.0.2",
"description": "A SDK for wx miniprogramme error and performance report",
"author": {
"name": "alex1504"
},
"repository": {
"type": "git",
"url": "https://github.com/alex1504/femonitor-wx"
},
"license": "MIT",
"main": "dist/index.umd.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"keywords": [
"error",
"performance",
"monitor",
"sdk"
],
"scripts": {
"clean": "shx rm -rf dist coverage .rpt2_cache",
"dev": "cross-env NODE_ENV=development DEBUG=1 jest",
"build": "npm run lint && npm run clean && npm run build:esm && npm run build:umd && npm run build:min",
"build:esm": "cross-env NODE_ENV=production EXTERNAL=1 rollup -c -f esm -o dist/index.js",
"watch": "cross-env NODE_ENV=production EXTERNAL=1 rollup -c --watch -f umd",
"build:umd": "cross-env NODE_ENV=production rollup -c -f umd -o dist/index.umd.js",
"build:min": "cross-env NODE_ENV=production MINIFY=1 rollup -c -f umd -o dist/index.min.js",
"lint": "eslint \"src/**/*\" \"test/**/*\"",
"lint:fix": "eslint --fix \"src/**/*\" \"test/**/*\"",
"test": "cross-env NODE_ENV=test jest"
},
"dependencies": {
"deepmerge": "^4.2.2",
"events": "^3.3.0",
"json-stringify-safe": "^5.0.1",
"tslib": "^2.2.0"
},
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/eslint-parser": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"@commitlint/cli": "^9.1.2",
"@commitlint/config-conventional": "^9.1.2",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@types/assert": "^1.5.1",
"@types/jest": "^26.0.13",
"@types/json-stringify-safe": "^5.0.0",
"@types/wechat-miniprogram": "^3.1.0",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.8.1",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-react": "^7.20.6",
"fs-extra": "^9.0.1",
"husky": "^4.2.5",
"istanbul-instrumenter-loader": "^3.0.1",
"jest": "^26.4.2",
"jest-fetch-mock": "^3.0.3",
"power-assert": "^1.6.1",
"rollup": "^2.26.5",
"rollup-plugin-terser": "^7.0.0",
"rollup-plugin-typescript2": "^0.27.2",
"shx": "^0.3.2",
"ts-jest": "^26.3.0",
"ts-loader": "^8.0.3",
"typescript": "^4.0.2",
"webpack": "^4.44.1",
"webpack-espower-loader": "^2.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -e .git/COMMIT_EDITMSG",
"pre-commit": "npm run lint"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"subject-case": [
0
]
}
}
}