-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (160 loc) · 5.86 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "omst",
"description": "desktop version of the online omst",
"author": {
"name": "Stark Lab",
"email": "[email protected]",
"url": "https://faculty.sites.uci.edu/starklab/"
},
"version": "1.0.4",
"hcversion": "3.2.3",
"license": "MIT",
"private": true,
"main": "public/electron.js",
"homepage": ".",
"repository": "https://github.com/celstark/omst_honeycomb",
"dependencies": {
"@brown-ccv/behavioral-task-trials": "^2.0.0",
"@fortawesome/fontawesome-free": "^6.4.2",
"@jspsych/plugin-fullscreen": "^1.2.0",
"@jspsych/plugin-html-button-response": "^1.1.1",
"@jspsych/plugin-html-keyboard-response": "^1.1.1",
"@jspsych/plugin-canvas-button-response": "^1.1.1",
"@jspsych/plugin-canvas-keyboard-response": "^1.1.1",
"@jspsych/plugin-image-button-response": "^1.1.1",
"@jspsych/plugin-image-keyboard-response": "^1.1.2",
"@jspsych/plugin-instructions": "^1.1.3",
"@jspsych/plugin-preload": "^1.1.2",
"@jspsych/plugin-animation": "^1.1.2",
"@jspsych/plugin-categorize-image": "^1.1.1",
"@jspsych/plugin-survey-html-form": "^1.0.2",
"@jspsych/plugin-survey-multi-choice": "^1.1.1",
"@jspsych/plugin-survey-multi-select": "^1.1.1",
"@jspsych/plugin-video-button-response": "^1.1.1",
"@jspsych/plugin-video-keyboard-response": "^1.1.2",
"bootstrap": "^5.2.0-beta1",
"electron-log": "^4.4.8",
"electron-squirrel-startup": "^1.0.0",
"execa": "^8.0.1",
"firebase": "^10.1.0",
"fs-extra": "^11.1.1",
"jquery": "^3.4.1",
"jspsych": "^7.2.3",
"lodash": "^4.17.19",
"react": "^16.8.6",
"react-bootstrap": "^1.6.1",
"react-dom": "^16.8.6",
"react-scripts": "5.0.1",
"wait-on": "^7.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@electron-forge/cli": "^6.0.0-beta.64",
"@electron-forge/maker-deb": "^6.0.0-beta.64",
"@electron-forge/maker-dmg": "^6.0.0-beta.64",
"@electron-forge/maker-squirrel": "^6.0.0-beta.64",
"@inquirer/prompts": "^3.0.3",
"chai": "^4.2.0",
"concurrently": "^8.2.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.2.0",
"dotenv-cli": "^7.0.0",
"electron": "^27.0.1",
"eslint": "^8.38.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"firebase-admin": "^11.0.1",
"firebase-tools": "^12.4.7",
"husky": "^8.0.3",
"lint-staged": "^15.0.2",
"require-context.macro": "^1.1.1",
"wait-on": "^7.0.1"
},
"scripts": {
"postinstall": "node version.mjs && npm run rebuild",
"cli": "node cli.mjs",
"commit": "git-cz",
"lint": "eslint .",
"format": "eslint --fix .",
"test": "react-scripts test",
"prepare": "husky install",
"firebase:emulators:start": "firebase emulators:start --import emulator_data",
"firebase:emulators:save": "firebase emulators:export emulator_data",
"start": "cross-env BROWSER=\"none\" NODE_PATH=\"./src\" IMAGE_INLINE_SIZE_LIMIT=0 react-scripts start",
"start:browser": "cross-env IMAGE_INLINE_SIZE_LIMIT=0 react-scripts start",
"start:electron": "wait-on http://127.0.0.1:3000 && cross-env ELECTRON_START_URL=\"http://127.0.0.1:3000\" electron .",
"dev": "concurrently -k npm:start npm:start:electron",
"dev:firebase": "dotenv -e env/.env.firebase npm run start:browser",
"dev:home": "dotenv -e env/.env.home npm run dev",
"dev:home:video": "dotenv -e env/.env.home dotenv -e env/.env.video npm run dev",
"dev:clinic": "dotenv -e env/.env.clinic npm run dev",
"dev:clinic:video": "dotenv -e env/.env.clinic dotenv -e env/.env.video npm run dev",
"dev:turk-prolific": "dotenv -e env/.env.turk-prolific npm run dev",
"prebuild": "electron-rebuild",
"build": "cross-env CI=false react-scripts build",
"build:home": "dotenv -e env/.env.home npm run build",
"build:home:video": "dotenv -e env/.env.home dotenv -e env/.env.video npm run build",
"build:clinic": "dotenv -e env/.env.clinic npm run build",
"build:clinic:video": "dotenv -e env/.env.clinic dotenv -e env/.env.video npm run build",
"build:firebase": "dotenv -e env/.env.firebase npm run build",
"build:turk-prolific": "dotenv -e env/.env.turk-prolific npm run build",
"rebuild": "electron-rebuild",
"package:windows": "react-scripts build && electron-forge make --arch x64 --targets @electron-forge/maker-squirrel",
"package:linux": "react-scripts build && electron-forge make --arch x64 --targets @electron-forge/maker-deb",
"package:mac-intel": "react-scripts build && electron-forge make --arch x64 --targets @electron-forge/maker-dmg",
"package:mac": "react-scripts build && electron-forge make --arch universal --targets @electron-forge/maker-dmg"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"forge": {
"packagerConfig": {
"asar": true,
"icon": "./public/MST"
},
"makers": [
{
"name": "@electron-forge/maker-deb",
"config": {
"icon": "./assets/icons/mac/icon.icns"
}
},
{
"name": "@electron-forge/maker-dmg",
"config": {
"icon": "./public/icon_orig.icns",
"overwrite": true
},
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-squirrel",
"config": {
"iconUrl": "https://raw.githubusercontent.com/celstark/omst_honeycomb/oMST/public/MST.ico",
"setupIcon": "./public/MST.ico"
}
}
]
}
},
"lint-staged": {
"**/*.{js,jsx}": [
"eslint --fix"
]
}
}