forked from oldj/SwitchHosts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 3.23 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
{
"private": true,
"scripts": {
"start": "electron ./build/main.js",
"postinstall": "umi generate tmp",
"test:umi": "umi-test",
"test:coverage": "umi-test --coverage",
"test": "rm -rf ./test/tmp/* && mocha -r espower-typescript/guess -r tsconfig-paths/register \"test/**/*.test.ts\"",
"dev": "concurrently \"npm run dev:main\" \"npm run dev:renderer\"",
"dev:main": "webpack --config scripts/webpack.main.config.js -w",
"dev:renderer": "cross-env APP_ROOT=src/renderer umi dev",
"version:up": "node ./scripts/version_up.js",
"build": "npm run version:up && concurrently \"npm run build:main\" \"npm run build:renderer\"",
"build:main": "cross-env NODE_ENV=production webpack --config scripts/webpack.main.prod.config.js",
"build:renderer": "cross-env APP_ROOT=src/renderer umi build",
"make": "node scripts/make.js",
"make:dev": "cross-env SKIP_NOTARIZATION=1 cross-env MAKE_FOR=dev npm run make",
"make:linux": "cross-env SKIP_NOTARIZATION=1 cross-env MAKE_FOR=linux npm run make",
"make:win": "cross-env SKIP_NOTARIZATION=1 cross-env MAKE_FOR=win npm run make"
},
"dependencies": {
"axios": "^0.27.2",
"compare-versions": "^4.1.3",
"dayjs": "^1.11.2",
"electron-window-state": "^5.0.3",
"express": "^4.18.1",
"lodash": "^4.17.21",
"md5": "^2.3.0",
"md5-file": "^5.0.0",
"mkdirp": "^1.0.4",
"potdb": "^2.3.3",
"tslib": "^2.4.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.17.12",
"@babel/plugin-proposal-decorators": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@chakra-ui/react": "^2.1.2",
"@emotion/react": "^11.9.0",
"@emotion/styled": "^11.8.1",
"@types/assert": "^1.5.6",
"@types/codemirror": "^5.60.5",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.182",
"@types/md5": "^2.3.2",
"@types/mkdirp": "^1.0.2",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.5",
"@types/react-window": "^1.8.5",
"@types/uuid": "^8.3.4",
"@umijs/preset-react": "2.x",
"@umijs/test": "^3.5.24",
"ahooks": "^3.4.0",
"babel-loader": "^8.2.5",
"clsx": "^1.1.1",
"codemirror": "^5.65.4",
"concurrently": "^7.2.1",
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"dotenv": "^16.0.1",
"electron": "^19.0.1",
"electron-builder": "^23.0.9",
"electron-notarize": "^1.2.1",
"espower-typescript": "^10.0.0",
"execa": "^6.1.0",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"fs-extra": "^10.1.0",
"mocha": "^10.0.0",
"power-assert": "^1.6.1",
"prettier": "^2.6.2",
"pretty-bytes": "^6.0.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-icons": "^4.3.1",
"react-window": "^1.8.7",
"smooth-scroll-into-view-if-needed": "^1.1.33",
"ts-node": "^10.8.0",
"tsconfig-paths-webpack-plugin": "^3.5.2",
"typescript": "^4.7.2",
"umi": "^3.5.35",
"webpack": "^5.72.1",
"webpack-cli": "^4.9.2",
"webpack-merge": "^5.8.0",
"webpack-node-externals": "^3.0.0",
"yorkie": "^2.0.0"
},
"build": {
"afterSign": "scripts/notarize.js"
}
}