-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.67 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "cometapi",
"version": "0.1.3",
"description": "Official TypeScript and Node.js client for the CometAPI OpenAI-compatible API",
"author": "CometAPI",
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"engines": {
"node": "^22.0.0 || ^24.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cometapi-dev/cometapi-node.git"
},
"bugs": {
"url": "https://github.com/cometapi-dev/cometapi-node/issues"
},
"homepage": "https://www.cometapi.com",
"keywords": [
"cometapi",
"openai",
"openai-compatible",
"ai",
"sdk",
"typescript",
"nodejs"
],
"sideEffects": false,
"publishConfig": {
"access": "public",
"provenance": true
},
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean --out-dir dist",
"clean": "node scripts/clean.mjs",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint . --max-warnings=0",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:contract": "vitest run tests",
"test:live": "node scripts/live-smoke.mjs",
"test:live-contract": "node scripts/test-live-smoke-contract.mjs",
"test:package": "node scripts/test-package.mjs",
"test:examples": "node scripts/test-examples.mjs",
"test:fixtures": "node scripts/test-fixtures.mjs",
"test:compat": "node scripts/test-compat.mjs",
"test:secrets": "node scripts/check-secrets.mjs",
"check:standalone-content": "node scripts/check-standalone-content.mjs",
"check:self-contained": "node scripts/check-self-contained.mjs",
"check:public-preview": "node scripts/check-public-preview.mjs",
"actionlint": "node scripts/run-actionlint.mjs",
"verify:offline": "node scripts/verify.mjs --offline",
"verify": "node scripts/verify.mjs",
"prepack": "npm run build"
},
"dependencies": {
"openai": "^6.47.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/js": "^9.39.2",
"@types/node": "^24.10.13",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"mdast-util-from-markdown": "^2.0.3",
"prettier": "^3.8.1",
"publint": "^0.3.17",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.1",
"vitest": "^4.0.18",
"yaml": "^2.9.0"
}
}