Files
storyteller-bevy/react-frontend/project.json
T
Danny McGee a1779fb1ec Add formatting, linting, and testing to CI checks (#44)
This PR adds `cargo fmt -- --check`, `nx lint ...` and `nx test ...` as
GitHub Actions. This will cause future PRs to automatically fail when
formatting issues, Clippy warnings, or test failures are present in the
changed code.
2024-02-15 16:04:45 -05:00

70 lines
1.6 KiB
JSON

{
"name": "react-frontend",
"$schema": "../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "react-frontend/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/react-frontend"
},
"configurations": {
"development": {
"mode": "development"
},
"production": {
"mode": "production"
}
}
},
"serve": {
"executor": "@nx/vite:dev-server",
"defaultConfiguration": "development",
"dependsOn": [
{
"projects": ["studio"],
"target": "build:web"
}
],
"options": {
"buildTarget": "react-frontend:build"
},
"configurations": {
"development": {
"buildTarget": "react-frontend:build:development",
"hmr": true
},
"production": {
"buildTarget": "react-frontend:build:production",
"hmr": false
}
}
},
"preview": {
"executor": "@nx/vite:preview-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "react-frontend:build"
},
"configurations": {
"development": {
"buildTarget": "react-frontend:build:development"
},
"production": {
"buildTarget": "react-frontend:build:production"
}
}
},
"test": {
"executor": "nx:run-commands",
"options": {
"command": "\n"
}
}
},
"tags": []
}