-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 2.17 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
{
"name": "SDT",
"version": "2.0.0",
"type": "module",
"description": "Sequence Demarcation Tool 2",
"main": "index.js",
"scripts": {
"build": "bun run clean && bun run frontend:build && python build.py",
"build:noclean": "bun run frontend:build && python build.py",
"clean": "node -e \"['build', 'gui'].forEach(d => require('fs').rmSync(d, { recursive: true, force: true }));\"",
"frontend:dev": "vite build --mode development --config ./vite.config.js",
"frontend:build": "vite build --mode production --config ./vite.config.js --minify --emptyOutDir",
"init": "npm install && run-script-os",
"init:windows": "virtualenv -p python venv-pywebview && .\\venv-pywebview\\Scripts\\pip install Cython && .\\venv-pywebview\\Scripts\\pip install -r requirements.txt",
"init:linux": "virtualenv -p python3 venv-pywebview && if [[ -z \"${KDE_FULL_SESSION}\" ]]; then npm run init:qt5; else npm run init:gtk; fi",
"init:default": "virtualenv -p python3.11 venv-pywebview && ./venv-pywebview/bin/pip install Cython && ./venv-pywebview/bin/pip install -r requirements.txt",
"init:qt5": "./venv-pywebview/bin/pip install pyqt5 pyqtwebengine -r requirements.txt",
"init:gtk": "sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev gir1.2-gtk-3.0 && ./venv-pywebview/bin/pip install pycairo pygobject -r requirements.txt",
"start": "bun run frontend:dev && run-script-os",
"start:windows": ".\\venv-pywebview\\Scripts\\python backend\\src\\app.py",
"start:default": "./venv-pywebview/bin/python backend/src/app.py"
},
"dependencies": {
"@vitejs/plugin-react": "^4.3.1",
"plotly.js-dist-min": "^2.34.0",
"react": "^18.2.0",
"react-aria-components": "^1.2.0",
"react-dom": "^18.2.0",
"react-plotly.js": "^2.6.0",
"tinycolor2": "^1.6.0",
"vite": "^5.4.0"
},
"devDependencies": {
"@types/plotly.js-dist-min": "^2.3.4",
"@types/react": "^18.2.38",
"@types/react-dom": "^18.2.17",
"@types/react-plotly.js": "^2.6.3",
"@types/tinycolor2": "^1.4.6",
"bun-types": "latest",
"prettier": "3.2.5",
"run-script-os": "^1.1.6",
"sass": "^1.63.6",
"typescript": "^5.1.6"
}
}