|
| 1 | +{ |
| 2 | + "name": "pyflow", |
| 3 | + "private": true, |
| 4 | + "version": "1.0.0", |
| 5 | + "description": "pyflow(常用Python脚本集的界面执行器, 没啥大用...)", |
| 6 | + "author": "luo0412", |
| 7 | + "scripts": { |
| 8 | + "init": "npm install && run-script-os", |
| 9 | + "init:macos": "python3 pyapp/spec/getSpec.py && python3 -m venv pyenv && ./pyenv/bin/pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r ./pyapp/requirements.txt", |
| 10 | + "init:windows": "python pyapp\\spec\\getSpec.py && python -m venv pyenv\\pyenv && .\\pyenv\\pyenv\\Scripts\\pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r .\\pyapp\\requirements.txt", |
| 11 | + "init:cef": "npm install && python pyapp\\spec\\getSpec.py && python -m venv pyenv\\pyenvCEF && .\\pyenv\\pyenvCEF\\Scripts\\pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r .\\pyapp\\requirements.txt && .\\pyenv\\pyenvCEF\\Scripts\\pip install -i https://pypi.tuna.tsinghua.edu.cn/simple cefpython3 && shx cp .\\pyapp\\hook-cefpython3.py .\\pyenv\\pyenvCEF\\Lib\\site-packages\\PyInstaller\\hooks", |
| 12 | + "initfix": "pip install paramiko --target=./pyenv/pyenv/Lib/site-packages", |
| 13 | + "initfix:cef": "pip install paramiko --target=./pyenv/pyenvCEF/Lib/site-packages", |
| 14 | + "start": "run-script-os", |
| 15 | + "start:macos": "./pyenv/bin/python -X dev ./pyapp/main.py", |
| 16 | + "start:windows": ".\\pyenv\\pyenv\\Scripts\\python -X dev .\\pyapp\\main.py", |
| 17 | + "start:cef": ".\\pyenv\\pyenvCEF\\Scripts\\python -X dev .\\pyapp\\mainCEF.py", |
| 18 | + "dev": "vite", |
| 19 | + "pre": "shx rm -rf build && vite build && run-script-os", |
| 20 | + "pre:macos": "./pyenv/bin/pyinstaller -w --clean ./pyapp/spec/macos-pre.spec", |
| 21 | + "pre:windows": ".\\pyenv\\pyenv\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-pre.spec", |
| 22 | + "pre:cef": "shx rm -rf buildCEF && vite build && .\\pyenv\\pyenvCEF\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-pre-cef.spec && shx mv .\\build\\windows-pre-cef .\\buildCEF\\windows-pre-cef", |
| 23 | + "pre:folder": "shx rm -rf build && vite build && .\\pyenv\\pyenv\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-folder-pre.spec", |
| 24 | + "pre:folder:cef": "shx rm -rf buildCEF && vite build && .\\pyenv\\pyenvCEF\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-folder-pre-cef.spec && shx mv .\\build\\windows-folder-pre-cef .\\buildCEF\\windows-folder-pre-cef", |
| 25 | + "build": "shx rm -rf build && vite build && run-script-os", |
| 26 | + "build:macos": "./pyenv/bin/pyinstaller -w --clean ./pyapp/spec/macos.spec", |
| 27 | + "build:windows": ".\\pyenv\\pyenv\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows.spec", |
| 28 | + "build:cef": "shx rm -rf buildCEF && vite build && .\\pyenv\\pyenvCEF\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-cef.spec && shx mv .\\build\\windows-pre-cef .\\buildCEF\\windows-pre-cef", |
| 29 | + "build:folder": "shx rm -rf build && vite build && .\\pyenv\\pyenv\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-folder.spec", |
| 30 | + "build:folder:cef": "shx rm -rf buildCEF && vite build && .\\pyenv\\pyenvCEF\\Scripts\\pyinstaller -w --clean .\\pyapp\\spec\\windows-folder-cef.spec && shx mv .\\build\\windows-folder-cef .\\buildCEF\\windows-folder-cef" |
| 31 | + }, |
| 32 | + "dependencies": { |
| 33 | + "ali-oss": "^6.17.1", |
| 34 | + "moment": "^2.29.3", |
| 35 | + "monaco-editor": "^0.33.0", |
| 36 | + "nanoid": "^4.0.0", |
| 37 | + "unplugin-vue-components": "^0.19.6", |
| 38 | + "vditor": "^3.8.15", |
| 39 | + "vue": "^3.2.25", |
| 40 | + "vue-router": "4" |
| 41 | + }, |
| 42 | + "devDependencies": { |
| 43 | + "@arco-design/web-vue": "^2.30.2", |
| 44 | + "@vitejs/plugin-vue": "^2.2.0", |
| 45 | + "run-script-os": "^1.1.6", |
| 46 | + "shx": "^0.3.4", |
| 47 | + "vite": "^2.8.0" |
| 48 | + } |
| 49 | +} |
0 commit comments