This repository has been archived by the owner on May 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
98 lines (98 loc) · 3.08 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
{
"name": "erra",
"version": "0.4.8",
"description": "mock工具",
"repository": "https://github.com/hughfenghen/Erra",
"keywords": [
"mock",
"debug",
"breakpoint",
"tamper",
"modify",
"proxy",
"http"
],
"main": "",
"files": [
"./src",
"./dist",
"./bin",
"./static",
"./example",
"./tsconfig.json",
"./jest.config.js",
"./.postcss",
"./preview.gif",
"./README.md"
],
"bin": "./bin/erra.js",
"author": "fenghen",
"license": "MIT",
"scripts": {
"server:bin": "node ./dist/server/server/index.js -c",
"server:dev": "nodemon --watch 'src/**/*.ts' --ignore 'test/**/*.test.ts' --exec node --inspect -r ts-node/register ./src/server/index.ts -c ./example/erra.config.yaml",
"client:bin": "http-server dist --ssl --cert static/erra.crt.pem --key static/erra.key.pem",
"client:dev": "parcel ./src/client/index.html --out-dir dist/client --public-url '/erra' --cert static/erra.crt.pem --key static/erra.key.pem",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test": "jest --silent",
"build:client": "parcel build ./src/client/index.html --out-dir dist/client --public-url '/erra'",
"build:server": "tsc --outDir dist/server",
"docs:dev": "cp README.md docs && vuepress dev docs",
"docs:build": "cp README.md docs && vuepress build docs",
"docs:deploy": "sh docs/deploy.sh",
"prepublishOnly": "yarn run test && yarn run build:client && yarn run build:server"
},
"dependencies": {
"@types/lodash": "^4.14.132",
"antd": "^3.23.6",
"brace": "^0.11.1",
"commander": "^3.0.2",
"es6-promisify": "^6.0.2",
"events": "^3.0.0",
"http-proxy": "^1.17.0",
"ip": "^1.1.5",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"lru-cache": "^5.1.1",
"mockjs": "^1.0.1-beta3",
"node-http-proxy-text": "git+https://github.com/hughfenghen/node-http-proxy-text.git",
"pem": "^1.14.2",
"react": "^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0",
"react-ace": "^7.0.4",
"react-dom": "^0.13.0 || ^0.14.0 || ^15.0.1 || ^16.0.0",
"serve-handler": "^6.1.2",
"shelljs": "^0.8.3",
"socket.io": "^2.2.0",
"socket.io-client": "^2.2.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-typescript": "^7.3.3",
"@types/http-proxy": "^1.17.0",
"@types/jest": "^24.0.13",
"@types/koa": "^2.0.49",
"@types/mockjs": "^1.0.2",
"@types/node": "^12.0.2",
"@types/socket.io": "^2.1.2",
"autoprefixer": "^9.6.1",
"babel-jest": "^24.8.0",
"babel-plugin-module-resolver": "^3.2.0",
"eslint-plugin-jest": "^22.5.1",
"http-server": "^0.11.1",
"jest": "^24.8.0",
"less": "^3.10.3",
"nodemon": "^1.19.2",
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.2.1",
"postcss-modules": "^1.4.1",
"ts-jest": "^24.2.0",
"ts-node": "^8.1.1",
"typescript": "^3.7.2",
"typescript-plugin-css-modules": "^1.2.1",
"vuepress": "^1.2.0"
}
}