2022-05-12 09:56:21 +00:00
|
|
|
{
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2022-08-23 14:02:08 +00:00
|
|
|
"sourceRoot": "apps/console-lite/src",
|
2022-05-12 09:56:21 +00:00
|
|
|
"projectType": "application",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2022-07-06 15:53:35 +00:00
|
|
|
"executor": "./tools/executors/webpack:build",
|
2022-05-12 09:56:21 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"compiler": "babel",
|
2022-08-23 14:02:08 +00:00
|
|
|
"outputPath": "dist/apps/console-lite",
|
|
|
|
"index": "apps/console-lite/src/index.html",
|
2022-05-12 09:56:21 +00:00
|
|
|
"baseHref": "/",
|
2022-08-23 14:02:08 +00:00
|
|
|
"main": "apps/console-lite/src/main.tsx",
|
|
|
|
"polyfills": "apps/console-lite/src/polyfills.ts",
|
|
|
|
"tsConfig": "apps/console-lite/tsconfig.app.json",
|
2022-05-12 09:56:21 +00:00
|
|
|
"assets": [
|
2022-08-23 14:02:08 +00:00
|
|
|
"apps/console-lite/src/favicon.ico",
|
|
|
|
"apps/console-lite/src/assets"
|
2022-05-12 09:56:21 +00:00
|
|
|
],
|
2022-08-23 14:02:08 +00:00
|
|
|
"styles": ["apps/console-lite/src/styles.scss"],
|
2022-05-12 09:56:21 +00:00
|
|
|
"scripts": [],
|
|
|
|
"webpackConfig": "@nrwl/react/plugins/webpack"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
2022-08-23 14:02:08 +00:00
|
|
|
"replace": "apps/console-lite/src/environments/environment.ts",
|
|
|
|
"with": "apps/console-lite/src/environments/environment.prod.ts"
|
2022-05-12 09:56:21 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2022-07-06 15:53:35 +00:00
|
|
|
"executor": "./tools/executors/webpack:serve",
|
2022-05-12 09:56:21 +00:00
|
|
|
"options": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"buildTarget": "console-lite:build:development",
|
2022-05-12 09:56:21 +00:00
|
|
|
"hmr": true,
|
|
|
|
"port": 4001
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2022-08-23 14:02:08 +00:00
|
|
|
"buildTarget": "console-lite:build:production",
|
2022-05-12 09:56:21 +00:00
|
|
|
"hmr": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"executor": "@nrwl/linter:eslint",
|
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
2022-08-23 14:02:08 +00:00
|
|
|
"lintFilePatterns": ["apps/console-lite/**/*.{ts,tsx,js,jsx}"]
|
2022-05-12 09:56:21 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"executor": "@nrwl/jest:jest",
|
2022-08-23 14:02:08 +00:00
|
|
|
"outputs": ["coverage/apps/console-lite"],
|
2022-05-12 09:56:21 +00:00
|
|
|
"options": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"jestConfig": "apps/console-lite/jest.config.ts",
|
2022-05-12 09:56:21 +00:00
|
|
|
"passWithNoTests": true
|
|
|
|
}
|
2022-07-04 06:26:59 +00:00
|
|
|
},
|
|
|
|
"build-netlify": {
|
2022-08-31 04:35:46 +00:00
|
|
|
"executor": "@nrwl/workspace:run-commands",
|
2022-07-04 06:26:59 +00:00
|
|
|
"options": {
|
|
|
|
"commands": [
|
2022-08-23 14:02:08 +00:00
|
|
|
"cp apps/console-lite/netlify.toml netlify.toml",
|
|
|
|
"nx build console-lite"
|
2022-07-04 06:26:59 +00:00
|
|
|
]
|
|
|
|
}
|
2022-05-12 09:56:21 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|