2022-02-11 13:56:28 +00:00
|
|
|
{
|
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": {
|
2022-07-06 15:53:35 +00:00
|
|
|
"executor": "./tools/executors/next:build",
|
2022-02-11 13:56:28 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"root": "apps/trading",
|
|
|
|
"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": {
|
2022-07-06 15:53:35 +00:00
|
|
|
"executor": "./tools/executors/next:serve",
|
2022-02-11 13:56:28 +00:00
|
|
|
"options": {
|
|
|
|
"buildTarget": "trading:build",
|
|
|
|
"dev": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"buildTarget": "trading:build:production",
|
|
|
|
"dev": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"export": {
|
2022-11-09 02:59:49 +00:00
|
|
|
"executor": "./tools/executors/next:export",
|
2022-02-11 13:56:28 +00:00
|
|
|
"options": {
|
|
|
|
"buildTarget": "trading:build:production"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"executor": "@nrwl/jest:jest",
|
|
|
|
"outputs": ["coverage/apps/trading"],
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"executor": "@nrwl/linter:eslint",
|
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
|
|
|
"lintFilePatterns": ["apps/trading/**/*.{ts,tsx,js,jsx}"]
|
|
|
|
}
|
2022-08-15 12:57:47 +00:00
|
|
|
},
|
|
|
|
"build-netlify": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"executor": "@nrwl/workspace: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": {
|
|
|
|
"executor": "@nrwl/workspace:run-commands",
|
|
|
|
"outputs": [],
|
|
|
|
"options": {
|
|
|
|
"command": "yarn tsc --project ./apps/trading/tsconfig.spec.json"
|
|
|
|
}
|
2022-02-11 13:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|