-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
88 lines (88 loc) · 2.54 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
{
"name": "electron-pro",
"version": "1.0.0",
"description": "Electron template with Umi and TypeScript.",
"private": true,
"build": {
"files": [
"!node_modules/"
],
"mac": {
"category": "your.app.category.type"
},
"directories": {
"output": "release"
},
"appId": "com.theprimone.electron-pro",
"asar": false
},
"scripts": {
"start": "concurrently \"npm run start:renderer\" \"npm run start:main\"",
"start:main": "nodemon --exec \"electron-webpack dev\"",
"start:renderer": "cross-env BROWSER=none APP_ROOT=src/renderer umi dev",
"build-main-dev": "cross-env NODE_ENV=development webpack",
"build-main-prod": "cross-env NODE_ENV=production webpack",
"build:renderer": "cross-env APP_ROOT=src/renderer umi build",
"watch": "tsc -w",
"test": "jest",
"lint": "tslint -c tslint.json -p tsconfig.json",
"debug:main": "electron --inspect=5858 -w ./dist/main/main.js",
"pack": "npm run build:renderer && npm run build-main-prod && electron-builder --dir",
"dist": "electron-builder",
"dist-mac": "electron-builder -m",
"dist-win": "electron-builder -w",
"dist-linux": "electron-builder -l",
"dist-all": "electron-builder -mwl",
"prettier": "prettier --list-different \"./**/*.{ts,tsx,js,jsx,less}\"",
"postinstall": "electron-builder install-app-deps"
},
"repository": "https://github.com/wangtianlun/umi-electron-typescript",
"keywords": [
"Electron",
"Umi",
"TypeScript"
],
"author": {
"name": "theprimone",
"email": "[email protected]",
"url": "https://github.com/theprimone"
},
"dependencies": {
"react-transition-group": "^4.4.1",
"umi": "^3.3.9"
},
"devDependencies": {
"@types/react-transition-group": "^4.4.0",
"@umijs/fabric": "^2.5.6",
"@umijs/preset-react": "^1.7.13",
"concurrently": "^6.0.0",
"cross-env": "^7.0.2",
"electron": "^11.2.1",
"electron-builder": "^22.9.1",
"electron-debug": "^3.2.0",
"electron-webpack": "^2.8.2",
"electron-webpack-ts": "^4.0.1",
"jest": "^24.9.0",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"ts-loader": "^8.0.14",
"tslint": "^5.10.0",
"typescript": "^4.1.3",
"webpack": "4.28.0",
"webpack-cli": "^3.2.1",
"webpack-merge": "^4.2.1"
},
"electronWebpack": {
"main": {
"extraEntries": [
"@/preload.js"
],
"sourceDirectory": "src/main",
"webpackConfig": "webpack.config.js"
},
"renderer": {
"sourceDirectory": null
}
},
"__npminstall_done": false
}