-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
153 lines (153 loc) · 4.09 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
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
{
"name": "feproxy",
"version": "3.1.0",
"description": "An node proxy server for web development",
"scripts": {
"start": "cross-env NODE_ENV=production node index.js",
"dev": "webpack -w & nodemon --watch lib --ignore lib/public/ --watch ./index.js index.js",
"build": "cross-env NODE_ENV=production webpack",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"jest": "cross-env NODE_ENV=testing jest",
"test": "npm run lint && npm run build && npm run jest",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"release": "standard-version",
"prepublish": "npm run build"
},
"bin": {
"feproxy": "./bin/feproxy.js"
},
"dependencies": {
"brotli": "^1.3.2",
"chalk": "^2.3.2",
"chrome-devtools-frontend": "1.0.661035",
"cross-env": "^5.2.0",
"escape-string-regexp": "^2.0.0",
"fs-extra": "^5.0.0",
"get-port": "^5.0.0",
"iconv-lite": "^0.4.19",
"ip": "^1.1.5",
"jschardet": "^1.6.0",
"koa": "^2.5.0",
"koa-body": "^2.6.0",
"koa-compose": "^4.1.0",
"koa-router": "^7.4.0",
"koa-static": "^5.0.0",
"lru-cache": "^5.1.1",
"mime-types": "^2.1.24",
"mkdirp": "^0.5.1",
"node-forge": "^0.10.0",
"statuses": "^1.5.0",
"ws": "^7.0.0",
"request-promise": "^4.2.4",
"request": "^2.88.0",
"yargs": "^12.0.2"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"babel-eslint": "^8.1.2",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"conventional-changelog-cli": "^2.0.21",
"copy-webpack-plugin": "^4.5.4",
"css-loader": "^1.0.0",
"element-theme-default": "^1.4.13",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "^4.7.2",
"eslint-config-egg": "^4.2.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^2.0.0",
"glob-all": "^3.1.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"isomorphic-fetch": "^2.2.1",
"jest": "^24.8.0",
"jsdom": "^15.1.1",
"mini-css-extract-plugin": "^0.7.0",
"node-sass": "^4.9.4",
"nodemon": "^1.17.2",
"react": "^16.6.0",
"react-dom": "^16.6.0",
"react-redux": "^6.0.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"url-loader": "^1.1.2",
"webpack": "^4.30.0",
"webpack-cli": "^3.1.2",
"standard-version": "^9.0.0"
},
"files": [
"bin",
"lib",
"!lib/frontend",
"doc",
"index.js",
"README.md",
"package.json"
],
"engines": {
"node": ">=8.0.0"
},
"homepage": "https://github.com/feix760/feproxy",
"bugs": {
"url": "https://github.com/feix760/feproxy/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/feix760/feproxy.git"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/test/__mocks__/styleMock.js",
"\\.(png|jpg|jpeg|gif|ttf|eot|svg)$": "<rootDir>/test/__mocks__/fileMock.js",
"^element-theme-default\\.*": "<rootDir>/test/__mocks__/styleMock.js"
},
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"{lib,bin}/**/*.{ts,js}",
"!lib/frontend/asset/**",
"!lib/public/**"
],
"coverageReporters": [
"json",
"lcov",
"text",
"clover",
"text-summary"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 80,
"lines": 80,
"statements": 80
}
},
"testRegex": "test/.*\\.test\\.[jt]s$",
"testEnvironment": "node"
},
"standard-version": {
"scripts": {
"prebump": "rm -f package-lock.json"
}
},
"license": "MIT"
}