refactor: use typescript

Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
Vojtěch Mareš 2025-05-07 17:30:19 +02:00
parent 0a9d12b777
commit 333969a4fa
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D
4 changed files with 338 additions and 7 deletions

View file

@ -2,9 +2,9 @@
"name": "notion-database",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "src/main.mts",
"scripts": {
"run": "node src/main.mjs",
"start": "tsx src/main.mts",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
@ -12,7 +12,8 @@
"license": "ISC",
"packageManager": "pnpm@10.10.0",
"devDependencies": {
"dotenv": "^16.5.0"
"dotenv": "^16.5.0",
"tsx": "^4.19.4"
},
"dependencies": {
"@notionhq/client": "^3.0.0"