Install typescript package

This commit is contained in:
Allen Zhou 2025-02-19 10:25:38 -08:00
commit d01e8def07
3 changed files with 25 additions and 6 deletions

View file

@ -14,7 +14,11 @@
"dotenv": "^16.4.7" "dotenv": "^16.4.7"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.13.4" "@types/node": "^22.13.4",
"typescript": "^5.7.3"
},
"engines": {
"node": ">=16.0.0"
} }
}, },
"node_modules/@anthropic-ai/sdk": { "node_modules/@anthropic-ai/sdk": {
@ -574,6 +578,20 @@
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/typescript": {
"version": "5.7.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
},
"engines": {
"node": ">=14.17"
}
},
"node_modules/undici-types": { "node_modules/undici-types": {
"version": "6.20.0", "version": "6.20.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",

View file

@ -16,7 +16,8 @@
"dotenv": "^16.4.7" "dotenv": "^16.4.7"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^22.13.4" "@types/node": "^22.13.4",
"typescript": "^5.7.3"
}, },
"engines": { "engines": {
"node": ">=16.0.0" "node": ">=16.0.0"

View file

@ -1,15 +1,15 @@
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2022", "target": "ES2022",
"module": "NodeNext", "module": "Node16",
"moduleResolution": "NodeNext", "moduleResolution": "Node16",
"outDir": "./build", "outDir": "./build",
"rootDir": "./", "rootDir": "./",
"strict": true, "strict": true,
"esModuleInterop": true, "esModuleInterop": true,
"skipLibCheck": true, "skipLibCheck": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true
}, },
"include": ["index.ts"], "include": ["index.ts"],
"exclude": ["node_modules"] "exclude": ["node_modules"]
} }