Skip to content
Snippets Groups Projects
turbo.json 962 B
Newer Older
  • Learn to ignore specific revisions
  • {
      "$schema": "https://turbo.build/schema.json",
    
      "globalDependencies": ["**/.env*", "tsconfig.json", ".eslintrc.js", ".eslintignore", ".prettierrc.yaml"],
    
        "build-env": {
          "dependsOn": ["^build-env"],
          "outputs": ["dist/**"]
        },
        "preview": {
          "dependsOn": ["^preview"],
          "outputs": ["dist/**", ".next/**"]
        },
    
        "build": {
          "dependsOn": ["^build"],
          "outputs": ["dist/**", ".next/**"]
        },
    
        "type": {
          "outputs": ["tsconfig.tsbuildinfo"]
        },
    
        "build-dev": {
          "dependsOn": ["^build-dev"],
          "outputs": ["dist/**", ".next/**"]
        },
    
    Leonardo Christino's avatar
    Leonardo Christino committed
        "lint": {
          "cache": false
        },
    
          "cache": false,
          "persistent": true
    
        },
        "sb": {
          "outputs": ["storybook-static/**"]
    
        },
        "push": {
          "dependsOn": ["^lint", "^test", "^build"],
          "outputs": ["dist/**", ".next/**"]