trilium/package.json
2025-08-25 18:42:07 +03:00

130 lines
4.1 KiB
JSON

{
"name": "@triliumnext/source",
"version": "0.98.0",
"description": "Build your personal knowledge base with Trilium Notes",
"directories": {
"doc": "docs"
},
"scripts": {
"client:test": "nx test client",
"client:build": "nx build client",
"client:coverage": "nx test client --coverage",
"server:test": "nx test server",
"server:build": "nx build server",
"server:coverage": "nx test server --coverage",
"server:start": "nx run server:serve --outputStyle stream",
"server:start-prod": "nx run server:start-prod",
"electron:build": "nx build desktop",
"chore:ci-update-nightly-version": "tsx ./scripts/update-nightly-version.ts",
"chore:generate-openapi": "tsx ./scripts/generate-openapi.ts",
"chore:update-build-info": "tsx ./scripts/update-build-info.ts",
"chore:update-version": "tsx ./scripts/update-version.ts",
"test:all": "pnpm test:parallel && pnpm test:sequential",
"test:parallel": "pnpm nx run-many -t test --all --exclude=server,ckeditor5-mermaid,ckeditor5-math --parallel",
"test:sequential": "pnpm nx run-many -t test --projects=server,ckeditor5-mermaid,ckeditor5-math --parallel=1",
"coverage": "pnpm nx run-many -t coverage"
},
"private": true,
"devDependencies": {
"@electron/rebuild": "4.0.1",
"@nx/devkit": "21.3.11",
"@nx/esbuild": "21.3.11",
"@nx/eslint": "21.3.11",
"@nx/eslint-plugin": "21.3.11",
"@nx/express": "21.3.11",
"@nx/js": "21.3.11",
"@nx/node": "21.3.11",
"@nx/playwright": "21.3.11",
"@nx/vite": "21.3.11",
"@nx/web": "21.3.11",
"@playwright/test": "^1.36.0",
"@triliumnext/server": "workspace:*",
"@types/express": "^5.0.0",
"@types/node": "22.17.2",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.0",
"chalk": "5.6.0",
"cross-env": "10.0.0",
"dpdm": "3.14.0",
"esbuild": "^0.25.0",
"eslint": "^9.8.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-playwright": "^2.0.0",
"eslint-plugin-react-hooks": "5.2.0",
"happy-dom": "~18.0.0",
"jiti": "2.5.1",
"jsdom": "~26.1.0",
"jsonc-eslint-parser": "^2.1.0",
"nx": "21.3.11",
"react-refresh": "^0.17.0",
"rollup-plugin-webpack-stats": "2.1.4",
"tslib": "^2.3.0",
"tsx": "4.20.4",
"typescript": "~5.9.0",
"typescript-eslint": "^8.19.0",
"upath": "2.0.1",
"vite": "^7.0.0",
"vite-plugin-dts": "~4.5.0",
"vitest": "^3.0.0"
},
"license": "AGPL-3.0-only",
"author": {
"name": "Trilium Notes Team",
"email": "contact@eliandoran.me",
"url": "https://github.com/TriliumNext/Notes"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TriliumNext/Notes.git"
},
"bugs": {
"url": "https://github.com/TriliumNext/Notes/issues"
},
"homepage": "https://github.com/TriliumNext/Notes#readme",
"packageManager": "pnpm@10.15.0",
"pnpm": {
"patchedDependencies": {
"@ckeditor/ckeditor5-mention": "patches/@ckeditor__ckeditor5-mention.patch",
"@ckeditor/ckeditor5-code-block": "patches/@ckeditor__ckeditor5-code-block.patch",
"ckeditor5": "patches/ckeditor5.patch",
"@nx/js": "patches/@nx__js.patch"
},
"overrides": {
"mermaid": "11.10.1",
"preact": "10.27.1",
"roughjs": "4.6.6",
"@types/express-serve-static-core": "5.0.7",
"flat@<5.0.1": ">=5.0.1",
"debug@>=3.2.0 <3.2.7": ">=3.2.7",
"nanoid@<3.3.8": ">=3.3.8",
"nanoid@>=4.0.0 <5.0.9": ">=5.0.9",
"dompurify@<3.2.4": ">=3.2.4",
"esbuild@<=0.24.2": ">=0.25.0",
"cookie@<0.7.0": ">=0.7.0",
"tar-fs@>=2.0.0 <2.1.3": ">=2.1.3",
"on-headers@<1.1.0": ">=1.1.0",
"form-data@>=4.0.0 <4.0.4": ">=4.0.4",
"form-data@>=3.0.0 <3.0.4": ">=3.0.4"
},
"ignoredBuiltDependencies": [
"sqlite3"
],
"onlyBuiltDependencies": [
"@parcel/watcher",
"@scarf/scarf",
"better-sqlite3",
"bufferutil",
"core-js-pure",
"electron",
"electron-winstaller",
"esbuild",
"fs-xattr",
"macos-alias",
"nx",
"utf-8-validate"
]
},
"nx": {
"name": "triliumnext"
}
}