-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
93 lines (93 loc) · 2.65 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
{
"name": "fe-monitor",
"version": "0.0.1-beta",
"description": "Front End buried point",
"main": "index.js",
"scripts": {
"test": "jest",
"lint": "eslint --fix",
"start": "node server/index",
"dev": "node server/index",
"build": "rm -rf ./dist/js && webpack --config config/webpack.pro.config.js && node write.js && conventional-changelog -p angular -i ./CHANGELOG.md -s",
"dist-js": "rm -rf ./dist/js && webpack --config config/webpack.pro.config.js && node write.js && conventional-changelog -p angular -i ./CHANGELOG.md -s",
"dev-js": "rm -rf ./dist/js && webpack --config config/webpack.pro.config.js --env.pro=dev && node write.js && conventional-changelog -p angular -i ./CHANGELOG.md -s",
"server": "node server/server"
},
"repository": {
"type": "git",
"url": "git+https://github.com/MriLiuJY/FE-Monitor.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/MriLiuJY/FE-Monitor/issues"
},
"homepage": "https://github.com/MriLiuJY/FE-Monitor#readme",
"dependencies": {
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.5",
"body-parser": "^1.19.0",
"chalk": "^2.4.2",
"es3ify-loader": "^0.2.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-import": "^2.17.3",
"fe-monitor-sdk": "0.0.1",
"jest": "^24.8.0",
"mongoose": "^5.6.2",
"rrweb": "^0.7.18",
"uglifyjs-webpack-plugin": "^2.1.3",
"webpack": "^4.34.0",
"webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "^2.25.0"
},
"devDependencies": {
"compression-webpack-plugin": "^3.0.0",
"eslint": "^5.16.0",
"express": "^4.17.1",
"express-session": "^1.16.2",
"husky": "^3.0.3",
"lint-staged": "^9.2.1",
"webpack-cli": "^3.3.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json"
],
"transform": {
"^.+\\.js?$": "babel-jest"
},
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"testMatch": [
"**/test/unit/*.spec.(js|jsx|ts|tsx)|**/__test__/*.(js|jsx|ts|tsx)"
],
"testURL": "http://localhost/",
"collectCoverage": true,
"collectCoverageFrom": [
"**/src/**/*.js",
"!**/node_modules/**"
]
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node git-hooks/verify-commit-msg.js"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
}
}