77 lines
3.4 KiB
JSON
77 lines
3.4 KiB
JSON
{
|
|
"name": "react-example",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node scripts/run-bash-script.mjs scripts/dev-rust-stack.sh",
|
|
"dev:rust": "node scripts/run-bash-script.mjs scripts/dev-rust-stack.sh",
|
|
"dev:rust:logs": "node scripts/run-bash-script.mjs scripts/spacetime-logs-local.sh",
|
|
"dev:web": "node scripts/dev-web-rust.mjs",
|
|
"admin-web:dev": "npm --prefix apps/admin-web run dev --",
|
|
"admin-web:build": "node scripts/admin-web-build.mjs build",
|
|
"admin-web:typecheck": "node scripts/admin-web-build.mjs typecheck",
|
|
"admin-web:preview": "npm --prefix apps/admin-web run preview --",
|
|
"spacetime:publish:maincloud": "node scripts/run-bash-script.mjs scripts/spacetime-publish-maincloud.sh",
|
|
"spacetime:generate": "node scripts/generate-spacetime-bindings.mjs",
|
|
"api-server:maincloud": "node scripts/api-server-maincloud.mjs",
|
|
"deploy:rust:remote": "node scripts/run-bash-script.mjs scripts/deploy-rust-remote.sh",
|
|
"build:production-release": "node scripts/run-bash-script.mjs scripts/build-production-release.sh",
|
|
"build:rust:ubuntu": "node scripts/run-bash-script.mjs scripts/deploy-rust-remote.sh",
|
|
"build": "node scripts/build-gate.mjs",
|
|
"build:raw": "node scripts/vite-cli.mjs build",
|
|
"preview": "node scripts/vite-cli.mjs preview",
|
|
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
"check:encoding": "node scripts/check-encoding.mjs",
|
|
"lint:eslint": "eslint . --ext .ts,.tsx,.js,.mjs,.cjs --max-warnings 0",
|
|
"lint:guardrails": "npm run lint:eslint",
|
|
"typecheck": "tsc -p tsconfig.typecheck-guardrails.json --noEmit",
|
|
"typecheck:guardrails": "npm run typecheck",
|
|
"lint": "npm run check:encoding && npm run lint:eslint && npm run typecheck",
|
|
"lint:fix": "eslint . --ext .ts,.tsx,.js,.mjs,.cjs --fix && prettier --write .",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"check": "npm run lint && npm run test && npm run build && npm run check:content",
|
|
"check:data": "node scripts/run-tsx.cjs scripts/validate-content.ts",
|
|
"check:overrides": "node scripts/run-tsx.cjs scripts/validate-overrides.ts",
|
|
"check:smoke": "node scripts/run-tsx.cjs scripts/smoke-content.ts",
|
|
"check:content": "npm run check:data && npm run check:overrides && npm run check:smoke"
|
|
},
|
|
"dependencies": {
|
|
"@tailwindcss/vite": "^4.1.14",
|
|
"@vitejs/plugin-react": "^5.0.4",
|
|
"dotenv": "^17.2.3",
|
|
"lucide-react": "^0.546.0",
|
|
"motion": "^12.23.24",
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"vite": "^6.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/node": "^22.14.0",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
"@typescript-eslint/parser": "^6.21.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
"eslint-plugin-react-refresh": "^0.4.6",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-unused-imports": "^3.2.0",
|
|
"globals": "^13.24.0",
|
|
"jsdom": "^22.1.0",
|
|
"prettier": "^3.3.3",
|
|
"tailwindcss": "^4.1.14",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "~5.8.2",
|
|
"vite": "^6.2.0",
|
|
"vitest": "^0.34.6"
|
|
}
|
|
}
|