{
  "name": "typescript",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "packages/typescript/src",
  "projectType": "library",
  "tags": ["type:pkg"],
  "targets": {
    "build": {
      "executor": "@nx/js:tsc",
      "outputs": ["{workspaceRoot}/packages/typescript/dist"],
      "options": {
        "outputPath": "packages/typescript/dist",
        "main": "packages/typescript/src/index.ts",
        "tsConfig": "packages/typescript/tsconfig.lib.json",
        "assets": ["packages/typescript/*.md"],
        "skipTypeCheck": true
      },
      "dependsOn": [
        {
          "target": "build",
          "dependencies": true
        }
      ]
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["packages/typescript/**/*.ts"]
      }
    },
    "test": {
      "executor": "@nx/jest:jest",
      "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
      "options": {
        "jestConfig": "packages/typescript/jest.config.ts",
        "passWithNoTests": true
      },
      "configurations": {
        "ci": {
          "ci": true,
          "codeCoverage": true
        }
      }
    },
    "pre-release": {
      "executor": "nx:run-commands",
      "options": {
        "parallel": false,
        "commands": [
          {
            "command": "nx run typescript:test",
            "forwardAllArgs": false
          },
          {
            "command": "nx run typescript:build",
            "forwardAllArgs": false
          }
        ]
      }
    }
  }
}
