-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
86 lines (86 loc) · 3.26 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
{
"name": "@codellm/repo",
"version": "0.0.1",
"description": "Parent repo for code-llm",
"author": "bo@interrobang.consulting",
"license": "MIT",
"type": "module",
"workspaces": [
"core",
"providers/*",
"tools/*",
"vectorDbs/*",
"cli",
"remix"
],
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@tsconfig/strictest": "^2.0.3",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.3.1",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.34.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsx": "^4.10.0",
"typescript": "^5.3.3",
"vite": "^5.1.5",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.3.1",
"vitest-mock-extended": "^1.3.1",
"wait-on": "^7.2.0"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.12.1"
},
"scripts": {
"build": "run-s build:ts build:ts-alias",
"build:ts": "tsc -b --verbose",
"build:ts-alias": "npm run --workspaces --if-present build:ts-alias",
"build:remix": "npm run -w remix build",
"dev": "run-s build dev:remix",
"dev:remix": "npm run -w remix dev",
"start": "run-s build start:cli",
"start:cli": "npm run -w cli start",
"start:remix": "npm run -w remix start",
"start:import": "npm run build && npm run -w cli start:import",
"start:datastore": "run-s start:datastore:compose start:datastore:wait start:datastore:migrate start:datastore:seed",
"start:datastore:compose": "docker compose up -d",
"start:datastore:wait": "wait-on tcp:5432 --timeout 30000",
"start:datastore:migrate": "npm run --workspaces --if-present datastore:migrate",
"start:datastore:seed": "npm run --workspaces --if-present datastore:seed",
"stop:datastore": "docker compose down",
"logs:datastore": "docker compose logs -f",
"test": "run-s lint:fix build test:unit",
"test:all": "run-s test test:integration",
"test:integration": "vitest --test-timeout=120000 run 'tests/integration'",
"test:unit": "vitest run --coverage 'src' 'remix/app'",
"test:unit:remix": "vitest run 'remix/app'",
"test:unit:watch": "vitest 'src'",
"test:tsc": "tsc --noEmit",
"lint": "run-s lint:prettier lint:eslint",
"lint:fix": "run-s lint:prettier:fix lint:eslint:fix",
"lint:prettier": "prettier . --check",
"lint:prettier:fix": "prettier . --write",
"lint:eslint": "eslint .",
"lint:eslint:fix": "eslint . --fix",
"reset:datastore": "run-s stop:datastore reset:datastore:deleteChromadb start:datastore",
"reset:datastore:deleteChromadb": "rm -fr ./.chromadb",
"compress:chromadb": "tar -czf chromadb.tar.gz ./.chromadb",
"extract:chromadb": "tar -xzf chromadb.tar.gz"
}
}