forked from ncvescera/provaactions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 3.46 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
{
"name": "react-pywebview-boilerplate",
"version": "0.1.0",
"private": true,
"homepage": "./",
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"eslint": "^8.41.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"sass": "^1.43.4",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"dev": "react-scripts start",
"frontend:dev": "BUILD_PATH='./gui' react-scripts build",
"frontend:prod": "BUILD_PATH='./gui' react-scripts build",
"frontend:test": "react-scripts test",
"frontend:eject": "react-scripts eject",
"build": "export NODE_OPTIONS='--openssl-legacy-provider' && yarn run clean && yarn 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",
"clean": "run-script-os",
"clean:default": "rm -rf gui 2>/dev/null; rm -rf build 2>/dev/null; rm -rf dist 2>/dev/null; ",
"clean:windows": "if exist gui rd /S /Q gui & if exist build rd /S /Q build & if exist dist rd /S /Q dist",
"cleanall": "yarn run clean && run-script-os",
"cleanall:default": "rm -rf node_modules 2>/dev/null; rm -rf venv-pywebview 2>/dev/null; ",
"cleanall:windows": "if exist node_modules rd /S /Q node_modules & if exist venv-pywebview rd /S /Q venv-pywebview",
"init": "yarn install && run-script-os",
"init:windows": "virtualenv -p python venv-pywebview && .\\venv-pywebview\\Scripts\\pip install -r requirements.txt",
"init:linux": "virtualenv -p python3 venv-pywebview && if [[ -z \"${KDE_FULL_SESSION}\" ]]; then yarn run init:qt5; else yarn run init:gtk; fi",
"init:default": "virtualenv -p python3 venv-pywebview && ./venv-pywebview/bin/pip install -r requirements.txt",
"init:qt5": "./venv-pywebview/bin/pip install pyqt5 pyqtwebengine -r requirements.txt",
"init:gtk": "./venv-pywebview/bin/pip install pycairo PyGObject -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",
"init:docs": "./venv-pywebview/bin/pip install pylama yapf",
"start": "export NODE_OPTIONS='--openssl-legacy-provider' && yarn run frontend:dev && run-script-os",
"start:windows": ".\\venv-pywebview\\Scripts\\python src\\index.py",
"start:default": "./venv-pywebview/bin/python src/index.py",
"pylintcheck": "pylama -f pylint ./src/",
"pylint": "yapf --recursive -i ./src/",
"lint": "eslint \"src/**\""
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.32.2",
"prettier": "2.8.8",
"run-script-os": "^1.1.6"
}
}