-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
119 lines (119 loc) · 4.61 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
{
"name": "effort",
"description": "all-in-one app with jsPsych + React + Electron + psiTurk",
"author": {
"name": "Wasita Mahaphanit (Brown) & Rashi Dhar (Brown CCV)",
"email": "[email protected]",
"url": "https://lnccbrown.com"
},
"version": "1.3.5",
"license": "MIT",
"private": true,
"main": "public/electron.js",
"homepage": ".",
"repository": "https://github.com/lnccbrown/task-effort",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.9.0",
"acorn": "^7.1.0",
"bootstrap": "^4.3.1",
"cross-env": "^6.0.3",
"dotenv": "^8.2.0",
"electron-devtools-installer": "^2.2.4",
"electron-log": "^3.0.9",
"electron-squirrel-startup": "^1.0.0",
"event-marker": "git+https://github.com/brown-ccv/event-marker.git",
"fibers": "^4.0.2",
"firebase": "^7.14.0",
"jquery": "^3.4.1",
"jspsych-react": "^0.2.2",
"lodash": "^4.17.11",
"node-sass": "^4.13.1",
"popper.js": "^1.16.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-iframe": "^1.8.0",
"react-scripts": "^3.3.0",
"sass": "^1.24.4",
"typescript": "^3.6.4",
"update-electron-app": "^1.5.0"
},
"scripts": {
"start": "cross-env BROWSER=none NODE_PATH=./src react-scripts start",
"start:browser": "react-scripts start",
"test": "react-scripts test",
"prebuild": "electron-rebuild",
"build": "react-scripts build",
"package:windows": "electron-packager . --platform win32 --arch x64 --icon ./assets/icons/win/icon.ico --out dist/ --overwrite --asar ",
"package:mac": "electron-packager . --platform darwin --arch x64 --out dist/ --icon ./assets/icons/mac/icon.icns --overwrite",
"package:linux": "electron-packager . --platform linux --arch x64 --icon ./assets/icons/mac/icon.icns --out dist/ --overwrite",
"postpackage:windows": "electron-installer-windows --src dist/%npm_package_name%-win32-x64/ --dest dist/installers/ --overwrite --homepage https://ccv.brown.edu/",
"postpackage:linux": "electron-installer-debian --src dist/${npm_package_name}-linux-x64/ --dest dist/installers/ --arch x64 --overwrite",
"installer:mac": "electron-installer-dmg ./dist/${npm_package_name}-darwin-x64/${npm_package_name}.app ${npm_package_name}-${npm_package_version} --out ./dist/installers/ --icon ./assets/icons/mac/icon.icns --overwrite",
"rebuild": "electron-rebuild",
"eject": "react-scripts eject",
"electron": "electron .",
"electron-dev": "cross-env ELECTRON_START_URL=http://localhost:3000 electron .",
"dev": "concurrently --kill-others \"npm:start\" \"delay 5 && npm run electron-dev\"",
"dev:prob": "dotenv -e env/.env.home-lncc npm run dev" ,
"dev:home": "REACT_APP_AT_HOME=\"true\" npm run dev",
"dev:clinic": "REACT_APP_AT_HOME=\"true\" npm run dev",
"dev:firebase": "dotenv -e env/.env.firebase npm run dev",
"build:win:home": "cross-env REACT_APP_AT_HOME=\"true\" npm run build",
"build:win:clinic": "cross-env REACT_APP_AT_HOME=\"true\" npm run build",
"build:home": "REACT_APP_AT_HOME=\"true\" npm run build",
"build:turk": "REACT_APP_FIREBASE=\"false\" REACT_APP_AT_HOME=\"true\" REACT_APP_TURK=\"true\" npm run build",
"build:firebase": "dotenv -e env/.env.firebase-lncc npm run build"
},
"eslintConfig": {
"extends": "react-app"
},
"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/preset-react": "^7.9.4",
"@typescript-eslint/eslint-plugin": "^2.15.0",
"@typescript-eslint/parser": "^2.15.0",
"babel-eslint": "^10.0.3",
"babel-plugin-macros": "^2.6.1",
"babel-plugin-transform-react-jsx": "^6.24.1",
"chai": "^4.2.0",
"concurrently": "^4.1.2",
"delay-cli": "^2.0.0",
"dotenv-cli": "^6.0.0",
"electron": "^7.2.4",
"electron-packager": "^14.0.6",
"electron-rebuild": "^1.11.0",
"eslint": "^6.8.0",
"eslint-config-react-app": "^5.1.0",
"eslint-config-standard": "^14",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.7.0",
"eslint-plugin-standard": "^4.0.1",
"require-context.macro": "^1.1.1"
},
"babel": {
"plugin": [
"macros"
]
},
"optionalDependencies": {
"electron-installer-debian": "^2.0.0",
"electron-installer-dmg": "^3.0.0",
"electron-installer-windows": "^2.0.0"
}
}