-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
86 lines (86 loc) · 2.39 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
{
"name": "frontend",
"version": "0.1.0",
"private": true,
"main": "build/electron/main.js",
"dependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^20.12.7",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^4.9.5",
"electron-devtools-installer": "^3.2.0",
"electron-reload": "^2.0.0-alpha.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/electron-devtools-installer": "^2.2.2",
"@types/jest": "^29.4.0",
"@types/node": "^20.12.7",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"cross-env": "^7.0.3",
"concurrently": "^8.0.1",
"electron": "^25.3.0",
"electron-builder": "^24.0.0",
"electron-is-dev": "^2.0.0",
"typescript": "^5.0.4",
"wait-on": "^7.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"eject": "react-scripts eject",
"lint": "eslint 'src/**/*.{ts,tsx}' 'electron/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.{ts,tsx}' 'electron/**/*.ts'",
"test": "react-scripts test",
"electron:dev": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://127.0.0.1:3000 && tsc -p electron -w\" \"wait-on http://127.0.0.1:3000 && tsc -p electron && electron .\"",
"electron:build": "yarn build && tsc -p electron && electron-builder",
"electron:dist": "yarn build && tsc -p electron && electron-builder --mac --dir"
},
"build": {
"productName": "productName",
"mac": {
"target": {
"target": "default",
"arch": [
"universal"
]
},
"category": "public.app-category.productivity"
},
"extends": null,
"files": [
"build/**/*"
],
"directories": {
"buildResources": "assets"
}
},
"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"
]
}
}