forked from YaoZeyuan/stablog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
165 lines (165 loc) · 4.96 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"name": "stablog",
"version": "2.0.0",
"description": "稳部落. 专业备份微blog, 老铁, 稳!",
"repository": {
"type": "git",
"url": "https://github.com/YaoZeyuan/stablog"
},
"main": "dist/index.js",
"author": "姚泽源",
"license": "MIT",
"scripts": {
"startgui": "node gui/script/dev-server.js",
"buildgui": "node gui/script/build.js",
"start": "electron dist/index.js --debug",
"prod": "electron dist/index.js",
"ace": "node dist/ace.js",
"serve": "node dist/server.js",
"watch-node": "nodemon dist/server.js",
"watch": "babel src --copy-files --watch --out-dir dist --verbose --source-maps --extensions \".ts,.tsx,.js,.jsx\"",
"build": "babel src --copy-files -d dist --verbose --source-maps --extensions \".ts,.tsx,.js,.jsx\" ",
"pack": "npm run build && npm run buildgui && electron-builder --dir",
"dist": "npm run install-puppeteer-dependencies && npm run build && npm run buildgui && electron-builder",
"postinstall": "electron-builder install-app-deps",
"rebuild-sqlite3": "electron-rebuild -f -w sqlite3",
"install-puppeteer-dependencies": "node install_puppeteer_dependencies.js"
},
"build": {
"productName": "稳部落",
"appId": "stablog",
"copyright": "@姚泽源",
"npmRebuild": true,
"buildDependenciesFromSource": true,
"asar": false,
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"gui/dist/**/*",
"node_modules/**/*"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"ia32"
]
}
],
"icon": "src/public/icon/icon.png"
},
"mac": {
"category": "stablog.app.category.type",
"target": "dmg",
"icon": "src/public/icon/icon.png"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"dependencies": {
"@adonisjs/ace": "^5.0.8",
"archiver": "^3.0.0",
"async": "^2.6.0",
"axios": "^0.18.1",
"axios-cookiejar-support": "^0.5.0",
"cross-env": "^5.2.0",
"decode-html": "^2.0.0",
"dotenv": "^4.0.0",
"element-ui": "^2.12.0",
"image-size": "^0.8.3",
"json5": "^2.1.0",
"knex": "^0.20.1",
"lodash": "^4.17.5",
"md5": "^2.2.1",
"moment": "^2.24.0",
"pdfkit": "^0.10.0",
"puppeteer": "^1.20.0",
"query-string": "^6.4.2",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"shelljs": "^0.8.1",
"sqlite3": "^4.1.1",
"vue": "^2.6.5",
"vue-class-component": "^7.0.2",
"vue-router": "^3.0.2",
"winston": "^2.4.0"
},
"devDependencies": {
"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.2.1",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.7.4",
"@types/archiver": "^2.1.2",
"@types/async": "^2.0.45",
"@types/dotenv": "^4.0.2",
"@types/image-size": "^0.7.0",
"@types/jest": "^22.1.3",
"@types/jquery": "^3.2.17",
"@types/json5": "0.0.30",
"@types/knex": "^0.15.1",
"@types/lodash": "^4.14.91",
"@types/md5": "^2.1.33",
"@types/node": "^9.4.6",
"@types/pdfkit": "^0.10.3",
"@types/puppeteer": "^1.20.1",
"@types/react": "^16.8.1",
"@types/react-dom": "^16.0.11",
"@types/request": "^2.48.1",
"@types/request-promise": "^4.1.42",
"@types/shelljs": "^0.7.8",
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0-beta.3",
"@vue/babel-preset-jsx": "^1.0.0-beta.3",
"babel-loader": "^8.0.5",
"babel-plugin-root-import": "^6.1.0",
"chalk": "^2.4.2",
"connect-history-api-fallback": "^1.6.0",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0",
"electron": "^6.0.12",
"electron-builder": "^21.2.0",
"electron-rebuild": "^1.8.6",
"express": "^4.16.4",
"file-loader": "^3.0.1",
"friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"http-proxy-middleware": "^0.19.1",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"nodemon": "^1.13.0",
"opn": "^5.4.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"ora": "^3.1.0",
"portfinder": "^1.0.20",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"terser-webpack-plugin": "^1.2.2",
"ts-loader": "^5.3.3",
"ts-node": "^5.0.0",
"tslint": "^5.12.1",
"tslint-config-standard": "^8.0.1",
"typescript": "^3.7.3",
"url-loader": "^1.1.2",
"vue-loader": "^15.6.2",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.6.5",
"webpack": "^4.29.3",
"webpack-cli": "^3.2.3",
"webpack-dev-middleware": "^3.5.2",
"webpack-hot-middleware": "^2.24.3",
"webpack-merge": "^4.2.1"
}
}