Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (37 loc) · 2.21 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (37 loc) · 2.21 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
{
"name": "memory-pak",
"private": true,
"type": "module",
"packageManager": "bun@1.4.2",
"scripts": {
"setup": "rustup target add wasm32-unknown-unknown && cargo install wasm-pack --version 0.14.0 --locked && cargo install tauri-cli --version 2.11.1 --locked && bun install --cwd frontend --frozen-lockfile && bun install --cwd site --frozen-lockfile",
"tauri": "cd crates/memory_pak_tauri && cargo tauri",
"fmt": "cargo fmt --all",
"fmt:check": "cargo fmt --all -- --check",
"lint": "cargo clippy --workspace --all-targets --all-features -- -D warnings",
"test": "cargo test --workspace --all-features",
"bench": "cargo run --release -p memory_pak_core --example bench",
"check:rust": "cargo check --workspace --all-features && cargo check -p memory_pak_wasm --target wasm32-unknown-unknown",
"check:frontend": "bun run --cwd frontend test && bun run --cwd frontend check",
"check:site": "bun run --cwd site check",
"verify": "bun run fmt:check && bun run lint && bun run test && bun run check:rust && bun run check:frontend && bun run check:site && bun run build:web && bun run build:site",
"verify:full": "bun run verify && bun run --cwd frontend e2e && bun run build:desktop",
"dev:web": "bun run --cwd frontend dev",
"dev:site": "bun run --cwd site dev",
"dev:desktop": "bun run tauri -- dev --no-default-features",
"dev:android": "bun run tauri -- android dev --no-default-features",
"dev:tui": "cargo run -p memory_pak_tui",
"build:web": "bun run --cwd frontend build",
"build:site": "bun run --cwd site build",
"build:pages": "bun run build:web && bun run build:site && bun scripts/publish-pages.mts",
"build:desktop": "bun run tauri -- build --no-bundle --ci",
"build:android": "bun run tauri -- android build",
"build:tui": "cargo build --release -p memory_pak_tui",
"package:desktop": "bun run tauri -- build",
"package:win": "bun run tauri -- build --bundles nsis,msi",
"package:mac": "bun run tauri -- build --bundles dmg",
"package:linux": "bun run tauri -- build --bundles deb && bun scripts/create-linux-portable.mts",
"android:init": "bun run tauri -- android init",
"ios:init": "bun run tauri -- ios init"
}
}