domjtalbot/nx-mesh

View on GitHub
examples/sdk-nextjs/project.json

Summary

Maintainability
Test Coverage
{
  "name": "examples-sdk-nextjs",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "examples/sdk-nextjs",
  "projectType": "application",
  "implicitDependencies": ["nx-mesh"],
  "targets": {
    "build": {
      "executor": "@nrwl/next:build",
      "outputs": ["{options.outputPath}"],
      "defaultConfiguration": "production",
      "options": {
        "root": "examples/sdk-nextjs",
        "outputPath": "dist/examples/sdk-nextjs"
      },
      "configurations": {
        "development": {
          "outputPath": "examples/sdk-nextjs"
        },
        "production": {}
      }
    },
    "serve": {
      "executor": "@nrwl/next:server",
      "defaultConfiguration": "development",
      "options": {
        "buildTarget": "examples-sdk-nextjs:build",
        "dev": true
      },
      "configurations": {
        "development": {
          "buildTarget": "examples-sdk-nextjs:build:development",
          "dev": true
        },
        "production": {
          "buildTarget": "examples-sdk-nextjs:build:production",
          "dev": false
        }
      }
    },
    "export": {
      "executor": "@nrwl/next:export",
      "options": {
        "buildTarget": "examples-sdk-nextjs:build:production"
      }
    },
    "test": {
      "executor": "@nrwl/jest:jest",
      "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
      "options": {
        "jestConfig": "examples/sdk-nextjs/jest.config.ts",
        "passWithNoTests": true
      }
    },
    "lint": {
      "executor": "@nrwl/linter:eslint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["examples/sdk-nextjs/**/*.{ts,tsx,js,jsx}"]
      }
    }
  },
  "tags": ["type:example", "type:nextjs"]
}