-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 4.74 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 4.74 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
{
"name": "local-dictation",
"version": "2026.9.1",
"description": "Local speech and language toolkit for notes. Dictate, transcribe meetings, translate text, and read notes aloud with on-device models.",
"private": true,
"license": "MIT",
"main": "main.js",
"type": "module",
"engines": {
"node": "^20.19.0 || ^22.13.0 || >=24"
},
"scripts": {
"build:sidecar": "node scripts/build-sidecar.mjs",
"build:sidecar:release": "node scripts/build-sidecar.mjs --release",
"build:sidecar:cuda": "bash scripts/build-cuda.sh",
"build:sidecar:cuda:release": "bash scripts/build-cuda.sh --release",
"build:sidecar:cuda:windows": "powershell -ExecutionPolicy Bypass -File scripts/build-cuda.ps1",
"build:sidecar:cuda:windows:release": "powershell -ExecutionPolicy Bypass -File scripts/build-cuda.ps1 -Release",
"build:frontend": "node esbuild.config.mjs production",
"build": "npm run build:sidecar && npm run build:frontend && npm run verify:build-output",
"dev": "node esbuild.config.mjs watch",
"typecheck": "tsc --project tsconfig.json --noEmit",
"typecheck:obsidian-floor": "tsc --project tsconfig.obsidian-floor.json --noEmit",
"lint": "biome check .",
"lint:obsidian": "eslint src",
"format": "biome format --write .",
"test": "vitest run",
"test:system-audio": "cargo test --manifest-path native/Cargo.toml --test system_audio_smoke -- --ignored --nocapture",
"install:dev": "node scripts/install-dev-plugin.mjs",
"install:dev:cuda": "node scripts/install-dev-cuda.mjs",
"release:prepare": "node scripts/prepare-release.mjs",
"stats:downloads": "node scripts/download-stats.mjs",
"report:transcription-quality": "node scripts/transcription-quality-report.mjs",
"verify:build-output": "node scripts/verify-build-output.mjs",
"verify:frontend-output": "node scripts/verify-build-output.mjs --frontend-only",
"verify:build-output:release": "node scripts/verify-build-output.mjs --release",
"check:frontend": "npm run typecheck && npm run typecheck:obsidian-floor && npm run lint && npm run lint:obsidian && npm run test && npm run build:frontend",
"check:release": "node scripts/check-release.mjs",
"check:js": "npm run check:release && npm run check:frontend && npm run build:sidecar && npm run verify:build-output",
"check:rust": "node scripts/check-rust.mjs",
"test:sidecar:e2e": "cargo test --manifest-path native/Cargo.toml --release --test transcription_e2e --test sidecar_protocol_e2e -- --ignored --nocapture",
"test:sidecar:nemotron:e2e": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-nemotron-asr --test nemotron_asr_e2e --test nemotron_asr_tails -- --ignored --nocapture --test-threads=1",
"test:sidecar:multilingual:e2e": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-nemotron-asr,engine-whisper --test multilingual_e2e -- --ignored --nocapture --test-threads=1",
"test:sidecar:pocket-tts:e2e": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-pocket-tts,engine-whisper --test pocket_tts_e2e -- --ignored --nocapture --test-threads=1",
"test:sidecar:pocket-tts:smoke": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-pocket-tts --test pocket_tts_e2e pinned_english_model_synthesizes_non_silent_pcm -- --ignored --nocapture --test-threads=1",
"test:sidecar:pocket-tts:certify": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-pocket-tts,engine-whisper --test pocket_tts_e2e pinned_multilingual_models_meet_quality_and_throughput_gates -- --ignored --nocapture --test-threads=1",
"test:sidecar:supertonic:smoke": "cargo test --manifest-path native/Cargo.toml --release --no-default-features --features engine-supertonic --test supertonic_e2e pinned_model_loads_and_synthesizes_all_catalog_languages -- --ignored --nocapture --test-threads=1",
"test:translation:e2e": "node scripts/translation-real-model-e2e.mjs es && node scripts/translation-real-model-e2e.mjs ja",
"test:translation:hy-mt2:e2e": "node scripts/translation-hy-mt2-model-e2e.mjs",
"check": "npm run check:js && npm run check:rust"
},
"devDependencies": {
"@biomejs/biome": "2.5.11",
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6",
"@eslint/js": "^10.0.1",
"@eslint/json": "^2.0.1",
"@types/node": "26.4.0",
"@typescript-eslint/parser": "^8.68.0",
"esbuild": "0.28.2",
"eslint": "^10.9.1",
"eslint-plugin-obsidianmd": "^0.4.2",
"obsidian": "1.13.1",
"obsidian-floor": "npm:obsidian@1.11.4",
"tslib": "2.8.1",
"typescript": "6.0.3",
"typescript-eslint": "^8.68.0",
"vitest": "4.1.11"
}
}