forked from SideQuestVR/SideQuest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
132 lines (132 loc) · 5.42 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
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "SideQuest",
"productName": "SideQuest",
"version": "0.10.34",
"description": "A open app store for mobile android based VR devices such as the Levovo Mirage, Oculus Go, Oculus Quest, Vive Focus.",
"repository": "https://github.com/SideQuestVR/SideQuest.git",
"license": "UNLICENCED",
"author": "Shane Harris",
"main": "build-electron/app.js",
"scripts": {
"concurrently": "concurrently",
"start": "concurrently \"yarn electron-build && yarn platform-tools && wait-on http-get://localhost:4205/ && cross-env NODE_ENV=dev electron .\" \"cd desktop-app && ng serve --port 4205\"",
"start:test": "concurrently \"yarn electron-build && yarn platform-tools && wait-on http-get://localhost:4205/ && cross-env NODE_ENV=dev SQ_ENV_CFG=test electron .\" \"cd desktop-app && ng serve -c test --port 4205\"",
"start:test2": "concurrently \"yarn electron-build && yarn platform-tools && wait-on http-get://localhost:4205/ && cross-env NODE_ENV=dev SQ_ENV_CFG=test2 electron .\" \"cd desktop-app && ng serve -c test2 --port 4205\"",
"start:local": "concurrently \"yarn electron-build && yarn platform-tools && wait-on http-get://localhost:4205/ && cross-env NODE_ENV=dev SQ_ENV_CFG=local electron .\" \"cd desktop-app && ng serve -c local --port 4205\"",
"postinstall": "electron-builder install-app-deps && cd desktop-app && yarn install",
"dist": "yarn electron-build && yarn platform-tools && yarn app-build && electron-builder",
"angular": "cd desktop-app && ng serve --port 4205",
"angular:test": "cd desktop-app && ng serve -c test --port 4205",
"angular:test2": "cd desktop-app && ng serve -c test2 --port 4205",
"angular:local": "cd desktop-app && ng serve -c local --port 4205",
"electron-dev": "yarn platform-tools && cross-env NODE_ENV=dev electron .",
"electron-dev:test": "yarn platform-tools && cross-env NODE_ENV=dev SQ_ENV_CFG=test electron .",
"electron-dev:test2": "yarn platform-tools && cross-env NODE_ENV=dev SQ_ENV_CFG=test2 electron .",
"electron-dev:local": "yarn platform-tools && cross-env NODE_ENV=dev SQ_ENV_CFG=local electron .",
"electron": "yarn electron-build && yarn electron-dev",
"app-build": "cd desktop-app && ng build --prod --aot && cd ..",
"platform-tools": "node build-electron/platform-tools.js",
"electron-build": "tsc",
"reset": "rm -rf node_modules && rm -rf desktop-app/node_modules && yarn install && cd desktop-app && yarn install"
},
"build": {
"productName": "SideQuest",
"appId": "com.sidequestvr.app",
"mac": {
"category": "public.app-category.utilities",
"target": {
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
},
"win": {
"artifactName": "${productName}-${version}-${arch}-${os}.${ext}",
"target": [
"nsis"
]
},
"linux": {
"target": [
"tar.xz"
]
},
"nsis": {
"artifactName": "${productName} Setup ${version}-x64-${os}.${ext}",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"include": "build/uninstaller.nsh"
},
"files": [
"build/**/*",
"node_modules/**/*",
"package.json",
"build-electron/app.js",
"build-electron/download.js",
"build-electron/setproperties.js",
"build-electron/state-storage.js",
"build-electron/window.js",
"build-electron/env-config.js",
"build-electron/external-urls.js"
],
"asarUnpack": [
"build/**/*"
],
"afterSign": "build/notarize.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --pattern \"**/*.*(js|jsx|ts|tsx)\"",
"post-commit": "git update-index -g"
}
},
"prettier": {
"tabWidth": 4,
"printWidth": 132,
"semi": true,
"jsxBracketSameLine": true,
"parser": "typescript",
"singleQuote": true,
"useTabs": false,
"trailingComma": "es5"
},
"dependencies": {
"@electron/remote": "^2.0.1",
"@types/electron": "^1.6.10",
"adbkit": "^2.11.1",
"adm-zip": "^0.4.14",
"bytenode": "^1.1.6",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"crypto": "^1.0.1",
"electron-updater": "^4.3.7",
"express": "^4.17.1",
"extract-zip": "^1.6.7",
"md5": "^2.2.1",
"mkdirp": "^1.0.3",
"node-fetch": "2.6.7",
"node-stream-zip": "^1.9.1",
"opn": "^6.0.0",
"ping": "^0.2.2",
"request": "^2.88.0",
"request-progress": "^3.0.0",
"semver": "^6.0.0",
"targz": "^1.0.1",
"usb-detection2": "git+https://github.com/SideQuestVR/node-usb-detection.git",
"wait-on": "^3.2.0",
"yauzl": "^2.10.0"
},
"devDependencies": {
"@angular/cli": "^8.0.3",
"electron": "13.5.1",
"electron-builder": "22.10.5",
"electron-notarize": "^0.1.1",
"husky": "^2.3.0",
"prettier": "1.17.1",
"pretty-quick": "^1.11.0",
"ts-loader": "^6.2.1",
"typescript": "^3.8.3"
}
}