2022-02-11 13:56:28 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "trading",
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2022-02-11 13:56:28 +00:00
|
|
|
"sourceRoot": "apps/trading",
|
|
|
|
"projectType": "application",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/next:build",
|
2022-02-11 13:56:28 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/apps/trading"
|
|
|
|
},
|
|
|
|
"configurations": {
|
2022-04-04 19:45:40 +00:00
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"sourceMap": true
|
|
|
|
}
|
2022-02-11 13:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/next:server",
|
2022-02-11 13:56:28 +00:00
|
|
|
"options": {
|
|
|
|
"buildTarget": "trading:build",
|
|
|
|
"dev": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"buildTarget": "trading:build:production",
|
|
|
|
"dev": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"export": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/next:export",
|
2022-02-11 13:56:28 +00:00
|
|
|
"options": {
|
|
|
|
"buildTarget": "trading:build:production"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/jest:jest",
|
|
|
|
"outputs": ["{workspaceRoot}/coverage/apps/trading"],
|
2022-02-11 13:56:28 +00:00
|
|
|
"options": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"jestConfig": "apps/trading/jest.config.ts",
|
2022-02-11 13:56:28 +00:00
|
|
|
"passWithNoTests": true
|
2023-07-04 11:01:25 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"ci": {
|
|
|
|
"ci": true,
|
|
|
|
"codeCoverage": true
|
|
|
|
}
|
2022-02-11 13:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/linter:eslint",
|
2022-02-11 13:56:28 +00:00
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
|
|
|
"lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"]
|
|
|
|
}
|
2022-08-15 12:57:47 +00:00
|
|
|
},
|
|
|
|
"build-netlify": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-08-15 12:57:47 +00:00
|
|
|
"options": {
|
|
|
|
"commands": [
|
|
|
|
"cp apps/trading/netlify.toml netlify.toml",
|
|
|
|
"nx build trading"
|
|
|
|
]
|
|
|
|
}
|
2022-10-25 07:41:16 +00:00
|
|
|
},
|
|
|
|
"build-spec": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-10-25 07:41:16 +00:00
|
|
|
"outputs": [],
|
|
|
|
"options": {
|
|
|
|
"command": "yarn tsc --project ./apps/trading/tsconfig.spec.json"
|
|
|
|
}
|
2022-02-11 13:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|