-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
132 lines (132 loc) · 3.43 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
128
129
130
131
132
{
"name": "spiderchat",
"version": "1.0.0",
"description": "spiderChat baseon electron",
"main": "src/main/main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "concurrently \"npm run start:render\" \"wait-on http://localhost:9200&& npm run start:main\" ",
"start:render": "webpack-dev-server --open",
"start:main": "electron .",
"pack:mac": "electron-builder --mac",
"build:render": "webpack --env prod",
"build": "npm run build:render && npm run pack:mac",
"fix": "electron-fix start"
},
"author": "Ivy",
"license": "ISC",
"devDependencies": {
"babel-core": "^6.26.3",
"babel-loader": "^7.1.2",
"babel-plugin-import": "^1.13.0",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"clean-webpack-plugin": "^3.0.0",
"concurrently": "^5.2.0",
"css-loader": "^3.5.3",
"electron": "^13.1.4",
"electron-builder": "^22.10.5",
"electron-fix": "^1.1.3",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"file-loader": "^6.0.0",
"html-loader": "^1.1.0",
"html-webpack-plugin": "^4.3.0",
"less": "^3.11.1",
"less-loader": "^6.1.0",
"mini-css-extract-plugin": "^0.9.0",
"node-sass": "^4.14.1",
"postcss-import": "^12.0.1",
"postcss-loader": "^3.0.0",
"precss": "^4.0.0",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-contenteditable": "^3.3.4",
"react-dom": "^16.13.1",
"react-router-dom": "^5.2.0",
"sass-resources-loader": "^2.0.3",
"style-loader": "^1.2.1",
"uglifyjs-webpack-plugin": "^2.2.0",
"url-loader": "^4.1.0",
"wait-on": "^5.0.1",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2",
"ws": "^7.3.0"
},
"dependencies": {
"about-window": "^1.13.2",
"electron-is-dev": "^1.2.0",
"mime-types": "^2.1.27"
},
"build": {
"appId": "com.spider.chat",
"productName": "spiderchat",
"electronDownload": {
"mirror": "https://npm.taobao.org/mirrors/electron/"
},
"files": [
"build/**/*",
"src"
],
"directories": {
"output": "dist"
},
"copyright": "Copyright © 2021 spider",
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "src/resources/icns/spider.icns",
"extendInfo": {
"URL types": [
{
"Document Role": "Viewer",
"URL identifier": "spiderchat",
"URL Schemes": [
"spiderchat"
]
}
],
"CFBundleURLSchemes": [
"spiderchat"
]
}
},
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
],
"icon": "src/resources/icns/spider.icns",
"iconSize": 150
},
"nsis": {
"createDesktopShortcut": true,
"createStartMenuShortcut": true
}
},
"prettier": {
"printWidth": 120,
"bracketSpacing": true,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 2
}
}