You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
2.0 KiB

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