vega-frontend-monorepo/apps/trading/project.json
Matthew Russell b3014bb98a
chore(trading,governance,explorer): nx migration to latest (#5246)
Co-authored-by: Edd <edd@vega.xyz>
2023-11-14 15:25:29 +01:00

73 lines
1.7 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-netlify": {
"executor": "nx:run-commands",
"options": {
"commands": [
"cp apps/trading/netlify.toml netlify.toml",
"nx build trading"
]
}
},
"build-spec": {
"executor": "nx:run-commands",
"outputs": [],
"options": {
"command": "yarn tsc --project ./apps/trading/tsconfig.spec.json"
}
}
},
"tags": []
}