forked from yqz0203/electron-react-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.76 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": "electron-react-starter-kit",
"version": "0.0.2",
"main": "./dist/main.js",
"devDependencies": {
"electron": "^1.6.11",
"autoprefixer": "^7.1.2",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-register": "^6.24.1",
"babili-webpack-plugin": "^0.1.2",
"chai": "^4.1.0",
"clean-webpack-plugin": "^0.1.16",
"cross-env": "^5.0.2",
"css-loader": "^0.28.4",
"debug": "^2.6.8",
"electron-builder": "^19.18.1",
"enzyme": "^2.9.1",
"extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^2.30.1",
"isparta-instrumenter-loader": "^1.0.1",
"karma": "^1.7.0",
"karma-chrome-launcher": "^2.2.0",
"karma-coverage": "^1.1.1",
"karma-mocha": "^1.3.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.4",
"mocha": "^3.5.0",
"node-sass": "^4.5.3",
"postcss-loader": "^2.0.6",
"react-test-renderer": "^15.6.1",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"webpack": "^3.4.1",
"webpack-dev-server": "^2.6.1"
},
"scripts": {
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dev": "cross-env NODE_ENV=development DEBUG='app:*' node ./config/server",
"webpack": "npm run build:main && npm run build:renderer",
"build": "cross-env NODE_ENV=production DEBUG='app:*' npm run webpack && npm run dist",
"build:run": "cross-env NODE_ENV=production DEBUG='app:*' npm run webpack && electron .",
"build:main": "webpack --config ./config/webpack.main.js",
"build:renderer": "webpack --config ./config/webpack.renderer.js",
"test": "karma start"
},
"build": {
"appId": "com.medlinker.his",
"productName": "HIS",
"directories": {
"output": "build"
},
"files": [
"dist/**/*"
],
"mac": {
"category": "your.app.category.type",
"icon": "resource/icons/icon.icns"
},
"win": {
"icon": "resource/icons/icon.ico"
},
"linux": {
"icon": "resource/icons"
}
},
"repository": {
"type": "github",
"url": "https://github.com/yqz0203/electron-react-starter-kit"
},
"description": "electron-app-demo",
"author": "yangqizhang@medlinker.com",
"license": "MIT",
"dependencies": {
"lodash": "^4.17.4",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-router-dom": "^4.1.2"
}
}