Skip to content

Commit

Permalink
added tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mishushakov committed Apr 20, 2024
1 parent f8d6791 commit 7da4bcc
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
33 changes: 28 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"description": "Turn any webpage intro structured data using LLMs",
"main": "dist/index.js",
"scripts": {
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand All @@ -26,10 +27,12 @@
"homepage": "https://github.com/mishushakov/llm-scraper#readme",
"dependencies": {
"openai": "^4.38.2",
"zod": "^3.22.5",
"zod-to-json-schema": "^3.22.5"
},
"devDependencies": {
"playwright": "^1.43.1"
"@types/node": "^20.12.7",
"playwright": "^1.43.1",
"typescript": "^5.4.5",
"zod": "^3.22.5"
}
}
11 changes: 11 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"compilerOptions": {
"outDir": "dist",
"declaration": true,
"lib": ["ESNext", "DOM"],
"module": "NodeNext",
"target": "ESNext",
"moduleResolution": "NodeNext"
},
"include": ["src/**/*.ts"]
}

0 comments on commit 7da4bcc

Please sign in to comment.