generated from brown-ccv/honeycomb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
138 lines (138 loc) · 4.89 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
{
"name": "my_honeycomb_app",
"description": "all-in-one task starter app with jsPsych + React + Electron + psiturk ",
"author": {
"name": "Ford",
"email": "[email protected] ",
"url": ""
},
"version": "2.3.1",
"license": "MIT",
"private": true,
"main": "public/electron.js",
"homepage": ".",
"repository": "https://github.com/brown-ccv/honeycomb",
"dependencies": {
"@brown-ccv/behavioral-task-trials": "^2.0.0",
"@fortawesome/fontawesome-free": "^5.9.0",
"bootstrap": "^5.2.0-beta1",
"electron-log": "^4.4.8",
"electron-squirrel-startup": "^1.0.0",
"event-marker": "git+https://github.com/brown-ccv/event-marker.git",
"execa": "^5.0.0",
"firebase": "^9.8.4",
"fs-extra": "^8.1.0",
"jquery": "^3.4.1",
"jspsych": "^7.2.3",
"@jspsych/plugin-html-keyboard-response": "^1.1.1",
"@jspsych/plugin-html-button-response": "^1.1.1",
"@jspsych/plugin-image-keyboard-response": "^1.1.1",
"@jspsych/plugin-survey-multi-select": "^1.1.1",
"lodash": "^4.17.19",
"popper.js": "^1.16.0",
"react": "^16.8.6",
"react-bootstrap": "^1.6.1",
"react-dom": "^16.8.6",
"react-scripts": "5.0.1",
"typescript": "^3.6.4"
},
"scripts": {
"commit": "git-cz",
"postinstall": "node version.js && npm run rebuild",
"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",
"test": "react-scripts test",
"prebuild": "electron-rebuild",
"build": "react-scripts build",
"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": "react-scripts build && electron-forge make --arch x64 --targets @electron-forge/maker-dmg",
"rebuild": "electron-rebuild",
"eject": "react-scripts eject",
"electron": "electron .",
"electron-dev": "cross-env ELECTRON_START_URL=\"http://localhost:3000\" electron .",
"firebase:dev": "firebase emulators:start --import emulator_data",
"firebase:savedev": "firebase emulators:export emulator_data",
"firebase:download": "dotenv -e env/.env.firebase-download node download-response-data.js",
"dev": "concurrently --kill-others \"npm:start\" \"sleep 10 && npm run electron-dev\"",
"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:video": "dotenv -e env/.env.clinic dotenv -e env/.env.video npm run dev",
"dev:clinic": "dotenv -e env/.env.clinic npm run dev",
"dev:firebase": "dotenv -e env/.env.firebase npm run dev",
"dev:turk-prolific": "dotenv -e env/.env.turk-prolific npm run dev",
"build:turk-prolific": "dotenv -e env/.env.turk-prolific npm run build",
"build:home:video": "dotenv -e env/.env.home dotenv -e env/.env.video npm run build",
"build:clinic:video": "dotenv -e env/.env.clinic dotenv -e env/.env.video npm run build",
"build:home": "dotenv -e env/.env.home npm run build",
"build:clinic": "dotenv -e env/.env.clinic npm run build",
"build:firebase": "dotenv -e env/.env.firebase npm run build"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"forge": {
"packagerConfig": {
"asar": true
},
"makers": [
{
"name": "@electron-forge/maker-deb",
"config": {
"icon": "./assets/icons/mac/icon.icns"
}
},
{
"name": "@electron-forge/maker-dmg",
"config": {
"icon": "./assets/icons/mac/icon.icns",
"overwrite": true
},
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-squirrel",
"config": {
"iconUrl": "https://raw.githubusercontent.com/brown-ccv/honeycomb/main/assets/icons/win/icon.ico"
}
}
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"babel-plugin-macros": "^2.6.1",
"chai": "^4.2.0",
"concurrently": "^4.1.2",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.2.0",
"dotenv": "^8.2.0",
"dotenv-cli": "^4.0.0",
"firebase-tools": "^11.0.1",
"require-context.macro": "^1.1.1",
"@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",
"electron": "19.0.8"
},
"babel": {
"plugins": [
"macros"
]
}
}