Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.06 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
{
"name": "@anysphere/priompt",
"license": "MIT",
"version": "0.2.1",
"description": "A JSX-based prompt design library.",
"keywords": [
"prompting",
"prompt design",
"prompt engineering"
],
"repository": {
"type": "git",
"url": "https://github.com/anysphere/priompt"
},
"homepage": "https://github.com/anysphere/priompt",
"author": "Arvid Lunnemark",
"engines": {
"node": ">= 18.15.0"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**/*",
"package.json"
],
"scripts": {
"watch": "tsx watch --clear-screen=false src",
"build": "wireit",
"build-watch": "nodemon --watch 'src/**/*' --ext '*' --exec 'pnpm build'",
"lint": "tsc --noEmit && eslint .",
"test": "wireit",
"test:nowatch": "vitest run",
"coverage": "vitest run --coverage"
},
"wireit": {
"build": {
"command": "tsc --build --pretty && cp src/types.d.ts dist/types.d.ts",
"files": [
"src/**/*",
"tsconfig.json"
],
"output": [
"dist/**/*"
],
"dependencies": [
"../tiktoken-node:build"
],
"clean": "if-file-deleted"
},
"test": {
"command": "vitest",
"dependencies": [
"build"
]
}
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
"@types/json-schema": "^7.0.12",
"@types/node": "^20.12.0",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"@vitest/coverage-v8": "^1.2.2",
"esbuild": "^0.18.20",
"eslint": "^8.38.0",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.0",
"tiny-glob": "^0.2.9",
"tsx": "^3.12.6",
"typescript": "^5.2.0",
"vite": "^5.0.12",
"vitest": "^1.2.2",
"wireit": "^0.14.0"
},
"dependencies": {
"@anysphere/tiktoken-node": "workspace:*",
"hot-shots": "^10.0.0",
"js-yaml": "https://github.com/anysphere/js-yaml.git#4761daebc257cf86e64bb775ba00696f30d7ff22",
"openai": "^3.3.0",
"zod": "^3.21.4",
"zod-to-json-schema": "^3.21.3"
}
}