-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 3.41 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (71 loc) · 3.41 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
65
66
67
68
69
70
71
{
"name": "asf-farmdeck",
"private": true,
"version": "0.0.0",
"author": "Mauricio Vuljevas <contacto@mvuljevas.com> (https://www.mvuljevas.com/)",
"homepage": "https://github.com/mvuljevas/asf-farmdeck",
"repository": {
"type": "git",
"url": "https://github.com/mvuljevas/asf-farmdeck.git"
},
"bugs": {
"url": "https://github.com/mvuljevas/asf-farmdeck/issues"
},
"type": "module",
"scripts": {
"dev": "npm run dev:user",
"dev:user": "cross-env WEB_PORT=5173 API_PORT=4570 concurrently -n WEB,API -c cyan,green \"npm:dev:web\" \"npm:dev:api\"",
"dev:qa": "cross-env WEB_PORT=3001 API_PORT=3002 concurrently -n WEB,API -c magenta,green \"npm:dev:web\" \"npm:dev:api\"",
"dev:first-run:reset": "node -e \"const fs=require('fs'); ['.tmp/dev-runtime','.tmp/dev-data','.tmp/dev-storage'].forEach((dir)=>fs.rmSync(dir,{recursive:true,force:true})); fs.mkdirSync('.tmp/dev-runtime/asf',{recursive:true});\"",
"dev:first-run": "npm run dev:first-run:reset && cross-env WEB_PORT=5174 API_PORT=4571 ASF_ROOT=.tmp/dev-runtime/asf DATA_DIR=.tmp/dev-data STORAGE_DIR=.tmp/dev-storage concurrently -n WEB,API -c yellow,green \"npm:dev:web\" \"npm:dev:api\"",
"dev:web": "vite",
"dev:api": "tsx watch server/index.ts",
"serve:smoke:web": "vite preview --host 127.0.0.1 --strictPort",
"serve:smoke:api": "tsx server/index.ts",
"close:app": "node -e \"fetch('http://127.0.0.1:' + (process.env.API_PORT || 4570) + '/api/app/shutdown',{method:'POST'}).then(()=>console.log('FarmDeck shutdown requested.')).catch((error)=>{console.error(error);process.exit(1);})\"",
"qa:first-run:reset": "node -e \"const fs=require('fs'); ['.tmp/qa-runtime','.tmp/qa-data','.tmp/qa-storage'].forEach((dir)=>fs.rmSync(dir,{recursive:true,force:true})); fs.mkdirSync('.tmp/qa-runtime/asf',{recursive:true});\"",
"build": "tsc -b && vite build",
"build:web": "tsc -b && vite build",
"lint": "eslint .",
"preview": "vite preview",
"start:api": "tsx server/index.ts",
"smoke": "playwright test --config=playwright.config.ts",
"smoke:chrome": "cross-env PLAYWRIGHT_CHANNEL=chrome playwright test --config=playwright.config.ts",
"smoke:first-run": "npm run qa:first-run:reset && cross-env WEB_PORT=3101 API_PORT=3102 ASF_ROOT=.tmp/qa-runtime/asf DATA_DIR=.tmp/qa-data STORAGE_DIR=.tmp/qa-storage playwright test --config=playwright.config.ts --grep @first-run",
"smoke:ui": "cross-env WEB_PORT=3001 API_PORT=3002 playwright test --config=playwright.config.ts --ui"
},
"dependencies": {
"better-sqlite3": "^12.8.0",
"cors": "^2.8.6",
"express": "^5.2.1",
"i18next": "^26.0.3",
"lucide-react": "^1.7.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-i18next": "^17.0.2",
"zod": "^4.3.6"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@playwright/test": "^1.55.0",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/node": "^24.12.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.4.20",
"concurrently": "^9.2.1",
"cross-env": "^10.1.0",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"globals": "^17.4.0",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"tsx": "^4.21.0",
"typescript": "~5.9.3",
"typescript-eslint": "^8.57.0",
"vite": "^8.0.1"
}
}