018e5fe139
* add sentry setup, add VEGA_ENV to env files * rename custom error page * capture exception for eager connect * add link to setup docs in comment * add browser tracing plugin * define sentry auth token once * enable sourcemaps on build * use correct sentry config property
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"root": "apps/trading",
|
|
"sourceRoot": "apps/trading",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/next:build",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"root": "apps/trading",
|
|
"outputPath": "dist/apps/trading"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"optimization": true,
|
|
"sourceMap": true
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nrwl/next:server",
|
|
"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}"]
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|