{ "name": "graph-client", "$schema": "../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "graph/client/src", "projectType": "application", "targets": { "generate-dev-environment-js": { "executor": "nx:run-commands", "options": { "commands": [ "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/generate-graph-environment.ts" ] } }, "generate-graph-base": { "executor": "nx:run-commands", "options": { "commands": [ "ts-node -P ./scripts/tsconfig.scripts.json ./scripts/generate-graph.ts" ] } }, "generate-graph": { "executor": "nx:run-commands", "options": { "commands": [ "npx nx run graph-client:generate-graph-base", "npx nx run graph-client:generate-dev-environment-js" ], "parallel": false } }, "build-base": { "executor": "@nrwl/webpack:webpack", "options": { "maxWorkers": 8, "outputPath": "build/apps/graph", "index": "graph/client/src/index.html", "main": "graph/client/src/main.tsx", "polyfills": "graph/client/src/polyfills.ts", "tsConfig": "graph/client/tsconfig.app.json", "styles": ["graph/client/src/styles.css"], "scripts": [], "assets": [], "webpackConfig": "graph/client/webpack.config.js", "optimization": false, "outputHashing": "none", "sourceMap": true, "extractCss": true, "namedChunks": false, "extractLicenses": false, "vendorChunk": true, "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "5mb" } ], "babelUpwardRootMode": true }, "configurations": { "dev": { "assets": [ "graph/client/src/favicon.ico", "graph/client/src/assets/project-graphs/", "graph/client/src/assets/task-graphs/", "graph/client/src/assets/generated-project-graphs/", "graph/client/src/assets/generated-task-graphs/", { "input": "graph/client/src/assets/dev", "output": "/", "glob": "environment.js" } ] }, "dev-e2e": { "assets": [ "graph/client/src/favicon.ico", "graph/client/src/assets/project-graphs/", "graph/client/src/assets/task-graphs/", { "input": "graph/client/src/assets/dev-e2e", "output": "/", "glob": "environment.js" } ] }, "nx-console": { "assets": [ "graph/client/src/favicon.ico", { "input": "graph/client/src/assets/project-graphs", "output": "/assets/project-graphs", "glob": "e2e.json" }, { "input": "graph/client/src/assets/nx-console", "output": "/", "glob": "environment.js" } ] }, "release": { "assets": [ "graph/client/src/favicon.ico", { "input": "graph/client/src/assets/project-graphs", "output": "/assets/project-graphs", "glob": "e2e.json" }, { "input": "graph/client/src/assets/task-graphs", "output": "/assets/task-graphs", "glob": "e2e.json" }, { "input": "graph/client/src/assets/release", "output": "/", "glob": "environment.js" } ], "optimization": true, "sourceMap": false, "extractCss": true, "namedChunks": false, "extractLicenses": true, "vendorChunk": false, "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "5mb" } ] }, "release-static": { "assets": [ "graph/client/src/favicon.ico", { "input": "graph/client/src/assets/project-graphs", "output": "/assets/project-graphs", "glob": "e2e.json" }, { "input": "graph/client/src/assets/task-graphs", "output": "/assets/task-graphs", "glob": "e2e.json" }, { "input": "graph/client/src/assets/release-static", "output": "/", "glob": "environment.js" } ], "optimization": true, "sourceMap": false, "extractCss": true, "namedChunks": false, "extractLicenses": true, "vendorChunk": false, "budgets": [ { "type": "initial", "maximumWarning": "2mb", "maximumError": "5mb" } ] }, "watch": { "assets": [ "graph/client/src/favicon.ico", { "input": "graph/client/src/assets/watch", "output": "/", "glob": "environment.js" } ] } }, "defaultConfiguration": "release", "outputs": ["{options.outputPath}"] }, "serve-base": { "executor": "@nrwl/webpack:dev-server", "configurations": { "dev": { "buildTarget": "graph-client:build-base:dev", "port": 4201 }, "nx-console": { "buildTarget": "graph-client:build-base:nx-console", "port": 4202 }, "release": { "buildTarget": "graph-client:build-base:release", "port": 4203 }, "watch": { "buildTarget": "graph-client:build-base:watch", "port": 4204 }, "release-static": { "buildTarget": "graph-client:build-base:release-static", "port": 4205 }, "dev-e2e": { "buildTarget": "graph-client:build-base:dev-e2e", "port": 4206 } }, "defaultConfiguration": "dev" }, "serve": { "executor": "nx:run-commands", "configurations": { "dev": { "commands": [ "npx nx run graph-client:generate-dev-environment-js", "npx nx serve-base graph-client" ], "parallel": false }, "release": { "commands": ["npx nx serve-base graph-client --configuration release"] }, "release-static": { "commands": [ "npx nx serve-base graph-client --configuration release-static" ] }, "watch": { "commands": ["npx nx serve-base graph-client --configuration watch"] }, "nx-console": { "commands": [ "npx nx serve-base graph-client --configuration nx-console" ] } }, "defaultConfiguration": "dev" }, "lint": {}, "test": {}, "storybook": { "executor": "@nrwl/storybook:storybook", "options": { "uiFramework": "@storybook/react", "port": 4400, "configDir": "graph/client/.storybook" }, "configurations": { "ci": { "quiet": true } } }, "build-storybook": { "executor": "@nrwl/storybook:build", "outputs": ["{options.outputDir}"], "options": { "uiFramework": "@storybook/react", "configDir": "graph/client/.storybook", "outputDir": "dist/storybook/graph-client" }, "configurations": { "ci": { "quiet": true } } } }, "tags": [] }