{
"name": "app",
"$schema": "node_modules/nx/schemas/project-schema.json",
"sourceRoot": "./src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/vite:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/app"
},
"configurations": {
"development": {
"mode": "development"
},
"production": {
"mode": "production"
}
}
},
"serve": {
"executor": "@nx/vite:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "app:build"
},
"configurations": {
"development": {
"buildTarget": "app:build:development",
"hmr": true
},
"production": {
"buildTarget": "app:build:production",
"hmr": false
}
}
},
"preview": {
"executor": "@nx/vite:preview-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "app:build"
},
"configurations": {
"development": {
"buildTarget": "app:build:development"
},
"production": {
"buildTarget": "app:build:production"
}
}
},
"test": {
"executor": "@nx/vite:test",
"outputs": ["coverage/app"],
"options": {
"passWithNoTests": true,
"reportsDirectory": "coverage/app"
}
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["./src/**/*.{ts,tsx,js,jsx}"]
}
},
"serve-static": {
"executor": "@nx/web:file-server",
"options": {
"buildTarget": "app:build"
}
}
},
"tags": []
}