-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 3.46 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 3.46 KB
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
{
"name": "therascript",
"version": "1.4.6",
"private": true,
"description": "Monorepo for Therascript project",
"workspaces": [
"packages/*"
],
"scripts": {
"prepare": "husky",
"build": "turbo run build",
"build:api": "turbo run build --filter=@therascript/api",
"build:ui": "turbo run build --filter=@therascript/ui",
"build:worker": "turbo run build --filter=@therascript/worker",
"build:whisper": "turbo run build --filter=@therascript/whisper",
"build:docker-utils": "turbo run build --filter=@therascript/docker-utils",
"build:gpu-utils": "turbo run build --filter=@therascript/gpu-utils",
"build:elasticsearch-manager": "turbo run build --filter=@therascript/elasticsearch-manager",
"dev": "node ./scripts/run-dev.js",
"dev:ui": "turbo run dev --filter=@therascript/ui",
"dev:api": "node --env-file=.env.api.dev packages/api/dist/server.js",
"dev:worker": "node --env-file=.env.worker.dev packages/worker/dist/index.js",
"dev:mock:api": "node --env-file=.env.api.mock packages/api/dist/server.js",
"dev:mock": "concurrently --kill-others-on-fail --names API,UI,WHISPER,ES \"yarn dev:mock:api\" \"yarn dev:ui\" \"echo [MOCK MODE] Worker not started\" \"echo [MOCK MODE] Whisper process not needed\" \"echo [MOCK MODE] ES process not needed\"",
"start": "node ./scripts/run-prod.js",
"start:api:prod": "node --env-file=.env.api.prod packages/api/dist/server.js",
"start:worker:prod": "node --env-file=.env.worker.prod packages/worker/dist/index.js",
"start:whisper": "turbo run start --filter=@therascript/whisper",
"start:elasticsearch-manager": "turbo run start --filter=@therascript/elasticsearch-manager",
"lint": "turbo run lint",
"format": "yarn prettier --write .",
"preload:db:dev": "node --env-file=.env.api.dev packages/api/dist/preloadDb.js",
"preload:db:prod": "node --env-file=.env.api.dev packages/api/dist/preloadDb.js",
"db:upgrade:dev": "node --env-file=.env.api.dev ./scripts/upgrade-db.js",
"db:upgrade:prod": "node --env-file=.env.api.prod ./scripts/upgrade-db.js",
"db:wipe": "yarn db:wipe:dev",
"db:wipe:dev": "node --env-file=.env.api.dev ./scripts/wipe-data.js",
"db:wipe:prod": "node --env-file=.env.api.prod ./scripts/wipe-data.js",
"clean": "turbo run clean && rm -rf node_modules",
"clean:dist": "turbo run clean",
"_node_path_linux": "echo /home/susie/.nvm/versions/node/v23.10.0/bin/node",
"autostart:setup": "yarn build:system && sudo $(yarn run -s _node_path_linux) packages/system/dist/setupAutostart.js",
"autostart:remove": "yarn build:system && sudo $(yarn run -s _node_path_linux) packages/system/dist/removeAutostartScript.js",
"autostart:status": "yarn build:system && sudo $(yarn run -s _node_path_linux) packages/system/dist/checkAutostartStatus.js",
"app:start:wrapper": "yarn build:system && $(yarn run -s _node_path_linux) packages/system/dist/startAppWrapper.js",
"test": "vitest run",
"test:watch": "vitest",
"coverage": "vitest run --coverage"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"concurrently": "^8.2.2",
"husky": "^9.1.7",
"turbo": "^2.5.0",
"lint-staged": "^15.5.1",
"prettier": "^3.5.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"vitest": "0.34.6"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}