2022-03-23 17:40:15 +00:00
|
|
|
{
|
2022-03-24 12:04:01 +00:00
|
|
|
"root": "apps/stats",
|
|
|
|
"sourceRoot": "apps/stats/src",
|
2022-03-23 17:40:15 +00:00
|
|
|
"projectType": "application",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "@nrwl/web:webpack",
|
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"compiler": "babel",
|
2022-03-24 12:04:01 +00:00
|
|
|
"outputPath": "dist/apps/stats",
|
|
|
|
"index": "apps/stats/src/index.html",
|
|
|
|
"main": "apps/stats/src/main.tsx",
|
|
|
|
"polyfills": "apps/stats/src/polyfills.ts",
|
|
|
|
"tsConfig": "apps/stats/tsconfig.app.json",
|
2022-04-06 10:36:36 +00:00
|
|
|
"assets": ["apps/stats/src/assets"],
|
2022-03-24 12:04:01 +00:00
|
|
|
"styles": ["apps/stats/src/styles/styles.css"],
|
2022-03-23 17:40:15 +00:00
|
|
|
"scripts": [],
|
|
|
|
"webpackConfig": "@nrwl/react/plugins/webpack"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
2022-03-24 12:04:01 +00:00
|
|
|
"replace": "apps/stats/src/environments/environment.ts",
|
|
|
|
"with": "apps/stats/src/environments/environment.prod.ts"
|
2022-03-23 17:40:15 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2022-05-23 09:56:11 +00:00
|
|
|
"executor": "./tools/executors/serve:serve",
|
2022-03-23 17:40:15 +00:00
|
|
|
"options": {
|
|
|
|
"port": 3010,
|
2022-03-24 12:04:01 +00:00
|
|
|
"buildTarget": "stats:build",
|
2022-03-23 17:40:15 +00:00
|
|
|
"hmr": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2022-03-24 12:04:01 +00:00
|
|
|
"buildTarget": "stats:build:production",
|
2022-03-23 17:40:15 +00:00
|
|
|
"hmr": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"executor": "@nrwl/linter:eslint",
|
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
2022-03-24 12:04:01 +00:00
|
|
|
"lintFilePatterns": ["apps/stats/**/*.{ts,tsx,js,jsx}"]
|
2022-03-23 17:40:15 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"executor": "@nrwl/jest:jest",
|
2022-03-24 12:04:01 +00:00
|
|
|
"outputs": ["coverage/apps/stats"],
|
2022-03-23 17:40:15 +00:00
|
|
|
"options": {
|
2022-03-24 12:04:01 +00:00
|
|
|
"jestConfig": "apps/stats/jest.config.js",
|
2022-03-23 17:40:15 +00:00
|
|
|
"passWithNoTests": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|