-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.2 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 3.2 KB
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
{
"name": "elecmapper",
"version": "0.0.1",
"description": "一个基于Electron,将JSON转成Model,为方便使用MoyaMapper而做的工具",
"private": true,
"main": "main.js",
"dependencies": {},
"repository": {
"type": "git",
"url": "git+https://github.com/MoyaMapper/elecmapper.git"
},
"author": {
"name": "LinXunFeng",
"email": "linxunfeng@yeah.net",
"url": "https://github.com/LinXunFeng"
},
"bugs": {
"url": "https://github.com/MoyaMapper/elecmapper/issues"
},
"homepage": "./",
"build": {
"appId": "com.moyamapper.elecmapper",
"productName": "ElecMapper",
"copyright": "Copyright © 2020 ${author}",
"npmRebuild": false,
"directories": {
"buildResources": "src/assets"
},
"extraMetadata": {
"main": "./build/main.js"
},
"mac": {
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"background": "src/assets/appdmg.png",
"icon": "src/assets/icon.icns",
"iconSize": 100,
"contents": [
{
"x": 380,
"y": 280,
"type": "link",
"path": "/Applications"
},
{
"x": 110,
"y": 280,
"type": "file"
}
],
"window": {
"width": 500,
"height": 500
}
}
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject",
"dev": "concurrently \"wait-on http://localhost:3000 && electron .\" \"cross-env BROWSER=none npm start\"",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"release": "electron-builder",
"prepack": "npm run build && npm run buildMain",
"predist": "npm run build && npm run buildMain",
"prerelease": "npm run build && npm run buildMain",
"buildMain": "webpack --progress --mode production"
},
"eslintConfig": {
"extends": "react-app"
},
"publish": [
"github"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"antd": "^3.26.11",
"antd-dayjs-webpack-plugin": "^0.0.8",
"babel-plugin-import": "^1.13.0",
"classnames": "^2.2.6",
"concurrently": "^5.1.0",
"cross-env": "^7.0.0",
"customize-cra": "^0.9.1",
"electron": "^8.0.1",
"electron-builder": "^22.3.2",
"electron-is-dev": "^1.1.0",
"electron-updater": "^4.2.2",
"immutable": "^4.0.0-rc.12",
"node-sass": "^4.13.1",
"react": "^16.12.0",
"react-app-rewired": "^2.1.5",
"react-dom": "^16.12.0",
"react-redux": "^7.2.0",
"react-scripts": "3.4.0",
"redux": "^4.0.5",
"redux-immutable": "^4.0.0",
"redux-thunk": "^2.3.0",
"uuid": "^3.4.0",
"wait-on": "^4.0.0",
"webpack": "4.41.5",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "3.10.2"
}
}