2022-02-15 14:12:27 +00:00
|
|
|
{
|
|
|
|
"root": "apps/explorer",
|
|
|
|
"sourceRoot": "apps/explorer/src",
|
|
|
|
"projectType": "application",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
|
|
|
"executor": "@nrwl/web:webpack",
|
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"compiler": "babel",
|
|
|
|
"outputPath": "dist/apps/explorer",
|
|
|
|
"index": "apps/explorer/src/index.html",
|
|
|
|
"baseHref": "/",
|
|
|
|
"main": "apps/explorer/src/main.tsx",
|
|
|
|
"polyfills": "apps/explorer/src/polyfills.ts",
|
|
|
|
"tsConfig": "apps/explorer/tsconfig.app.json",
|
|
|
|
"assets": ["apps/explorer/src/favicon.ico", "apps/explorer/src/assets"],
|
2022-03-03 14:25:15 +00:00
|
|
|
"styles": ["apps/explorer/src/styles.css"],
|
2022-02-15 14:12:27 +00:00
|
|
|
"scripts": [],
|
|
|
|
"webpackConfig": "@nrwl/react/plugins/webpack"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "apps/explorer/src/environments/environment.ts",
|
|
|
|
"with": "apps/explorer/src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"executor": "@nrwl/web:dev-server",
|
|
|
|
"options": {
|
|
|
|
"buildTarget": "explorer:build",
|
|
|
|
"hmr": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"buildTarget": "explorer:build:production",
|
|
|
|
"hmr": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"executor": "@nrwl/linter:eslint",
|
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
|
|
|
"lintFilePatterns": ["apps/explorer/**/*.{ts,tsx,js,jsx}"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"executor": "@nrwl/jest:jest",
|
|
|
|
"outputs": ["coverage/apps/explorer"],
|
|
|
|
"options": {
|
|
|
|
"jestConfig": "apps/explorer/jest.config.js",
|
|
|
|
"passWithNoTests": true
|
|
|
|
}
|
2022-02-17 00:21:49 +00:00
|
|
|
},
|
|
|
|
"generate": {
|
|
|
|
"builder": "@nrwl/workspace:run-commands",
|
|
|
|
"options": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "npx apollo codegen:generate --config=apps/explorer/apollo.config.js --target=typescript --globalTypesFile=apps/explorer/src/__generated__/globalTypes.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-03-07 15:27:38 +00:00
|
|
|
},
|
2022-03-07 15:30:00 +00:00
|
|
|
"build-netlify": {
|
2022-03-07 15:27:38 +00:00
|
|
|
"builder": "@nrwl/workspace:run-commands",
|
|
|
|
"options": {
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "cp apps/explorer/netlify.toml netlify.toml"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"command": "nx build explorer"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-02-15 14:12:27 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|