-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.46 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
{
"name": "@neurodevs/node-instant-llm",
"version": "0.0.1",
"repository": "https://github.com/neurodevs/node-instant-llm.git",
"scripts": {
"build.ci": "yarn run build.tsc && yarn run build.resolve-paths && yarn run lint",
"build.dev": "yarn run build.tsc --sourceMap ; yarn run resolve-paths.lint",
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
"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",
"fix.lint": "eslint --fix --cache '**/*.ts'",
"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",
"update.dependencies": "yarn run clean.dependencies && yarn",
"resolve-paths.lint": "yarn run build.resolve-paths ; yarn run lint",
"test": "jest",
"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"
},
"devDependencies": {
"@sprucelabs/jest-json-reporter": "^8.0.188",
"@sprucelabs/resolve-path-aliases": "^2.0.165",
"@sprucelabs/test": "^9.0.40",
"@sprucelabs/test-utils": "^5.1.124",
"@types/node": "^20.14.12",
"chokidar-cli": "^3.0.0",
"eslint": "^9.8.0",
"eslint-config-spruce": "^11.2.26",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.0",
"typescript": "^5.5.4"
},
"description": "Spinup LLMs on-demand in cloud compute instances",
"skill": {
"namespace": "node-instant-llm"
},
"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"
}
}
}