Skip to content

Let's use AI to Earn!

2.2 KB
Raw Blame
{
  "name": "aitoearn-ai",
  "$schema": "../../node_modules/nx/schemas/project-schema.json",
  "sourceRoot": "apps/aitoearn-ai/src",
  "projectType": "application",
  "tags": [],
  "targets": {
    "build": {
      "executor": "@nx/js:tsc",
      "outputs": ["{options.outputPath}"],
      "options": {
        "outputPath": "dist/apps/aitoearn-ai",
        "tsConfig": "apps/aitoearn-ai/tsconfig.app.json",
        "packageJson": "apps/aitoearn-ai/package.json",
        "main": "apps/aitoearn-ai/src/main.ts",
        "assets": [
          "apps/aitoearn-ai/*.md",
          {
            "glob": "**/*",
            "input": "apps/aitoearn-ai/src/core/agent/skills",
            "output": "src/core/agent/skills"
          }
        ],
        "generatePackageJson": true,
        "clean": true
      }
    },
    "prune-lockfile": {
      "dependsOn": ["build"],
      "cache": true,
      "executor": "@nx/js:prune-lockfile",
      "outputs": [
        "{workspaceRoot}/dist/apps/aitoearn-ai/package.json",
        "{workspaceRoot}/dist/apps/aitoearn-ai/pnpm-lock.yaml"
      ],
      "options": {
        "buildTarget": "build"
      }
    },
    "serve": {
      "continuous": true,
      "executor": "@nx/js:node",
      "defaultConfiguration": "local",
      "dependsOn": ["build"],
      "options": {
        "buildTarget": "aitoearn-ai:build",
        "runBuildTargetDependencies": false
      },
      "configurations": {
        "local": {
          "buildTarget": "aitoearn-ai:build:development",
          "args": [
            "-c",
            "{workspaceRoot}/apps/aitoearn-ai/config/local.config.yaml"
          ]
        },
        "dev": {
          "buildTarget": "aitoearn-ai:build:development",
          "args": [
            "-c",
            "{workspaceRoot}/apps/aitoearn-ai/config/dev.config.yaml"
          ]
        },
        "prod": {
          "buildTarget": "aitoearn-ai:build:production",
          "args": [
            "-c",
            "{workspaceRoot}/apps/aitoearn-ai/config/prod.config.yaml"
          ]
        }
      }
    },
    "lint": {
      "executor": "@nx/eslint:lint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "fix": true
      }
    },
    "docker-context": {},
    "docker-build": {}
  }
}