-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 3.04 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
{
"name": "air-traffic-control-timekeeper",
"version": "0.2.0",
"author": "",
"homepage": ".",
"main": "build/electron/main.js",
"private": true,
"dependencies": {
"@craco/craco": "^7.1.0",
"@date-io/date-fns": "^2.16.0",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/material": "^5.11.0",
"@mui/x-date-pickers": "^5.0.11",
"@mui/x-date-pickers-pro": "^5.0.11",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"clsx": "^1.1.1",
"cross-fetch": "^3.1.5",
"date-fns": "^2.26.0",
"dayjs": "^1.11.7",
"electron-devtools-installer": "^3.2.0",
"electron-reload": "^1.5.0",
"print-js": "^1.6.0",
"react": "^17.0.2",
"react-csv": "^2.2.2",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-router-dom": "^6.0.2",
"react-scripts": "5.0.1",
"react-use": "^17.3.1",
"sass": "^1.43.4",
"sql.js": "^1.6.2",
"typescript": "^4.5.2",
"web-vitals": "^2.1.2"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"postinstall": "electron-builder install-app-deps",
"electron:dev": "concurrently \"cross-env BROWSER=none npm start\" \"wait-on http://localhost:3000 && tsc -p electron -w\" \"wait-on http://localhost:3000 && tsc -p electron && electron .\"",
"electron:build:win": "npm run build-api-typings && npm run build && tsc -p electron && electron-builder --win portable",
"electron:build": "npm run build-api-typings && npm run build && tsc -p electron && electron-builder",
"eject": "craco eject",
"build-test": "npm run electron:build && open dist/mac-arm64/air-traffic-control-timekeeper.app",
"clean-typings": "rm -rf node_modules/electron/node_modules/@types/node",
"build-api-typings": "cd electron && tsc --declaration --emitDeclarationOnly --declarationDir ../src/db-typings && cd ../",
"archive": "git archive --format zip --output master.zip master"
},
"build": {
"extends": null,
"files": [
"build/**/*"
],
"productName": "ATC Timekeeper",
"win": {
"target": "portable",
"icon": "build/icon.png"
},
"portable": {
"unicode": false,
"artifactName": "ATC Timekeeper.exe"
},
"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"
]
},
"devDependencies": {
"@types/electron-devtools-installer": "^2.2.0",
"@types/jest": "^27.0.2",
"@types/node": "^14.18.34",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"@types/sql.js": "^1.4.3",
"concurrently": "^6.4.0",
"cross-env": "^7.0.3",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"wait-on": "^8.0.1"
}
}