refactor: use typescript
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
This commit is contained in:
parent
0a9d12b777
commit
333969a4fa
4 changed files with 338 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue