mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
43 lines
1.5 KiB
JSON
43 lines
1.5 KiB
JSON
{
|
|
"name": "@triliumnext/server",
|
|
"version": "0.0.1",
|
|
"description": "The server-side component of TriliumNext, which exposes the client via the web, allows for sync and provides a REST API for both internal and external use.",
|
|
"homepage": "https://github.com/TriliumNext/Notes#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/TriliumNext/Notes/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TriliumNext/Notes.git"
|
|
},
|
|
"license": "AGPL-3.0-only",
|
|
"author": {
|
|
"name": "TriliumNext Notes Team",
|
|
"email": "contact@eliandoran.me",
|
|
"url": "https://github.com/TriliumNext/Notes"
|
|
},
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build:clean": "rimraf ./dist ./build",
|
|
"build:copy-dist": "tsx ./scripts/copy-dist.ts",
|
|
"build:prepare-dist": "npm run build:clean && npm run build:ts && npm run build:copy-dist",
|
|
"build:ts": "tsc",
|
|
"dist:start": "npm run build:prepare-dist && cross-env TRILIUM_DATA_DIR=./data node build/src/main.js",
|
|
"start": "cross-env nodemon src/main.ts",
|
|
"test": "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./spec/data TRILIUM_INTEGRATION_TEST=memory vitest",
|
|
"coverage": "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./spec/data TRILIUM_INTEGRATION_TEST=memory vitest --coverage",
|
|
},
|
|
"dependencies": {
|
|
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "5.8.3",
|
|
"typescript-eslint": "8.30.1",
|
|
"nodemon": "3.1.9",
|
|
"cross-env": "7.0.3",
|
|
"tsx": "4.19.3",
|
|
"vitest": "^3.1.1"
|
|
}
|
|
}
|