@jaex/dstsx 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,113 @@
1
+ {
2
+ "name": "@jaex/dstsx",
3
+ "version": "0.1.0",
4
+ "description": "A 1:1 TypeScript alternative to DSPy — Declarative Self-improving Language Programs",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "prepare": "npm run build",
21
+ "prepublishOnly": "npm test && npm run build",
22
+ "build": "tsup",
23
+ "test": "vitest run",
24
+ "test:watch": "vitest",
25
+ "lint": "eslint src tests --ext .ts",
26
+ "format": "prettier --write .",
27
+ "typecheck": "tsc --noEmit",
28
+ "docs": "typedoc"
29
+ },
30
+ "keywords": [
31
+ "dspy",
32
+ "llm",
33
+ "language-model",
34
+ "prompt-optimization",
35
+ "few-shot",
36
+ "chain-of-thought",
37
+ "react",
38
+ "typescript"
39
+ ],
40
+ "license": "MIT",
41
+ "author": "Psyborg",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "git+https://github.com/Psyborgs-git/DSTsx.git"
45
+ },
46
+ "bugs": {
47
+ "url": "https://github.com/Psyborgs-git/DSTsx/issues"
48
+ },
49
+ "homepage": "https://github.com/Psyborgs-git/DSTsx#readme",
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "devDependencies": {
54
+ "@types/node": "^25.3.3",
55
+ "@typescript-eslint/eslint-plugin": "^7.0.0",
56
+ "@typescript-eslint/parser": "^7.0.0",
57
+ "eslint": "^8.57.0",
58
+ "prettier": "^3.2.5",
59
+ "tsup": "^8.0.2",
60
+ "typedoc": "^0.25.12",
61
+ "typescript": "^5.4.5",
62
+ "vitest": "^1.5.0"
63
+ },
64
+ "peerDependencies": {
65
+ "@anthropic-ai/sdk": ">=0.21",
66
+ "@google/generative-ai": ">=0.7",
67
+ "@pinecone-database/pinecone": ">=2",
68
+ "@qdrant/js-client-rest": ">=1",
69
+ "chromadb": ">=1",
70
+ "cohere-ai": ">=7",
71
+ "openai": ">=4",
72
+ "weaviate-client": ">=3"
73
+ },
74
+ "peerDependenciesMeta": {
75
+ "openai": {
76
+ "optional": true
77
+ },
78
+ "@anthropic-ai/sdk": {
79
+ "optional": true
80
+ },
81
+ "cohere-ai": {
82
+ "optional": true
83
+ },
84
+ "@google/generative-ai": {
85
+ "optional": true
86
+ },
87
+ "@pinecone-database/pinecone": {
88
+ "optional": true
89
+ },
90
+ "weaviate-client": {
91
+ "optional": true
92
+ },
93
+ "chromadb": {
94
+ "optional": true
95
+ },
96
+ "@qdrant/js-client-rest": {
97
+ "optional": true
98
+ }
99
+ },
100
+ "tsup": {
101
+ "entry": [
102
+ "src/index.ts"
103
+ ],
104
+ "format": [
105
+ "esm",
106
+ "cjs"
107
+ ],
108
+ "dts": true,
109
+ "sourcemap": true,
110
+ "clean": true,
111
+ "splitting": false
112
+ }
113
+ }