vega-frontend-monorepo/apps/trading/project.json
2023-11-15 13:40:26 -08:00

64 lines
1.5 KiB
JSON

{
"name": "trading",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/trading",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/trading"
},
"configurations": {
"production": {
"optimization": true,
"sourceMap": true
}
}
},
"serve": {
"executor": "@nx/next:server",
"options": {
"buildTarget": "trading:build",
"dev": true
},
"configurations": {
"production": {
"buildTarget": "trading:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nx/next:export",
"options": {
"buildTarget": "trading:build:production"
}
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/apps/trading"],
"options": {
"jestConfig": "apps/trading/jest.config.ts"
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"]
}
},
"build-spec": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"command": "yarn tsc --project ./apps/trading/tsconfig.spec.json"
}
}
},
"tags": []
}