24 lines
893 B
JSON
24 lines
893 B
JSON
{
|
|
"name": "tono",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=18.0.0",
|
|
"npm": ">=9.0.0"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "npm --prefix frontend install",
|
|
"clean:dev": "node scripts/clean-build-artifacts.mjs",
|
|
"clean:build": "node scripts/clean-build-artifacts.mjs",
|
|
"clean:native": "node scripts/clean-build-artifacts.mjs --mode=native",
|
|
"dev": "npm run clean:dev && npm --prefix frontend run dev",
|
|
"build": "npm run clean:build && npm --prefix frontend run build",
|
|
"preview": "npm --prefix frontend run preview",
|
|
"test:frontend": "npm --prefix frontend test",
|
|
"backend": "python -m backend.main",
|
|
"desktop": "npm run build && python desktop.py",
|
|
"build:windows": "powershell -ExecutionPolicy Bypass -File scripts\\build-windows.ps1",
|
|
"build:mac": "bash scripts/build-mac.sh",
|
|
"build:linux": "bash scripts/build-linux.sh"
|
|
}
|
|
}
|