-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
158 lines (158 loc) · 4.39 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
154
155
156
157
158
{
"name": "bproxy",
"version": "5.2.36",
"description": "代理工具",
"main": "./bin/electron.js",
"bin": {
"bproxy": "./bin/bproxy"
},
"scripts": {
"prepare": "npx husky install",
"prettier": "prettier --write ./src/**/*",
"lint": "eslint ./src --ext .ts",
"check-types": "tsc -p tsconfig.json --noEmit",
"test": "jest --coverage",
"dev:web": "cross-env NODE_ENV=dev-web vite --host",
"dev:server": "swc src/proxy src/utils -d server-build -w",
"dev:app": "npm run build:server && cross-env NODE_ENV=dev node node_modules/electron/cli.js ./bin/electron.js",
"dev:bproxy": "pm2 start ecosystem.config.js && pm2 log",
"dev:weinre": "onchange 'src/web/inspect.ts' -- npm run build:weinre",
"dev": "npm-run-all --parallel dev:weinre dev:server dev:web dev:bproxy",
"build:server": "rimraf ./server-build && swc src/proxy src/utils -d server-build",
"build:web": "vite build",
"build:weinre": "cross-env NODE_ENV=weinre vite build --mode development",
"build": "npm run build:web && npm run build:server && npm run build:weinre",
"pack": "electron-builder",
"release": "npm run build && npm run pack"
},
"dependencies": {
"chalk": "4.1.2",
"iconv-lite": "0.6.3",
"licia": "1.34.0",
"lodash": "4.17.21",
"log4js": "^6.9.1",
"mkdirp": "1.0.4",
"multiparty": "^4.2.3",
"node-forge": "1.3.1",
"pako": "2.0.4",
"request": "2.88.2",
"rxjs": "7.5.1",
"ws": "8.17.1"
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.0",
"@types/jest": "^28.1.6",
"@types/lodash": "4.14.148",
"@types/node": "12.19.16",
"@types/qs": "6.9.7",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"@vitejs/plugin-react": "^2.0.1",
"animate.css": "4.1.1",
"chobitsu": "1.4.4",
"classnames": "2.3.1",
"cross-env": "7.0.3",
"electron": "^31.3.1",
"electron-builder": "^24.9.1",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^3.4.1",
"husky": "^8.0.1",
"jest": "^28.1.3",
"less": "4.1.2",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"prettier": "^2.4.1",
"qs": "6.10.3",
"react": "^18.2.0",
"react-error-boundary": "^3.1.4",
"react-json-view": "^1.21.3",
"react-router-dom": "^6.3.0",
"rimraf": "3.0.2",
"sass": "^1.54.4",
"ts-jest": "^28.0.7",
"typescript": "^4.9.5",
"vite": "4.3.5",
"vite-plugin-externals": "0.6.2",
"vite-plugin-glob": "0.3.2",
"vite-plugin-progress": "0.0.3",
"vite-plugin-svgr": "2.2.1"
},
"repository": {
"type": "git",
"url": "https://github.com/zobor/bproxy"
},
"keywords": [
"前端调试工具"
],
"author": {
"name": "zobor",
"email": "[email protected]"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/zobor/bproxy/issues"
},
"engines": {
"node": ">= 16.0.0",
"npm": ">= 8.0.0"
},
"preferGlobal": true,
"homepage": "https://www.duelpeak.com/pages/bproxy",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run check-types"
}
},
"lint-staged": {
"src/**/*.{tsx,ts}": [
"npm run lint",
"prettier --write"
],
"*.{html,md,css,scss,less,json}": [
"prettier --write"
]
},
"build": {
"appId": "com.apple.bproxy",
"productName": "bproxy",
"copyright": "www.duelpeak.com",
"compression": "store",
"directories": {
"output": "./release"
},
"files": [
"bin/",
"node_modules/",
"package.json",
"server-build/",
"web-build/",
"static/",
"!**/node_modules/*/{test,__tests__,tests,powered-test,example,examples}",
"!**/node_modules/*.d.ts",
"!**/node_modules/.bin",
"!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,.gitignore,.gitattributes}",
"!**/{__pycache__,thumbs.db,.flowconfig,.idea,.vs,.nyc_output}",
"!**/{appveyor.yml,.travis.yml,circle.yml}",
"!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json}"
],
"mac": {
"icon": "./icon.icns",
"target": [
"dmg"
]
},
"win": {
"target": [
"nsis"
]
}
}
}