-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
196 lines (196 loc) · 6.49 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
{
"name": "nwb-guide",
"productName": "NWB GUIDE",
"version": "1.0.4",
"description": "NWB GUIDE is a desktop app that provides a no-code user interface for converting neurophysiology data to NWB.",
"main": "./build/main/index.js",
"engine": {
"node": ">=18"
},
"scripts": {
"start": "electron-vite dev --outDir build",
"postinstall": "electron-builder install-app-deps",
"server": "cd src/pyflask && python -m flask run --port 4242",
"build": "npm run build:app",
"echo": "python -c \"print('hello')\"",
"build:app": "electron-vite build --outDir build",
"build:win": "npm run build && npm run build:flask && npm run build:electron:win",
"build:mac": "npm run build && npm run build:flask && npm run build:electron:mac",
"build:linux": "npm run build && npm run build:flask && npm run build:electron:linux",
"build:flask": "python -m PyInstaller nwb-guide.spec --log-level DEBUG --clean --noconfirm --distpath ./build/flask",
"build:electron:win": "electron-builder build --win --publish never",
"build:electron:mac": "electron-builder build --mac --publish never",
"build:electron:linux": "electron-builder build --linux --publish never",
"test": "npm run test:app && npm run test:server",
"test:app": "vitest run --exclude \"**/e2e/*.test.ts\"",
"test:tutorial": "vitest tutorial",
"test:pipelines": "vitest pipelines",
"test:progress": "vitest progress",
"test:metadata": "vitest metadata",
"test:server": "pytest src/pyflask/tests/ -s -vv",
"wait5s": "node -e \"setTimeout(() => process.exit(0),5000)\"",
"test:executable": "concurrently -n EXE,TEST --kill-others --success first \"node tests/testPyinstallerExecutable.js --port 3434 --forever\" \"npm run wait5s && pytest src/pyflask/tests/ -s --target http://localhost:3434\"",
"test:coverage": "npm run coverage:app && npm run coverage:server",
"coverage:app": "npm run test:app -- --coverage",
"coverage:tutorial": "npm run test:tutorial -- --coverage",
"coverage:server": "pytest src/pyflask/tests/ -s --cov=pyflask --cov-report=xml",
"deploy:win": "npm run build && npm run build:flask && npm run deploy:electron:win",
"deploy:mac": "npm run build && npm run build:flask && npm run deploy:electron:mac",
"deploy:linux": "npm run build && npm run build:flask && npm run deploy:electron:linux",
"deploy:electron:win": "electron-builder build --win --publish always",
"deploy:electron:mac": "electron-builder build --mac --publish always",
"deploy:electron:linux": "electron-builder build --linux --publish always",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "npx chromatic",
"build:docs": "sphinx-build -b html docs/ _build/html/"
},
"lint-staged": {
"./**/*.{html|css|js|md|yml}": [
"npm run format"
]
},
"config": {},
"repository": {
"type": "git",
"url": "git+https://github.com/catalystneuro/nwb-guide.git"
},
"build": {
"appId": "com.catalystneuro.nwbguide",
"artifactName": "NWB-GUIDE-${arch}.${ext}",
"generateUpdatesFilesForAllChannels": true,
"afterSign": "./notarize.js",
"fileAssociations": [
{
"ext": "nwb",
"name": "NWB File",
"role": "Viewer"
}
],
"files": [
"src",
"schemas",
"build",
"*.json",
"!**/*.ts",
"!src/**/*.js"
],
"win": {
"asar": false,
"target": "nsis",
"icon": "src/electron/frontend/assets/app-icon/logo-guide-draft.ico",
"requestedExecutionLevel": "requireAdministrator"
},
"mac": {
"asar": true,
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "src/electron/frontend/assets/img/logo-guide-draft.png",
"darkModeSupport": false,
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.inherit.plist",
"entitlementsInherit": "entitlements.mac.inherit.plist",
"extraResources": [
{
"from": "./build/flask/nwb-guide",
"to": "flask"
}
]
},
"linux": {
"asar": true,
"target": "AppImage",
"icon": "src/electron/frontend/assets/img/logo-guide-draft.png",
"extraResources": [
{
"from": "./build/flask/nwb-guide",
"to": "flask"
}
]
},
"nsis": {
"createDesktopShortcut": "always",
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "src/electron/frontend/assets/app-icon/logo-guide-draft.ico"
},
"publish": {
"provider": "github"
}
},
"keywords": [],
"author": {
"name": "CatalystNeuro"
},
"license": "MIT",
"dependencies": {
"@electron/remote": "^2.0.11",
"@fortawesome/fontawesome-free": "^5.15.3",
"@sweetalert2/theme-bulma": "^4.0.3",
"@vitest/coverage-v8": "^1.6.0",
"chokidar": "^3.5.3",
"concurrently": "^7.6.0",
"dandi": "^0.0.6",
"find-free-port": "^2.0.0",
"fomantic-ui": "^2.8.8",
"fs-extra": "^10.0.0",
"handsontable": "^12.3.3",
"jsonschema": "^1.4.1",
"lit": "^2.6.1",
"lottie-web": "^5.9.5",
"notyf": "^3.9.0",
"sweetalert2": "^11.6.13",
"tippy.js": "^6.3.7",
"url": "^0.11.3",
"v8-compile-cache": "^2.3.0"
},
"devDependencies": {
"@electron-toolkit/utils": "^2.0.1",
"@electron/notarize": "^2.2.0",
"@modyfi/vite-plugin-yaml": "^1.0.4",
"@storybook/addon-essentials": "^7.6.10",
"@storybook/addon-links": "^7.6.10",
"@storybook/blocks": "^7.6.10",
"@storybook/web-components": "^7.6.10",
"@storybook/web-components-vite": "^7.6.10",
"chromatic": "^6.17.1",
"electron": "^26.2.2",
"electron-builder": "^24.6.4",
"electron-packager": "^17.1.2",
"electron-updater": "^6.1.4",
"electron-vite": "^1.0.28",
"jsdom": "^22.0.0",
"prettier": "^2.3.2",
"puppeteer": "^22.15.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^7.6.10",
"vite": "^4.1.4",
"vitest": "^1.6.0"
},
"optionalDependencies": {
"win-node-env": "^0.4.0"
},
"bugs": {
"url": "https://github.com/catalystneuro/nwb-guide/issues"
},
"readme": "ERROR: No README data found!",
"homepage": "https://github.com/catalystneuro/nwb-guide#readme",
"_id": "[email protected]"
}