-
Notifications
You must be signed in to change notification settings - Fork 97
/
package.json
85 lines (85 loc) · 3.05 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
{
"name": "dooring",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "concurrently \"npm run start:renderer\" \"wait-on http://localhost:8000 && npm run start:main\"",
"build": "cross-env APP_ROOT=./renderer umi build",
"test": "APP_ROOT=./renderer umi test",
"lint": "eslint --ext .js ./renderer",
"precommit": "lint-staged",
"start:main": "cross-env NODE_ENV=development nodemon --watch ./main/ --exec \"electron ./\"",
"start:renderer": "cross-env APP_ROOT=./renderer umi dev",
"build:renderer": "cross-env APP_ROOT=./renderer umi build",
"debug:main": "electron --inspect=5858 -w ./",
"pack": "npm run build:renderer && electron-builder --dir --config ./electron-builder.config.js",
"dist": "electron-builder --config ./electron-builder.config.js",
"dist-mac": "cross-env ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ electron-builder -m --config ./electron-builder.config.js",
"dist-win": "cross-env ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ electron-builder -w --config ./electron-builder.config.js",
"dist-linux": "cross-env ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ electron-builder -l --config ./electron-builder.config.js",
"dist-all": "cross-env ELECTRON_MIRROR=https://npm.taobao.org/mirrors/electron/ electron-builder -mwl --config ./electron-builder.config.js",
"prettier": "prettier --list-different \"./**/*.{ts,tsx,js,jsx,less}\"",
"postinstall": "electron-builder install-app-deps"
},
"main": "./index.js",
"dependencies": {
"electron-log": "^4.1.2",
"electron-updater": "^4.3.1",
"koa": "^2.13.1",
"koa-body": "^4.2.0",
"koa-logger": "^3.2.1",
"koa-static": "^5.0.0",
"koa2-cors": "^2.0.6",
"lodash": "^4.17.15"
},
"devDependencies": {
"@ant-design/icons": "^4.5.0",
"@umijs/fabric": "^2.6.2",
"@umijs/preset-react": "1.x",
"@umijs/test": "^3.4.25",
"antd": "^4.9.2",
"babel-eslint": "^10.1.0",
"classnames": "^2.2.6",
"concurrently": "^6.0.0",
"cross-env": "^7.0.3",
"devtron": "^1.4.0",
"electron": "^12.0.0",
"electron-builder": "^22.10.5",
"electron-builder-squirrel-windows": "^22.10.5",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "^3.1.1",
"eslint": "^7.1.0",
"eslint-config-umi": "^1.6.0",
"eslint-plugin-flowtype": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"github-markdown-css": "^4.0.0",
"husky": "^0.14.3",
"lint-staged": "^10.0.7",
"mockjs": "^1.1.0",
"nodemon": "^2.0.2",
"prettier": "^2.2.0",
"prop-types": "^15.7.2",
"react": "17.x",
"react-dom": "17.x",
"react-test-renderer": "^16.7.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"umi": "^3.4.25",
"wait-on": "^5.3.0",
"yorkie": "^2.0.0"
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"engines": {
"node": ">=10.13.0"
},
"author": {
"email": "[email protected]",
"name": "d"
}
}