-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 2.98 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
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
{
"name": "md-edit",
"version": "0.1.0",
"private": true,
"main": "main.js",
"dependencies": {
"bootstrap": "^4.4.1",
"electron-store": "^5.1.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"buildMain": "webpack",
"dev": "concurrently \"wait-on http://localhost:3000 && nodemon --watch main.js --exec electron .\" \" cross-env BROWSER=none npm start\"",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"prepack": "npm run build && npm run buildMain",
"predist": "npm run build && npm run buildMain"
},
"homepage": "./",
"build": {
"appId": "cloudDoc",
"productName": "MD编辑器",
"copyright": "Copyright © year Jimwan",
"files": [
"build/**/*",
"node_modules/**/*",
"settings/**/*",
"package.json"
],
"extends": null,
"extraMetadata": {
"main": "./build/main.js"
},
"directories": {
"buildResources": "assets"
},
"mac": {
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"dmg": {
"background": "assets/appdmg.png",
"icon": "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
}
},
"win": {
"target": [
"msi",
"nsis"
],
"icon": "assets/icon.ico",
"artifactName": "${productName}-Web-Setup-${version}.${ext}",
"publisherName": "Jimwan"
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false,
"perMachine": false
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-brands-svg-icons": "^5.12.0",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"classnames": "^2.2.6",
"concurrently": "^5.0.2",
"cross-env": "^6.0.3",
"electron": "7.1.9",
"electron-builder": "^22.2.0",
"electron-is-dev": "^1.1.0",
"node-sass": "^4.13.0",
"nodemon": "^2.0.2",
"prop-types": "^15.7.2",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-scripts": "3.4.0",
"react-simplemde-editor": "^4.1.0",
"wait-on": "^3.3.0",
"webpack-cli": "^3.3.11"
}
}