-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 3.82 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 3.82 KB
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
{
"packageManager": "pnpm@10.32.1",
"engines": {
"node": ">=24 <25"
},
"name": "mtga-tauri",
"type": "module",
"private": true,
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"app:fix": "pnpm postinstall && eslint . --fix && prettier . --write && vue-tsc -p .nuxt/tsconfig.app.json --noEmit",
"app:check": "pnpm postinstall && prettier . --check && eslint . && vue-tsc -p .nuxt/tsconfig.app.json --noEmit",
"gate": "node ./scripts/ci-gate.mjs",
"app:gate": "pnpm gate -- app",
"rs:check": "node ./scripts/rs-check.mjs",
"rs:gate": "pnpm gate -- rs",
"py:check": "cd python-src && concurrently \"uv run pyright\" \"uv run ruff check --fix .\"",
"py:gate": "pnpm gate -- py",
"dev:py": "cd python-src && cross-env DEV_SERVER=http://localhost:3000 MTGA_SRC_TAURI_DIR=../src-tauri uv run python -m mtga_app",
"dev:all": "concurrently -k \"pnpm dev\" \"pnpm dev:py\"",
"pytauri:install:win": "cd src-tauri && set PYTAURI_STANDALONE=1 && uv pip install --exact --python \"pyembed\\\\python\\\\python.exe\" --reinstall-package mtga-app \"..\\\\python-src\"",
"pytauri:install:mac": "cd src-tauri && PYTAURI_STANDALONE=1 uv pip install --exact --python \"./pyembed/python/bin/python3\" --reinstall-package mtga-app \"../python-src\"",
"pyembed:prune": "node ./scripts/prune-pyembed.mjs",
"pyembed:prune:dry-run": "node ./scripts/prune-pyembed.mjs --dry-run",
"tauri:bundle": "node -e \"console.log('Use pnpm tauri:bundle:win or pnpm tauri:bundle:mac')\"",
"tauri:bundle:win": "pnpm pyembed:prune && for %I in (src-tauri\\\\pyembed\\\\python\\\\python.exe) do set PYO3_PYTHON=%~fI && pnpm -- tauri build",
"tauri:bundle:mac": "pnpm pyembed:prune && export PYO3_PYTHON=$(realpath ./src-tauri/pyembed/python/bin/python3) && export RUSTFLAGS=\"-C link-arg=-Wl,-rpath,@executable_path/../Resources/lib -L $(realpath ./src-tauri/pyembed/python/lib)\" && install_name_tool -id '@rpath/libpython3.13.dylib' ./src-tauri/pyembed/python/lib/libpython3.13.dylib && pnpm -- tauri build",
"tauri:bundle:win:ci": "for %I in (src-tauri\\\\pyembed\\\\python\\\\python.exe) do set PYO3_PYTHON=%~fI && pnpm -- tauri build -- --profile bundle-release",
"tauri:bundle:mac:ci": "export PYO3_PYTHON=$(realpath ./src-tauri/pyembed/python/bin/python3) && export RUSTFLAGS=\"-C link-arg=-Wl,-rpath,@executable_path/../Resources/lib -L $(realpath ./src-tauri/pyembed/python/lib)\" && install_name_tool -id '@rpath/libpython3.13.dylib' ./src-tauri/pyembed/python/lib/libpython3.13.dylib && pnpm -- tauri build -- --profile bundle-release",
"gitflow:setup": "node ./scripts/gitflow.mjs setup",
"git:sync": "node ./scripts/gitflow.mjs sync",
"release:push": "node ./scripts/gitflow.mjs finish"
},
"dependencies": {
"@codemirror/commands": "^6.10.2",
"@codemirror/lang-markdown": "^6.5.0",
"@codemirror/language": "^6.12.2",
"@codemirror/merge": "^6.12.0",
"@codemirror/search": "^6.6.0",
"@codemirror/state": "^6.5.4",
"@codemirror/view": "^6.39.16",
"@tauri-apps/api": "^2.10.1",
"@tauri-apps/plugin-shell": "^2.3.5",
"dompurify": "^3.3.3",
"nuxt": "^4.4.2",
"tauri-plugin-pytauri-api": "^0.8.0"
},
"devDependencies": {
"@nuxt/eslint": "^1.15.2",
"@tailwindcss/vite": "^4.2.2",
"@tauri-apps/cli": "^2.10.1",
"@types/node": "^25.0.3",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"daisyui": "^5.5.19",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-better-tailwindcss": "^3.8.0",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-yml": "^3.3.1",
"prettier": "^3.8.1",
"tailwindcss": "^4.2.2",
"typescript": "^5.7.3",
"vue-tsc": "^2.2.8",
"yaml-eslint-parser": "^2.0.0"
}
}