-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 3.25 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
121
122
123
124
125
126
127
{
"name": "cloud-doc",
"version": "1.0.0",
"main": "main.js",
"description": "Online Markdown Editor using Qiniu cloud service",
"author": {
"name": "Viking Zhang",
"email": "[email protected]"
},
"repository": "https://github.com/vikingmute/clouddoc",
"private": true,
"dependencies": {
"bootstrap": "^4.3.1",
"electron-store": "^4.0.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"buildMain": "webpack",
"onlyEle": "nodemon --watch main.js --watch src/menuTemplate.js --exec \"electron .\"",
"dev": "concurrently \"wait-on http://localhost:3000 && electron .\" \"cross-env BROWSER=none npm start\"",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"release": "electron-builder",
"prerelease": "npm run build && npm run buildMain",
"prepack": "npm run build && npm run buildMain",
"predist": "npm run build && npm run buildMain"
},
"homepage": "./",
"build": {
"appId": "cloudDoc",
"productName": "七牛云文档",
"copyright": "Copyright © 2019 ${author}",
"files": [
"build/**/*",
"node_modules/**/*",
"settings/**/*",
"package.json"
],
"directories": {
"buildResources": "assets"
},
"extraMetadata": {
"main": "./build/main.js"
},
"publish": ["github"],
"extends": null,
"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": "Viking Zhang"
},
"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": {
"axios": "^0.19.0",
"qiniu": "^7.2.2",
"concurrently": "^4.1.1",
"cross-env": "^5.2.0",
"electron": "^5.0.6",
"electron-builder": "^21.2.0",
"wait-on": "^3.3.0",
"@fortawesome/fontawesome-svg-core": "^1.2.19",
"@fortawesome/free-brands-svg-icons": "^5.9.0",
"@fortawesome/free-solid-svg-icons": "^5.9.0",
"@fortawesome/react-fontawesome": "^0.1.4",
"classnames": "^2.2.6",
"electron-is-dev": "^1.1.0",
"electron-store": "^4.0.0",
"node-sass": "^4.12.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1",
"react-simplemde-editor": "^4.1.0",
"uuid": "^3.3.2"
}
}