vega-frontend-monorepo/apps/trading/project.json
2022-03-02 12:21:35 -08:00

65 lines
1.6 KiB
JSON

{
"root": "apps/trading",
"sourceRoot": "apps/trading",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"root": "apps/trading",
"outputPath": "dist/apps/trading"
},
"configurations": {
"production": {}
}
},
"serve": {
"executor": "@nrwl/next:server",
"options": {
"buildTarget": "trading:build",
"dev": true
},
"configurations": {
"production": {
"buildTarget": "trading:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nrwl/next:export",
"options": {
"buildTarget": "trading:build:production"
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/trading"],
"options": {
"jestConfig": "apps/trading/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"]
}
},
"generate": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
{
"command": "npx apollo client:codegen --config=apps/trading/apollo.config.js --target=typescript --globalTypesFile=apps/trading/__generated__/globalTypes.ts"
}
]
}
}
},
"tags": []
}