-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.14 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.14 KB
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
{
"name": "quick-translator",
"version": "0.2.2",
"main": "dist/main.js",
"description": "菜单栏和系统通知翻译,免打开app",
"author": {
"name": "Ryuurock",
"email": "lwx_1993@outlook.com",
"url": "https://ryuurock.com"
},
"license": "MIT",
"scripts": {
"start:main": "nodemon --watch src/main -e ts,tsx --exec \"electron app.js\"",
"start": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.ts",
"build:render": "cross-env NODE_ENV=production webpack --config configs/webpack.config.renderer.prod.ts",
"build:main": "webpack --config configs/webpack.config.main.prod.ts",
"postinstall": "electron-builder install-app-deps",
"package:mac": "rimraf dist && yarn build:render && yarn build:main && electron-builder build --mac"
},
"build": {
"productName": "讯译",
"appId": "com.ryuurock.QuickTranslator",
"files": [
"dist",
"resources"
],
"directories": {
"buildResources": "resources",
"output": "release/production/macos/"
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
]
},
"artifactName": "quick-translator_${version}.${ext}",
"publish": {
"provider": "github",
"owner": "Ryuurock",
"repo": "menubar-translate"
}
},
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@babel/register": "^7.7.4",
"@hot-loader/react-dom": "^17.0.1",
"@types/html-webpack-plugin": "^3.2.1",
"@types/md5": "^2.1.33",
"@types/mini-css-extract-plugin": "^2.4.0",
"@types/node": "^16.11.8",
"@types/optimize-css-assets-webpack-plugin": "^5.0.1",
"@types/reach__router": "^1.2.6",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.1.3",
"@types/styled-components": "^5.1.15",
"@types/webpack": "^5.28.0",
"axios": "^0.24.0",
"babel-loader": "^8.0.6",
"classnames": "^2.2.6",
"cross-env": "^7.0.3",
"css-loader": "^6.5.1",
"electron": "^16.0.1",
"electron-builder": "^23.3.3",
"electron-updater": "^4.3.9",
"electron-util": "^0.17.2",
"html-webpack-plugin": "^5.5.0",
"md5": "^2.2.1",
"mini-css-extract-plugin": "^2.4.5",
"nodemon": "^2.0.1",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"query-string": "^7.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-hot-loader": "^4.12.18",
"react-router-dom": "^6.0.2",
"rimraf": "^3.0.0",
"sass": "^1.43.4",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"styled-components": "^5.3.3",
"tencentcloud-sdk-nodejs": "^4.0.411",
"terser-webpack-plugin": "^5.2.5",
"ts-node": "^10.4.0",
"typescript": "^4.5.2",
"url-loader": "^4.1.1",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.5.0",
"webpack-merge": "^5.8.0"
}
}