-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 2.03 KB
/
Copy pathpackage.json
File metadata and controls
57 lines (57 loc) · 2.03 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
{
"name": "civwatch",
"version": "0.1.0",
"description": "Next-Generation Civic Surveillance & Transparency Platform",
"keywords": [
"civic-tech",
"transparency",
"democracy",
"surveillance",
"accountability"
],
"homepage": "https://github.com/POWDER-RANGER/CIVWATCH#readme",
"bugs": {
"url": "https://github.com/POWDER-RANGER/CIVWATCH/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/POWDER-RANGER/CIVWATCH.git"
},
"license": "MIT",
"author": "POWDER-RANGER",
"workspaces": [
"frontend",
"backend",
"ml"
],
"scripts": {
"dev": "concurrently \"npm run dev:frontend\" \"npm run dev:backend\" \"npm run dev:ml\"",
"dev:frontend": "npm run dev --workspace=frontend",
"dev:backend": "npm run dev --workspace=backend",
"dev:ml": "cd ml && python -m uvicorn main:app --host ${FASTAPI_HOST:-0.0.0.0} --port ${FASTAPI_PORT:-5000} --reload",
"dev:electron": "cd civwatch-desktop && npm run dev",
"build": "npm run build --workspaces",
"build:electron": "cd civwatch-desktop && npm run make",
"test": "npm run test --workspaces",
"lint": "npm run lint --workspaces",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"check:health": "concurrently \"curl -sf http://localhost:5173/\" \"curl -sf http://localhost:3000/health\" \"curl -sf http://localhost:5000/health\"",
"docker:up": "docker-compose up -d",
"docker:down": "docker-compose down",
"docker:logs": "docker-compose logs -f",
"setup": "npm install && pip install -r ml/requirements.txt",
"install:all": "npm install && pip install -r ml/requirements.txt && cd civwatch-desktop && npm install",
"clean": "find . -name 'dist' -not -path '*/node_modules/*' -exec rm -rf {} + 2>/dev/null; echo 'Clean done'"
},
"devDependencies": {
"@types/node": "^20.19.43",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"typescript": "^5.9.3",
"prettier": "^3.9.1"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
}
}