-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
61 lines (61 loc) · 2.65 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
{
"name": "pywebview-vue-app",
"description": "A simple boilerplate to start application with pywebview and Vue 3",
"version": "1.0.0",
"source": "./public/index.html",
"scripts": {
"init": "yarn && run-script-os && yarn no-cache",
"init:win32": "py -m venv webview-env && .\\webview-env\\Scripts\\python -m pip install -r requirements.txt",
"init:linux": "python3 -m venv webview-env && if [[ -z \"${KDE_FULL_SESSION}\" ]]; then yarn init:qt; else yarn init:gtk; fi",
"init:qt": "./webview-env/bin/python -m 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 python3-gi python3-gi-cairo gir1.2-webkit2-4.0 && ./webview-env/bin/python -m pip install pycairo PyGObject -r requirements.txt",
"clean": "shx rm -rf __pycache__ src/__pycache__ .parcel-cache dist",
"deepclean": "shx rm -rf __pycache__ src/__pycache__ .parcel-cache build dist publish",
"build": "yarn clean && yarn vue-build && run-script-os",
"build:win32": ".\\webview-env\\Scripts\\pyinstaller windows.spec",
"build:linux": "./webview-env/bin/pyinstaller linux.spec",
"vue-dev": "parcel watch",
"vue-build": "parcel build --public-url . --no-source-maps",
"vue-serve": "parcel serve",
"vue-lint": "eslint \"src/**/*.{js,vue}\"",
"install-dep": "run-script-os",
"install-dep:win32": ".\\webview-env\\Scripts\\python -m pip install",
"install-dep:linux": "./webview-env/bin/python -m pip install",
"start": "yarn clean && concurrently --kill-others -n VUE,APP -c bgGreen.bold,bgBlue.bold \"yarn vue-dev\" \"yarn serve\"",
"serve": "run-script-os",
"serve:win32": ".\\webview-env\\Scripts\\python -X dev .\\src\\main.py",
"serve:linux": "./webview-env/bin/python -X dev ./src/main.py",
"no-cache": "run-script-os",
"no-cache:win32": ".\\webview-env\\Scripts\\python utils.py --no-cache",
"no-cache:linux": "./webview-env/bin/python utils.py --no-cache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Hyuto/pywebview-vue.git"
},
"keywords": [
"pywebview",
"vue",
"python",
"javascript"
],
"author": "Wahyu Setianto",
"license": "MIT",
"bugs": {
"url": "https://github.com/Hyuto/pywebview-vue/issues"
},
"homepage": "https://github.com/Hyuto/pywebview-vue#readme",
"devDependencies": {
"@parcel/transformer-vue": "2.3.1",
"concurrently": "^7.0.0",
"eslint": "^8.9.0",
"eslint-plugin-vue": "^8.4.1",
"parcel": "^2.3.1",
"run-script-os": "^1.1.6",
"sass": "^1.49.8",
"shx": "^0.3.4"
},
"dependencies": {
"vue": "^3.2.31"
}
}