Initial commit
This commit is contained in:
48
templates/package.json
Normal file
48
templates/package.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"name": "claude-api-examples",
|
||||
"version": "1.0.0",
|
||||
"description": "Examples for using the Claude API with various platforms",
|
||||
"main": "index.ts",
|
||||
"scripts": {
|
||||
"dev": "tsx watch src/index.ts",
|
||||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"cli": "tsx src/nodejs-example.ts cli",
|
||||
"stream": "tsx src/nodejs-example.ts stream",
|
||||
"test": "vitest",
|
||||
"lint": "eslint . --ext .ts",
|
||||
"format": "prettier --write \"**/*.{ts,tsx,md,json}\"",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"keywords": [
|
||||
"claude",
|
||||
"anthropic",
|
||||
"ai",
|
||||
"llm",
|
||||
"chatbot"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.67.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^20.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
||||
"@typescript-eslint/parser": "^6.0.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"eslint": "^8.50.0",
|
||||
"prettier": "^3.0.3",
|
||||
"tsx": "^4.0.0",
|
||||
"typescript": "^5.3.0",
|
||||
"vitest": "^1.0.0",
|
||||
"zod": "^3.23.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@upstash/ratelimit": "^1.0.0",
|
||||
"@upstash/redis": "^1.25.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user