-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 3.47 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
{
"name": "electron-react-neon-typescript-boilerplate",
"version": "0.1.0",
"description": "Electron boiler plate using React as the frontend and TypeScript + Rust as the backend via Neon",
"main": "./.webpack/main",
"scripts": {
"start": "electron-forge start",
"prestart": "yarn run build",
"package": "electron-forge package",
"make": "electron-forge make",
"build": "cargo-cp-artifact -nc ./index.node -- cargo build --manifest-path ./src/native/Cargo.toml --message-format=json-render-diagnostics",
"build-debug": "npm run build --",
"build-release": "npm run build -- --release",
"install": "npm run build-release",
"test": "cargo test"
},
"author": "Lennart Hase",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@electron-forge/cli": "^6.0.0-beta.63",
"@electron-forge/maker-deb": "^6.0.0-beta.63",
"@electron-forge/maker-rpm": "^6.0.0-beta.63",
"@electron-forge/maker-squirrel": "^6.0.0-beta.63",
"@electron-forge/maker-zip": "^6.0.0-beta.63",
"@electron-forge/plugin-webpack": "^6.0.0-beta.63",
"@types/electron": "^1.6.10",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-loader": "^8.2.4",
"babel-preset-es2015-node": "^6.1.1",
"babel-preset-react": "^6.24.1",
"cargo-cp-artifact": "^0.1",
"css-loader": "^6.7.1",
"electron": "^18.0.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-css-modules": "^2.11.0",
"eslint-plugin-prettier": "^4.0.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"node-loader": "^2.0.0",
"prettier": "^2.6.2",
"style-loader": "^3.3.1",
"ts-loader": "^9.2.8",
"typescript": "^4.6.3",
"webpack": "^5.71.0",
"webpack-cli": "^4.9.2"
},
"keywords": [
"electron",
"rust",
"neon",
"neon-binding",
"react",
"typescript",
"boilerplate"
],
"dependencies": {
"electron-squirrel-startup": "^1.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"config": {
"forge": {
"packagerConfig": {},
"plugins": [
[
"@electron-forge/plugin-webpack",
{
"mainConfig": "./webpack/webpack.main.config.js",
"renderer": {
"config": "./webpack/webpack.renderer.config.js",
"entryPoints": [
{
"html": "./src/assets/index.html",
"js": "./src/frontend/renderer.tsx",
"name": "main_window",
"preload": {
"js": "./src/backend/preload.ts"
}
}
]
}
}
]
],
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "mail"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
}
}