-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
125 lines (125 loc) · 3.78 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
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "@offline-ai/cli",
"description": "Your Offline(local) AI agent client for Programable Prompt Engine",
"version": "0.7.0",
"author": "Riceball LEE <snowyu.lee@gmail.com>",
"bin": {
"ai": "./bin/run.js"
},
"homepage": "https://github.com/offline-ai/cli",
"repository": "https://github.com/offline-ai/cli",
"bugs": "https://github.com/@offline-ai/cli/issues",
"dependencies": {
"@oclif/core": "^4.0.17",
"@oclif/plugin-autocomplete": "^3.2.0",
"@oclif/plugin-help": "^6.2.8",
"@oclif/plugin-not-found": "^3.2.16",
"@oclif/plugin-plugins": "^5",
"@oclif/plugin-version": "^2.2.10",
"@oclif/plugin-warn-if-update-available": "^3.1.11",
"@offline-ai/cli-common": "workspace:*",
"@offline-ai/cli-plugin-cmd-brain": "workspace:*",
"@offline-ai/cli-plugin-cmd-config": "workspace:*",
"@offline-ai/cli-plugin-cmd-test": "workspace:*",
"@offline-ai/cli-plugin-core": "workspace:*",
"ansi-colors": "^4.1.3",
"better-sqlite3": "^11.1.2",
"color-json": "^3.0.5",
"enquirer": "^2.4.1",
"lodash-es": "^4.17.21",
"log-update": "^6.1.0",
"node-fetch-native": "^1.6.4",
"util-ex": "2.0.0"
},
"devDependencies": {
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^4",
"@types/chai": "^4",
"@types/lodash-es": "^4.17.12",
"@types/mocha": "^10",
"@types/node": "^20",
"chai": "^5",
"eslint": "^8",
"eslint-config-oclif": "^5.2.1",
"eslint-config-oclif-typescript": "^3",
"eslint-config-prettier": "^9",
"mocha": "^10",
"oclif": "^4.14.19",
"shx": "^0.3.4",
"ts-node": "^10",
"tsup": "^8.2.4",
"tsx": "^4.17.0",
"typescript": "^5"
},
"engines": {
"node": ">=18.0.0"
},
"files": [
"/bin",
"/dist",
"/examples",
"/lib",
"/oclif.manifest.json",
"/theme.json"
],
"keywords": [
"oclif",
"prompt",
"ai",
"llm",
"programable prompt",
"agent",
"script",
"runner",
"CLI"
],
"license": "MIT",
"main": "dist/index.js",
"type": "module",
"oclif": {
"bin": "ai",
"dirname": "ai",
"commands": "./dist/oclif/commands",
"helpClass": "./dist/oclif/lib/help",
"hooks": {
"init": "./dist/oclif/hooks/init-tools"
},
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-plugins",
"@oclif/plugin-version",
"@oclif/plugin-autocomplete",
"@oclif/plugin-warn-if-update-available",
"@offline-ai/cli-plugin-core",
"@offline-ai/cli-plugin-cmd-test",
"@offline-ai/cli-plugin-cmd-brain",
"@offline-ai/cli-plugin-cmd-config"
],
"additionalHelpFlags": [
"-h"
],
"scope": "offline-ai",
"pluginPrefix": "cli-plugin",
"theme": "theme.json",
"topicSeparator": " ",
"warn-if-update-available": {
"timeoutInDays": 1,
"message": "<%= config.name %> update available from <%= chalk.yellowBright(config.version) %> to <%= chalk.yellowBright(latest) %>.\nRun <%= chalk.greenBright('npm install -g ' + config.name) %> to update."
},
"repositoryPrefix": ""
},
"scripts": {
"build": "shx rm -rf dist && tsup",
"clean": "shx rm -fr oclif.manifest.json dist",
"lint": "eslint . --ext .ts",
"opack": "oclif pack",
"postpack": "shx rm -f oclif.manifest.json",
"posttest": "pnpm run lint",
"prepack": "NODE_OPTIONS='--trace-warnings --no-warnings=ExperimentalWarning' oclif manifest && oclif readme",
"release": "pnpm run clean && pnpm run build && pnpm run prepack && git add -f README.md && git ci -m 'docs: update readme' || true && pnpm dlx commit-and-tag-version -s",
"release.alpha": "pnpm run release -- --prerelease alpha",
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
"version": "oclif readme && git add README.md"
},
"types": "dist/index.d.ts"
}