83982ee3d8
* fix: clean-up of package.json and exclude swc/core-linux-x64 libs * chore: try remove node_modules/@swc/core-linux-x64-gnu/swc.linux-x64-gnu.node * Update apps/trading/netlify.toml
67 lines
1.6 KiB
JSON
67 lines
1.6 KiB
JSON
{
|
|
"root": "apps/trading",
|
|
"sourceRoot": "apps/trading",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "./tools/executors/next:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"root": "apps/trading",
|
|
"outputPath": "dist/apps/trading"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"sourceMap": true
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "./tools/executors/next:serve",
|
|
"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}"]
|
|
}
|
|
},
|
|
"build-netlify": {
|
|
"builder": "@nrwl/workspace:run-commands",
|
|
"options": {
|
|
"commands": [
|
|
"cp apps/trading/netlify.toml netlify.toml",
|
|
"nx build trading"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|