-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 3.15 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 3.15 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
{
"name": "riida",
"private": true,
"version": "0.5.4",
"description": "Tauri-based local PDF library manager for Dropbox-hosted ebooks",
"license": "MPL-2.0",
"type": "module",
"scripts": {
"dev": "vite",
"generate:third-party-licenses": "node scripts/generate-third-party-licenses.mjs",
"check:licenses:npm": "license-checker --production --excludePrivatePackages --onlyAllow 'MIT;MIT OR Apache-2.0;Apache-2.0;Apache-2.0 OR MIT;(MPL-2.0 OR Apache-2.0);BSD-2-Clause;BSD-3-Clause;ISC'",
"check:notices": "npm run generate:third-party-licenses && git diff --exit-code -- THIRD-PARTY-LICENSES-rust.md THIRD-PARTY-LICENSES-js.md",
"check:licenses": "npm run check:licenses:npm && npm run check:notices",
"check": "npm run check:rust && npm run check:frontend",
"check:release": "npm run check && npm run check:licenses",
"check:rust": "npm run rust:fmt:check && npm run rust:lint && npm run rust:machete && cargo nextest run --manifest-path src-tauri/Cargo.toml && cargo check --manifest-path src-tauri/Cargo.toml && npm run rust:audit",
"check:frontend": "npm run lint && npm run fmt:check && npm run knip && npm run test:coverage && npm run build && npm run report:bundle-size",
"knip": "knip",
"rust:fmt": "cargo fmt --manifest-path src-tauri/Cargo.toml",
"rust:fmt:check": "cargo fmt --manifest-path src-tauri/Cargo.toml --check",
"rust:lint": "cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings",
"rust:audit": "cargo audit --file src-tauri/Cargo.lock",
"rust:machete": "cargo machete src-tauri",
"lint": "oxlint --vitest-plugin --deny-warnings src vite.config.ts",
"lint:fix": "oxlint --vitest-plugin --fix src vite.config.ts",
"fmt": "oxfmt --write src index.html vite.config.ts",
"fmt:check": "oxfmt --check src index.html vite.config.ts",
"mutants:rust": "bash scripts/run-cargo-mutants.sh",
"mutants:rust:list": "bash scripts/run-cargo-mutants.sh --list",
"build": "tsc && vite build",
"report:bundle-size": "node scripts/report-bundle-size.mjs",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"mutants:frontend": "stryker run",
"mutants:frontend:list": "stryker run --dryRun",
"build:macos-local": "npm run tauri build && bash scripts/fix-macos-local-build.sh",
"preview": "vite preview",
"tauri": "tauri",
"tauri:dev": "tauri dev --config src-tauri/tauri.conf.dev.json"
},
"dependencies": {
"@milkdown/kit": "^7.20.0",
"@milkdown/theme-nord": "^7.20.0",
"@tauri-apps/api": "^2",
"@tauri-apps/plugin-dialog": "^2.7.0",
"@tauri-apps/plugin-opener": "^2",
"epubjs": "^0.3.93",
"pdfjs-dist": "^5.6.205",
"temporal-polyfill-lite": "^0.3.4",
"valibot": "^1.3.1"
},
"devDependencies": {
"@stryker-mutator/core": "^9.6.1",
"@stryker-mutator/vitest-runner": "^9.6.1",
"@tauri-apps/cli": "^2",
"@vitest/coverage-v8": "^4.1.5",
"fast-check": "^4.7.0",
"knip": "^6.8.0",
"license-checker": "^25.0.1",
"oxfmt": "^0.43.0",
"oxlint": "^1.58.0",
"typescript": "~6.0.0",
"vite": "^6.0.3",
"vite-plugin-static-copy": "^4.0.0",
"vitest": "^4.1.2"
}
}