-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 4.05 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
{
"name": "sltt-app",
"version": "206311.4.4",
"description": "Installable SLTT app (Sign Language Translation Tool)",
"main": "./out/main/index.js",
"author": "sltt-bible.net",
"homepage": "https://sltt-bible.net/",
"repository": {
"type": "git",
"url": "https://github.com/ubsicap/sltt-app.git"
},
"scripts": {
"format": "prettier --write .",
"lint": "eslint . --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"typecheck:node": "tsc --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "tsc --noEmit -p tsconfig.web.json --composite false",
"typecheck": "npm run typecheck:node && npm run typecheck:web",
"typecheck:watch": "tsc -p tsconfig.json --watch",
"start": "electron-vite preview",
"test": "vitest",
"dev": "electron-vite dev",
"build": "npm run typecheck && electron-vite build",
"postinstall": "electron-builder install-app-deps",
"ls:version:source": "dir %SLTT_CLIENT_DIR%\\build\\assets\\index-*.js",
"find:version:source": "findstr /S /M /C:\"version = \\\"2.63.11\\\"\" %SLTT_CLIENT_DIR%\\build\\assets\\index-*.js",
"find:version:target": "findstr /S /M /C:\"version:\\\"2.63.11\\\"\" out\\client\\assets\\index-*.js",
"find:auth0_client_id:target": "findstr /S /M /C:\"\\\"VITE_AUTH0_CLIENT_ID\\\": \\\"eTewsjcscudtGHteG3u86YEDwHUTRd6Z\\\"\" out\\client\\assets\\index-*.js",
"find:auth0_client_id:source": "findstr /S /M /C:\"\\\"VITE_AUTH0_CLIENT_ID\\\": \\\"eTewsjcscudtGHteG3u86YEDwHUTRd6Z\\\"\" %SLTT_CLIENT_DIR%\\build\\assets\\index-*.js",
"rmdir:build:client": "if exist \".\\out\\client\" rmdir /s /q \".\\out\\client\"",
"copy:build:client": "npm run find:version:source && npm run find:auth0_client_id:source && npm run rmdir:build:client && xcopy \"%SLTT_CLIENT_DIR%\\build\" .\\out\\client\\ /s /e /y",
"build:win:norelease": "npm run build && electron-builder --win --config --publish never",
"build:win:release": "npm run build && cross-env GH_TOKEN=%SLTT_APP_PAT% electron-builder --win --config --publish always",
"build:mac:norelease": "electron-vite build && electron-builder --mac --config --publish never",
"build:mac": "electron-vite build && electron-builder --mac --config",
"build:mac:release": "electron-vite build && electron-builder --mac --config --publish always",
"build:linux": "electron-vite build && electron-builder --linux --config"
},
"build": {
"appId": "net.sltt-bible.app",
"productName": "sltt-app",
"forceCodeSigning": true,
"afterSign": "build/notarize.js",
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64"
]
}
]
},
"directories": {
"output": "dist"
},
"nsis": {
"oneClick": true,
"deleteAppDataOnUninstall": true
},
"publish": {
"provider": "github",
"owner": "ubsicap",
"repo": "sltt-app",
"releaseType": "draft"
}
},
"dependencies": {
"@electron-toolkit/preload": "^1.0.3",
"@electron-toolkit/utils": "^1.0.2",
"bottleneck": "^2.19.5",
"check-disk-space": "^2.1.0",
"cors": "^2.8.5",
"electron-updater": "^5.3.0",
"express": "^4.17.1",
"ffmpeg-static": "^5.1.0",
"fluent-ffmpeg": "^2.1.2",
"formidable": "^1.2.2",
"fs-extra": "^11.2.0"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "^1.0.1",
"@electron/notarize": "^1.2.3",
"@types/lodash": "^4.17.7",
"@types/node": "18.0.0",
"@types/react": "18.0.30",
"@types/react-dom": "18.0.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitejs/plugin-react": "^3.1.0",
"cross-env": "^7.0.3",
"electron": "^22.3.4",
"electron-builder": "^23.6.0",
"electron-vite": "^1.0.21",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"prettier": "^2.8.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.5",
"vite": "^4.2.1",
"vitest": "^2.0.4"
}
}