-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.37 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
{
"name": "scrapbox",
"productName": "Scrapbox",
"version": "1.0.3",
"main": "dist/main.js",
"author": "iamtakagi",
"license": "MIT",
"scripts": {
"webpack:dev": "webpack --mode development --config ./webpack.config.ts",
"webpack:prod": "webpack --mode production --config ./webpack.config.ts",
"electron-build:win": "electron-builder --win --x64",
"electron-build:darwin": "electron-builder --mac --x64",
"electron": "electron ./dist/main.js",
"dev": "yarn webpack:dev && yarn electron",
"build:win": "yarn webpack:prod && yarn electron-build:win",
"build:darwin": "yarn webpack:prod && yarn electron-build:darwin"
},
"engines": {
"node": "16.x"
},
"build": {
"appId": "io.scrapbox",
"productName": "Scrapbox",
"files": [
"dist/**/*"
],
"mac": {
"target": "dmg",
"icon": "assets/icon.png"
},
"win": {
"target": "nsis",
"icon": "assets/icon.png"
}
},
"dependencies": {
"discord-rpc": "^4.0.1",
"electron-fetch": "^1.7.4"
},
"devDependencies": {
"@types/webpack": "^5.28.0",
"@types/webpack-node-externals": "^2.5.3",
"electron": "^20.0.2",
"electron-builder": "^23.3.3",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-node-externals": "^3.0.0"
}
}