Skip to content
Snippets Groups Projects
project.json 3.41 KiB
{
  "root": "apps/web-graphpolaris",
  "sourceRoot": "apps/web-graphpolaris/src",
  "projectType": "application",
  "targets": {
    "dev": {
      "executor": "@nrwl/web:dev-server",
      "options": {
        "buildTarget": "web-graphpolaris:build",
        "host": "local.datastrophe.science.uu.nl",
        "port": 4200,
        "watch": true,
        "hmr": true,
        "ssl": true,
        "sslCert": "./certs/local-cert.pem",
        "sslKey": "./certs/local-key.pem",
        "open": true
      }
    },
    "build": {
      "executor": "@nrwl/web:webpack",
      "outputs": ["{options.outputPath}"],
      "defaultConfiguration": "production",
      "options": {
        "compiler": "babel",
        "outputPath": "dist/apps/web-graphpolaris",
        "index": "apps/web-graphpolaris/src/index.html",
        "baseHref": "/",
        "main": "apps/web-graphpolaris/src/main.tsx",
        "polyfills": "apps/web-graphpolaris/src/polyfills.ts",
        "tsConfig": "apps/web-graphpolaris/tsconfig.app.json",
        "assets": [
          "apps/web-graphpolaris/src/favicon.ico",
          "apps/web-graphpolaris/src/assets"
        ],
        "styles": ["apps/web-graphpolaris/src/styles.scss"],
        "scripts": [],
        "webpackConfig": "@nrwl/react/plugins/webpack"
      },
      "configurations": {
        "production": {
          "fileReplacements": [
            {
              "replace": "apps/graphpolaris/src/environments/environment.ts",
              "with": "apps/graphpolaris/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": "web-graphpolaris:build",
        "hmr": true
      },
      "configurations": {
        "production": {
          "buildTarget": "web-graphpolaris:build:production",
          "hmr": false
        }
      }
    },
    "lint": {
      "executor": "@nrwl/linter:eslint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["apps/graphpolaris/**/*.{ts,tsx,js,jsx}"]
      }
    },
    "test": {
      "executor": "@nrwl/jest:jest",
      "outputs": ["coverage/apps/graphpolaris"],
      "options": {
        "jestConfig": "apps/web-graphpolaris/jest.config.js",
        "passWithNoTests": true
      }
    },
    "version": {
      "executor": "@jscutlery/semver:version",
      "options": {
        "commitMessageFormat": "chore(${projectName}): release version ${version}"
      }
    },
    "storybook": {
      "executor": "@nrwl/storybook:storybook",
      "options": {
        "uiFramework": "@storybook/react",
        "port": 4400,
        "config": {
          "configFolder": "apps/web-graphpolaris/.storybook"
        }
      },
      "configurations": {
        "ci": {
          "quiet": true
        }
      }
    },
    "build-storybook": {
      "executor": "@nrwl/storybook:build",
      "outputs": ["{options.outputPath}"],
      "options": {
        "uiFramework": "@storybook/react",
        "outputPath": "dist/storybook/graphpolaris",
        "config": {
          "configFolder": "apps/web-graphpolaris/.storybook"
        }
      },
      "configurations": {
        "ci": {
          "quiet": true
        }
      }
    }
  },
  "tags": []
}