readest/package.json
Huang Xin 0e516f6e56
chore(test): add unit tests and enforce dash-case naming for test files (#3715)
Add ~290 new unit tests covering utils (lru, diff, css, a11y, walk,
usage, txt-worker), services (EdgeTTSClient, transformers), and
suppress noisy console output across all test files. Rename 27
camelCase test files to dash-case for consistency.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 09:14:00 +02:00

57 lines
1.9 KiB
JSON

{
"name": "@readest/monorepo",
"private": true,
"repository": "readest/readest",
"scripts": {
"test": "pnpm --filter @readest/readest-app test",
"lint": "pnpm --filter @readest/readest-app lint",
"tauri": "pnpm --filter @readest/readest-app tauri",
"dev-web": "pnpm --filter @readest/readest-app dev-web",
"prepare": "husky",
"fmt:check": "pnpm --filter @readest/readest-app fmt:check",
"clippy:check": "pnpm --filter @readest/readest-app clippy:check",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}\""
},
"packageManager": "pnpm@10.30.3",
"devDependencies": {
"@biomejs/biome": "^2.4.9",
"@sindresorhus/tsconfig": "^6.0.0",
"husky": "^9.1.6",
"lint-staged": "^16.2.7",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.8",
"typescript": "^5"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,css,json,md,html,yml}": [
"prettier --write"
]
},
"pnpm": {
"overrides": {
"glob": ">=11.1.0",
"jws": ">=4.0.1",
"vite": ">=7.3.1",
"srvx": ">=0.11.13",
"rollup": ">=4.59.0",
"undici": ">=7.24.0",
"flatted": ">=3.4.2",
"body-parser": ">=2.2.1",
"dompurify": ">=3.3.2",
"picomatch": ">=4.0.4",
"path-to-regexp": ">=8.4.0",
"serialize-javascript": ">=7.0.5",
"fast-xml-parser": ">=5.5.7",
"lodash-es": ">=4.17.23",
"@babel/runtime": ">=7.26.10",
"@babel/helpers": ">=7.26.10",
"mdast-util-gfm-autolink-literal": "2.0.1",
"@ai-sdk/provider-utils": "4.0.8"
},
"patchedDependencies": {
"mdast-util-gfm-autolink-literal@2.0.1": "patches/mdast-util-gfm-autolink-literal@2.0.1.patch",
"@ai-sdk/provider-utils@4.0.8": "patches/@ai-sdk__provider-utils@4.0.8.patch"
}
}
}