This repository has been archived by the owner on Jun 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.24 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
{
"name": "cra-typescript-electron",
"version": "0.1.0",
"author": "Chris Idzerda",
"description": "CRA Typescript Electron",
"license": "MIT",
"homepage": ".",
"main": "build/electron.js",
"private": true,
"scripts": {
"build": "cross-env INLINE_RUNTIME_CHUNK=false react-scripts build && npm run electron:build",
"test": "react-scripts test",
"start": "npm run electron:build && cross-env DEV_URL=http://localhost:4349 concurrently \"tsc --project main -w\" \"npm run electron:start-web\" \"electronmon build/electron.js\"",
"release": "npm run build && electron-builder --publish=never",
"clean": "cd main && tsc --build --clean",
"electron:build": "tsc start.ts && tsc public/electron.ts && tsc --project main",
"electron:start-web": "cross-env BROWSER=none PORT=4349 react-scripts start",
"electron:wait-for-web": "tsc wait-for-web.ts && node wait-for-web.js",
"eject": "react-scripts eject"
},
"build": {
"productName": "CRA Typescript Electron",
"appId": "com.example.cra-typescript-electron",
"extends": "react-cra",
"mac": {
"category": "public.app-category.utilities",
"icon": "build/favicon.png",
"target": "7z"
},
"win": {
"icon": "build/favicon.ico"
}
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^18.18.9",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^30.0.6",
"electron-builder": "^24.13.3",
"electronmon": "^2.0.2",
"sass": "^1.76.0",
"typescript": "^5.4.0"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}