port dump-db and other tools to TS

This commit is contained in:
Jin
2024-08-10 18:23:49 +02:00
parent 2cc34efbde
commit b83c6023c4
18 changed files with 1197 additions and 518 deletions

View File

@@ -2,24 +2,30 @@
"name": "dump-db",
"version": "1.0.0",
"description": "Standalone tool to dump contents of Trilium document.db file into a directory tree of notes",
"main": "dump-db.js",
"main": "dump-db.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zadam/trilium.git"
"url": "git+https://github.com/TriliumNext/Notes.git"
},
"author": "zadam",
"author": "TriliumNext",
"license": "ISC",
"bugs": {
"url": "https://github.com/zadam/trilium/issues"
"url": "https://github.com/TriliumNext/Notes/issues"
},
"homepage": "https://github.com/zadam/trilium/dump-db#readme",
"homepage": "https://github.com/TriliumNext/Notes/blob/master/dump-db/README.md",
"dependencies": {
"better-sqlite3": "7.5.0",
"mime-types": "2.1.34",
"sanitize-filename": "1.6.3",
"yargs": "17.3.1"
"better-sqlite3": "^11.1.2",
"esrun": "^3.2.26",
"mime-types": "^2.1.34",
"sanitize-filename": "^1.6.3",
"yargs": "^17.3.1"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.11",
"@types/mime-types": "^2.1.4",
"@types/yargs": "^17.0.33"
}
}