-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
101 lines (101 loc) · 3.72 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
{
"name": "@sprucelabs/sprucebot-llm",
"description": "Build conversational bots that can do anything with the help of ChatGPT and other LLM's.",
"skill": {
"namespace": "sprucebot-llm",
"upgradeIgnoreList": [
"@sprucelabs/spruce-core-schemas",
"@sprucelabs/spruce-skill-utils",
"@sprucelabs/spruce-test-fixtures"
]
},
"version": "8.4.0",
"files": [
"build"
],
"main": "./build/index.js",
"types": "./build/index.d.ts",
"module": "./build/esm/index.js",
"sideEffects": false,
"keywords": [
"llm",
"node",
"components",
"sprucebot",
"sprucelabs"
],
"scripts": {
"build.ci": "yarn run build.tsc && yarn run build.resolve-paths && yarn run lint",
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
"build.dev": "yarn run build.tsc --sourceMap ; yarn run resolve-paths.lint",
"build.dist": "tsc --project tsconfig.dist.json && yarn build.resolve-paths && mv build esm && yarn build.esm-postbuild && yarn build.tsc && yarn build.resolve-paths && mv esm build/ && yarn clean.dist",
"build.esm-postbuild": "esm-postbuild --target esm --patterns '**/*.js'",
"build.resolve-paths": "resolve-path-aliases --target build --patterns '**/*.js,**/*.d.ts'",
"build.tsc": "yarn run build.copy-files && tsc",
"clean": "yarn run clean.build",
"clean.all": "yarn run clean.dependencies && yarn run clean.build",
"clean.build": "rm -rf build/",
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
"clean.dist": "rm -rf build/__tests__ build/esm/__tests__",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"generate.samples": "node ./build/fineTuningSprucebot/generateSamples.js ~/output.json",
"lint": "eslint --cache '**/*.ts'",
"lint.tsc": "tsc -p . --noEmit",
"post.watch.build": "yarn run build.copy-files && yarn run build.resolve-paths",
"rebuild": "yarn run clean.all && yarn install && yarn run build.dev",
"release": "semantic-release",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"test": "jest",
"update.dependencies": "yarn run clean.dependencies && yarn",
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn run post.watch.build'",
"watch.rebuild": "yarn run clean.all && yarn install && yarn run watch.build.dev",
"watch.tsc": "tsc -w",
"chat": "node ./build/chat.js"
},
"dependencies": {
"@sprucelabs/error": "^6.0.566",
"@sprucelabs/mercury-event-emitter": "^42.0.692",
"@sprucelabs/mercury-types": "^47.2.0",
"@sprucelabs/schema": "^31.0.19",
"@sprucelabs/spruce-skill-utils": "^31.2.18",
"eta": "^3.5.0",
"openai": "^4.80.0"
},
"devDependencies": {
"@sprucelabs/esm-postbuild": "^6.0.540",
"@sprucelabs/jest-json-reporter": "^8.0.567",
"@sprucelabs/resolve-path-aliases": "^2.0.527",
"@sprucelabs/semantic-release": "^5.0.2",
"@sprucelabs/test": "^9.0.67",
"@sprucelabs/test-utils": "^5.1.546",
"@types/node": "^22.10.7",
"chokidar-cli": "^3.0.0",
"dotenv": "^16.4.7",
"eslint": "^9.18.0",
"eslint-config-spruce": "^11.2.26",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"prettier": "^3.4.2",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.1",
"typescript": "^5.7.3"
},
"jest": {
"testRunner": "jest-circus/runner",
"maxWorkers": 4,
"testTimeout": 120000,
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/tmp/",
"<rootDir>/src/",
"<rootDir>/node_modules/",
"<rootDir>/build/__tests__/testDirsAndFiles/"
],
"testMatch": [
"**/__tests__/**/*.test.js?(x)"
],
"moduleNameMapper": {
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
}
}
}