-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
68 lines (68 loc) · 2.75 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
{
"name": "pywebview-react-boilerplate",
"version": "1.0.0",
"description": "A simple boilerplate to get started with pywebview and React",
"source": "src/index.html",
"scripts": {
"build": "npm run clean && npm run frontend:prod && run-script-os",
"build:macos": "./.venv/bin/python build-macos.py py2app",
"build:windows": ".\\.venv\\Scripts\\pyinstaller build-windows.spec",
"build:linux": "./.venv/bin/pyinstaller build-linux.spec",
"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 . --dist-dir gui",
"frontend:prod": "parcel build src/index.html --public-url . --no-source-maps --dist-dir gui",
"init": "npm install && run-script-os",
"init:windows": "python -m venv .venv && .\\.venv\\Scripts\\pip install -r requirements.txt",
"init:linux": "python3 -m venv .venv && if [[ -z \"${KDE_FULL_SESSION}\" ]]; then npm run init:qt5; else npm run init:gtk; fi",
"init:default": "python -m venv .venv && .venv/bin/pip install -r requirements.txt",
"init:qt5": ".venv/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/bin/pip install pycairo pygobject -r requirements.txt",
"start": "npm run frontend:dev && run-script-os",
"start:windows": ".\\.venv\\Scripts\\python src\\index.py",
"start:default": "./.venv/bin/python src/index.py"
},
"repository": {
"type": "git",
"url": "git+https://github.com/r0x0r/pywebview-react-boilerplate.git"
},
"keywords": [
"pywebview",
"react",
"python",
"javascript"
],
"author": "Roman Sirokov",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/r0x0r/pywebview-react-boilerplate/issues"
},
"homepage": "https://github.com/r0x0r/pywebview-react-boilerplate#readme",
"dependencies": {
"@emotion/react": "^11.11.3",
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.15.10",
"@mui/material": "^5.15.10",
"@mui/x-data-grid": "^6.19.4",
"@mui/x-date-pickers": "^6.19.4",
"@types/leaflet": "^1.9.8",
"dayjs": "^1.11.10",
"leaflet": "^1.9.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-leaflet": "^4.2.1"
},
"devDependencies": {
"@parcel/transformer-sass": "^2.12.0",
"parcel": "^2.12.0",
"process": "^0.11.10",
"run-script-os": "^1.1.6",
"sass": "^1.63.6",
"typescript": "^5.1.6"
},
"overrides": {
"@parcel/watcher": "2.1.0"
}
}