generated from jacklehamster/bun-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.49 KB
/
package.json
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
{
"name": "open-ai-npc",
"module": "src/index.ts",
"description": "Testing openAI's API, with a \"dungeon master\".",
"version": "1.0.44",
"keywords": [
"bun",
"bunjs",
"typescript",
"template",
"npm",
"np",
"publish",
"git"
],
"repository": {
"type": "git",
"url": "git@github.com:jacklehamster/open-ai-npc.git"
},
"homepage": "https://jacklehamster.github.io/open-ai-npc/",
"author": {
"name": "Jack Le Hamster",
"email": "jacklehamster@gmail.com"
},
"license": "MIT",
"type": "module",
"main": "src/index.ts",
"types": "dist/index.d.ts",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"test": "bun test",
"build": "bun i && rm -rf *.tsbuildinfo && rm -rf dist/*.* && bun run bundler/bundler.ts && bun run test && bun run build:declaration",
"build:declaration": "tsc --emitDeclarationOnly --project tsconfig.types.json",
"auto-publish": "npm explore @dobuki/auto-publish -- bun run auto-publish \"$(pwd)\"",
"openai": "OPENAI_API_KEY=$OPENAI_API_KEY bun run ./src/index.ts",
"start": "bun run build && bun run openai",
"build:example": "cd example && bun run build && cd ..",
"example": "bun run build:example && bun start"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"devDependencies": {
"@dobuki/dev-dependencies": "^1.0.11",
"@types/express": "^4.17.21",
"@types/node-persist": "^3.1.8"
},
"dependencies": {
"openai": "^4.42.0"
}
}