-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 2.42 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
{
"name": "swagger-go",
"version": "0.2.4",
"description": "通用、易用、强大、跨平台的可视化 Swagger 文档编辑及前、后端代码生成工具。",
"author": "Gabe Yuan <[email protected]>",
"license": "MIT",
"private": true,
"main": "public/electron.js",
"homepage": "./",
"dependencies": {
"antd": "^3.20.7",
"archiver": "^3.1.1",
"download-git-repo": "^2.0.0",
"ejs": "^2.6.2",
"electron-is-dev": "^1.1.0",
"fs-extra": "^8.1.0",
"github-markdown-css": "^3.0.1",
"js-yaml": "^3.13.1",
"moment": "^2.24.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-markdown": "^4.1.0",
"react-scripts": "3.0.1",
"react-syntax-highlighter": "^11.0.2",
"swagger-ui-react": "^3.23.5"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "cross-env concurrently \"BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
"react": "BROWSER=none yarn start",
"electron": "electron .",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist-mwl": "electron-builder -mwl",
"dist-windows": "electron-builder --windows nsis:ia32",
"dist-linux": "electron-builder --linux deb tar.xz",
"icon-maker": "./node_modules/.bin/electron-icon-maker --input=./src/icon.png --output=./public"
},
"build": {
"productName": "swagger-go",
"appId": "com.swagger.go.app",
"copyright": "Copyright © 2019 FishJar",
"linux": {
"icon": "./build/icons/png/256x256.png"
},
"deb": {
"icon": "./build/icons/png/256x256.png"
},
"win": {
"icon": "./build/icons/win/icon.ico"
},
"mac": {
"icon": "./build/icons/mac/icon.icns",
"category": "your.app.category.type"
}
},
"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": {
"concurrently": "^4.1.1",
"cross-env": "^5.2.0",
"devtron": "^1.4.0",
"electron": "^5.0.7",
"electron-builder": "^21.0.15",
"electron-devtools-installer": "^2.2.4",
"electron-icon-maker": "^0.0.4",
"wait-on": "^3.3.0"
}
}