mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"name": "@triliumnext/db-compare",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "Tool to compare content of Trilium databases. Useful for debugging sync problems.",
|
|
"dependencies": {
|
|
"colors": "1.4.0",
|
|
"diff": "8.0.2",
|
|
"sqlite": "5.1.1",
|
|
"sqlite3": "5.1.7"
|
|
},
|
|
"nx": {
|
|
"name": "db-compare",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/esbuild:esbuild",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"platform": "node",
|
|
"outputPath": "apps/db-compare/dist",
|
|
"format": [
|
|
"cjs"
|
|
],
|
|
"bundle": false,
|
|
"main": "apps/db-compare/src/compare.ts",
|
|
"tsConfig": "apps/db-compare/tsconfig.app.json",
|
|
"assets": [],
|
|
"esbuildOptions": {
|
|
"sourcemap": true,
|
|
"outExtension": {
|
|
".js": ".js"
|
|
}
|
|
}
|
|
},
|
|
"configurations": {
|
|
"development": {},
|
|
"production": {
|
|
"esbuildOptions": {
|
|
"sourcemap": false,
|
|
"outExtension": {
|
|
".js": ".js"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx/js:node",
|
|
"defaultConfiguration": "development",
|
|
"dependsOn": [
|
|
"build"
|
|
],
|
|
"options": {
|
|
"buildTarget": "db-compare:build",
|
|
"runBuildTargetDependencies": false
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "db-compare:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "db-compare:build:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|