This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 2.34 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
{
"name": "argo-editor",
"version": "1.0.0",
"description": "An asset editor for constructing interactive tours",
"main": "index.js",
"scripts": {
"build": "npm run clean && npm run frontend:prod && run-script-os",
"build:macos": "./venv-pywebview/bin/python build-macos.py py2app",
"build:windows": ".\\venv-pywebview\\Scripts\\pyinstaller build-windows.spec",
"build:linux": "./venv-pywebview/bin/pyinstaller build-linux.spec --onefile",
"clean": "run-script-os",
"clean:default": "rm -rf dist 2>/dev/null; rm -rf gui 2>/dev/null; rm -rf build 2>/dev/null; ",
"clean:windows": "if exist dist rd /S /Q dist & if exist build rd /S /Q build & if exist gui rd /S /Q gui",
"dev": "parcel serve src/index.html",
"frontend:dev": "parcel build src/index.html --public-url . -d gui",
"frontend:prod": "parcel build src/index.html --public-url . --no-source-maps -d gui",
"init": "npm install && run-script-os",
"init:windows": "python -m virtualenv -p python venv-pywebview && .\\venv-pywebview\\Scripts\\pip install -r requirements.txt",
"init:linux": "virtualenv -p python3 venv-pywebview && ./venv-pywebview/bin/python -m pip install --upgrade pip && if [[ -z \"${KDE_FULL_SESSION}\" ]]; then npm run init:qt5; else npm run init:gtk; fi",
"init:default": "virtualenv -p python3 venv-pywebview && ./venv-pywebview/bin/python -m pip install --upgrade pip && ./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": "npm run frontend:dev && run-script-os",
"start:windows": ".\\venv-pywebview\\Scripts\\python src\\index.py",
"start:default": "./venv-pywebview/bin/python src/index.py"
},
"keywords": [
"pywebview",
"react",
"python",
"javascript",
"machine learning"
],
"license": "BSD-3-Clause",
"dependencies": {
"react": "16.12.0",
"react-dom": "16.12.0",
"react-feather": "^2.0.9",
"react-graph-vis": "^1.0.7",
"react-router-dom": "^5.2.0"
},
"devDependencies": {
"parcel-bundler": "1.12.4",
"run-script-os": "1.0.7",
"sass": "1.25.0",
"typescript": "^3.9.9"
}
}