This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.6 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
{
"name": "tsst",
"description": "TSST Task",
"author": {
"name": "Brown CCV",
"email": "[email protected]",
"url": "ccv.brown.edu"
},
"version": "1.3.0",
"license": "MIT",
"private": true,
"main": "public/electron.js",
"homepage": ".",
"repository": "https://github.com/brown-ccv/task-tsst",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.9.0",
"bootstrap": "^4.3.1",
"cross-env": "^6.0.3",
"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",
"jquery": "^3.4.1",
"jspsych-react": "^0.2.2",
"lodash": "^4.17.11",
"popper.js": "^1.16.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-scripts": "3.0.1",
"typescript": "^3.6.4"
},
"scripts": {
"postinstall": "node version.js && npm run rebuild",
"start": "cross-env BROWSER=none NODE_PATH=./src react-scripts start",
"test": "react-scripts test",
"prebuild": "npm run 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": "ELECTRON_START_URL=http://localhost:3000 electron .",
"dev": "concurrently --kill-others \"npm:start\" \"sleep 5 && npm run electron-dev\"",
"dev:home": "REACT_APP_AT_HOME=\"true\" npm run dev",
"dev:clinic": "REACT_APP_AT_HOME=\"false\" 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=\"false\" npm run build",
"build:home": "REACT_APP_AT_HOME=\"true\" 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-plugin-macros": "^2.6.1",
"chai": "^4.2.0",
"concurrently": "^4.1.2",
"electron": "6.1.1",
"electron-packager": "^14.0.6",
"electron-rebuild": "^1.8.6",
"eslint": "^5.16.0",
"eslint-config-standard": "^14",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^9.2.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.14.3",
"eslint-plugin-standard": "^4.0.1",
"execa": "^4.0.3",
"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"
}
}