-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
127 lines (127 loc) · 4.66 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
{
"name": "honeycomb",
"description": "All-in-one task starter app with jsPsych + React + Electron + psiturk ",
"author": {
"name": "Brown CCV",
"email": "ccv-bot@brown.edu",
"url": "https://ccv.brown.edu"
},
"honeycombVersion": "",
"version": "3.4.1",
"repository": "https://github.com/brown-ccv/honeycomb",
"license": "MIT",
"private": true,
"main": "public/electron/main.js",
"homepage": ".",
"dependencies": {
"@fortawesome/fontawesome-free": "^6.4.2",
"@jspsych/plugin-audio-keyboard-response": "^1.1.3",
"@jspsych/plugin-call-function": "^1.1.0",
"@jspsych/plugin-fullscreen": "^1.2.0",
"@jspsych/plugin-html-button-response": "^1.1.1",
"@jspsych/plugin-html-keyboard-response": "^1.1.1",
"@jspsych/plugin-image-keyboard-response": "^1.1.2",
"@jspsych/plugin-initialize-camera": "^1.0.1",
"@jspsych/plugin-instructions": "^1.1.3",
"@jspsych/plugin-preload": "^1.1.2",
"@jspsych/plugin-survey": "^1.0.1",
"bootstrap": "^5.2.0-beta1",
"electron-log": "^5.0.0",
"electron-squirrel-startup": "^1.0.0",
"execa": "^8.0.1",
"firebase": "^10.11.0",
"fs-extra": "^11.1.1",
"jspsych": "^7.2.3",
"lodash": "^4.17.19",
"prop-types": "^15.8.1",
"react": "^16.8.6",
"react-bootstrap": "^1.6.1",
"react-dom": "^16.8.6",
"react-scripts": "5.0.1",
"serialport": "^12.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.20",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@electron-forge/cli": "^7.1.0",
"@electron-forge/maker-deb": "^7.1.0",
"@electron-forge/maker-dmg": "^7.1.0",
"@electron-forge/maker-squirrel": "^7.1.0",
"@electron-forge/maker-zip": "^7.1.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.1.0",
"@inquirer/prompts": "^3.0.3",
"concurrently": "^8.2.1",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.2.0",
"dotenv-cli": "^7.0.0",
"electron": "^31.0.2",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"firebase-admin": "^12.0.0",
"firebase-tools": "^13.1.0",
"husky": "^9.0.10",
"lint-staged": "^15.0.2",
"prettier": "^3.2.5",
"wait-on": "^7.2.0"
},
"scripts": {
"start": "cross-env BROWSER=\"none\" NODE_PATH=\"./src\" react-scripts start",
"start:browser": "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: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",
"dev:firebase": "dotenv -e env/.env.firebase npm run start:browser",
"firebase:emulators:start": "firebase emulators:start --import emulator_data",
"firebase:emulators:save": "firebase emulators:export emulator_data",
"prebuild": "npm run rebuild",
"build": "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": "npm run build && electron-forge make",
"package:windows": "npm run package -- --arch x64 --targets @electron-forge/maker-squirrel",
"package:linux": "npm run package -- --arch x64 --targets @electron-forge/maker-deb",
"package:mac": "npm run package -- --arch universal --targets @electron-forge/maker-dmg",
"cli": "node cli.mjs",
"commit": "git-cz",
"format": "prettier --write .",
"lint": "eslint .",
"postinstall": "node version.mjs && npm run rebuild",
"prepare": "husky"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 electron version",
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*": [
"prettier --ignore-unknown --write"
],
"**/*.{js,jsx}": [
"eslint --fix"
]
}
}