{
  "type": "Program",
  "start": 0,
  "end": 557,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 24,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "ImportDeclaration",
      "start": 0,
      "end": 37,
      "loc": {
        "start": {
          "line": 1,
          "column": 0
        },
        "end": {
          "line": 1,
          "column": 37
        }
      },
      "specifiers": [],
      "source": {
        "type": "Literal",
        "start": 7,
        "end": 36,
        "loc": {
          "start": {
            "line": 1,
            "column": 7
          },
          "end": {
            "line": 1,
            "column": 36
          }
        },
        "value": "source-map-support/register",
        "rawValue": "source-map-support/register",
        "raw": "'source-map-support/register'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 39,
      "end": 67,
      "loc": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 3,
          "column": 28
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 46,
          "end": 52,
          "loc": {
            "start": {
              "line": 3,
              "column": 7
            },
            "end": {
              "line": 3,
              "column": 13
            }
          },
          "local": {
            "type": "Identifier",
            "start": 46,
            "end": 52,
            "loc": {
              "start": {
                "line": 3,
                "column": 7
              },
              "end": {
                "line": 3,
                "column": 13
              }
            },
            "name": "rimraf"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 58,
        "end": 66,
        "loc": {
          "start": {
            "line": 3,
            "column": 19
          },
          "end": {
            "line": 3,
            "column": 27
          }
        },
        "value": "rimraf",
        "rawValue": "rimraf",
        "raw": "'rimraf'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 69,
      "end": 107,
      "loc": {
        "start": {
          "line": 5,
          "column": 0
        },
        "end": {
          "line": 5,
          "column": 38
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 78,
          "end": 93,
          "loc": {
            "start": {
              "line": 5,
              "column": 9
            },
            "end": {
              "line": 5,
              "column": 24
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 78,
            "end": 93,
            "loc": {
              "start": {
                "line": 5,
                "column": 9
              },
              "end": {
                "line": 5,
                "column": 24
              }
            },
            "name": "getAbsolutePath"
          },
          "local": {
            "type": "Identifier",
            "start": 78,
            "end": 93,
            "loc": {
              "start": {
                "line": 5,
                "column": 9
              },
              "end": {
                "line": 5,
                "column": 24
              }
            },
            "name": "getAbsolutePath"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 101,
        "end": 106,
        "loc": {
          "start": {
            "line": 5,
            "column": 32
          },
          "end": {
            "line": 5,
            "column": 37
          }
        },
        "value": "roc",
        "rawValue": "roc",
        "raw": "'roc'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Cleans a directory\n *\n * @param {string} path - A directory that should be cleaned\n * @returns {Promise} A promise that either resolves when done or rejects if there is an error\n ",
          "start": 109,
          "end": 297,
          "loc": {
            "start": {
              "line": 7,
              "column": 0
            },
            "end": {
              "line": 12,
              "column": 3
            }
          },
          "range": [
            109,
            297
          ]
        }
      ]
    },
    {
      "type": "ExportDefaultDeclaration",
      "start": 298,
      "end": 556,
      "loc": {
        "start": {
          "line": 13,
          "column": 0
        },
        "end": {
          "line": 23,
          "column": 1
        }
      },
      "declaration": {
        "type": "FunctionDeclaration",
        "start": 313,
        "end": 556,
        "loc": {
          "start": {
            "line": 13,
            "column": 15
          },
          "end": {
            "line": 23,
            "column": 1
          }
        },
        "id": {
          "type": "Identifier",
          "start": 322,
          "end": 327,
          "loc": {
            "start": {
              "line": 13,
              "column": 24
            },
            "end": {
              "line": 13,
              "column": 29
            }
          },
          "name": "clean",
          "leadingComments": null
        },
        "generator": false,
        "expression": false,
        "async": false,
        "params": [
          {
            "type": "Identifier",
            "start": 328,
            "end": 332,
            "loc": {
              "start": {
                "line": 13,
                "column": 30
              },
              "end": {
                "line": 13,
                "column": 34
              }
            },
            "name": "path"
          }
        ],
        "body": {
          "type": "BlockStatement",
          "start": 334,
          "end": 556,
          "loc": {
            "start": {
              "line": 13,
              "column": 36
            },
            "end": {
              "line": 23,
              "column": 1
            }
          },
          "body": [
            {
              "type": "ReturnStatement",
              "start": 340,
              "end": 554,
              "loc": {
                "start": {
                  "line": 14,
                  "column": 4
                },
                "end": {
                  "line": 22,
                  "column": 7
                }
              },
              "argument": {
                "type": "NewExpression",
                "start": 347,
                "end": 553,
                "loc": {
                  "start": {
                    "line": 14,
                    "column": 11
                  },
                  "end": {
                    "line": 22,
                    "column": 6
                  }
                },
                "callee": {
                  "type": "Identifier",
                  "start": 351,
                  "end": 358,
                  "loc": {
                    "start": {
                      "line": 14,
                      "column": 15
                    },
                    "end": {
                      "line": 14,
                      "column": 22
                    }
                  },
                  "name": "Promise"
                },
                "arguments": [
                  {
                    "type": "ArrowFunctionExpression",
                    "start": 359,
                    "end": 552,
                    "loc": {
                      "start": {
                        "line": 14,
                        "column": 23
                      },
                      "end": {
                        "line": 22,
                        "column": 5
                      }
                    },
                    "id": null,
                    "generator": false,
                    "expression": false,
                    "async": false,
                    "params": [
                      {
                        "type": "Identifier",
                        "start": 360,
                        "end": 367,
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 24
                          },
                          "end": {
                            "line": 14,
                            "column": 31
                          }
                        },
                        "name": "resolve"
                      },
                      {
                        "type": "Identifier",
                        "start": 369,
                        "end": 375,
                        "loc": {
                          "start": {
                            "line": 14,
                            "column": 33
                          },
                          "end": {
                            "line": 14,
                            "column": 39
                          }
                        },
                        "name": "reject"
                      }
                    ],
                    "body": {
                      "type": "BlockStatement",
                      "start": 380,
                      "end": 552,
                      "loc": {
                        "start": {
                          "line": 14,
                          "column": 44
                        },
                        "end": {
                          "line": 22,
                          "column": 5
                        }
                      },
                      "body": [
                        {
                          "type": "ExpressionStatement",
                          "start": 390,
                          "end": 546,
                          "loc": {
                            "start": {
                              "line": 15,
                              "column": 8
                            },
                            "end": {
                              "line": 21,
                              "column": 11
                            }
                          },
                          "expression": {
                            "type": "CallExpression",
                            "start": 390,
                            "end": 545,
                            "loc": {
                              "start": {
                                "line": 15,
                                "column": 8
                              },
                              "end": {
                                "line": 21,
                                "column": 10
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 390,
                              "end": 396,
                              "loc": {
                                "start": {
                                  "line": 15,
                                  "column": 8
                                },
                                "end": {
                                  "line": 15,
                                  "column": 14
                                }
                              },
                              "name": "rimraf"
                            },
                            "arguments": [
                              {
                                "type": "CallExpression",
                                "start": 397,
                                "end": 418,
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 15
                                  },
                                  "end": {
                                    "line": 15,
                                    "column": 36
                                  }
                                },
                                "callee": {
                                  "type": "Identifier",
                                  "start": 397,
                                  "end": 412,
                                  "loc": {
                                    "start": {
                                      "line": 15,
                                      "column": 15
                                    },
                                    "end": {
                                      "line": 15,
                                      "column": 30
                                    }
                                  },
                                  "name": "getAbsolutePath"
                                },
                                "arguments": [
                                  {
                                    "type": "Identifier",
                                    "start": 413,
                                    "end": 417,
                                    "loc": {
                                      "start": {
                                        "line": 15,
                                        "column": 31
                                      },
                                      "end": {
                                        "line": 15,
                                        "column": 35
                                      }
                                    },
                                    "name": "path"
                                  }
                                ]
                              },
                              {
                                "type": "ArrowFunctionExpression",
                                "start": 420,
                                "end": 544,
                                "loc": {
                                  "start": {
                                    "line": 15,
                                    "column": 38
                                  },
                                  "end": {
                                    "line": 21,
                                    "column": 9
                                  }
                                },
                                "id": null,
                                "generator": false,
                                "expression": false,
                                "async": false,
                                "params": [
                                  {
                                    "type": "Identifier",
                                    "start": 421,
                                    "end": 424,
                                    "loc": {
                                      "start": {
                                        "line": 15,
                                        "column": 39
                                      },
                                      "end": {
                                        "line": 15,
                                        "column": 42
                                      }
                                    },
                                    "name": "err"
                                  }
                                ],
                                "body": {
                                  "type": "BlockStatement",
                                  "start": 429,
                                  "end": 544,
                                  "loc": {
                                    "start": {
                                      "line": 15,
                                      "column": 47
                                    },
                                    "end": {
                                      "line": 21,
                                      "column": 9
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "IfStatement",
                                      "start": 443,
                                      "end": 503,
                                      "loc": {
                                        "start": {
                                          "line": 16,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 18,
                                          "column": 13
                                        }
                                      },
                                      "test": {
                                        "type": "Identifier",
                                        "start": 447,
                                        "end": 450,
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 16
                                          },
                                          "end": {
                                            "line": 16,
                                            "column": 19
                                          }
                                        },
                                        "name": "err"
                                      },
                                      "consequent": {
                                        "type": "BlockStatement",
                                        "start": 452,
                                        "end": 503,
                                        "loc": {
                                          "start": {
                                            "line": 16,
                                            "column": 21
                                          },
                                          "end": {
                                            "line": 18,
                                            "column": 13
                                          }
                                        },
                                        "body": [
                                          {
                                            "type": "ReturnStatement",
                                            "start": 470,
                                            "end": 489,
                                            "loc": {
                                              "start": {
                                                "line": 17,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 17,
                                                "column": 35
                                              }
                                            },
                                            "argument": {
                                              "type": "CallExpression",
                                              "start": 477,
                                              "end": 488,
                                              "loc": {
                                                "start": {
                                                  "line": 17,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 17,
                                                  "column": 34
                                                }
                                              },
                                              "callee": {
                                                "type": "Identifier",
                                                "start": 477,
                                                "end": 483,
                                                "loc": {
                                                  "start": {
                                                    "line": 17,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 17,
                                                    "column": 29
                                                  }
                                                },
                                                "name": "reject"
                                              },
                                              "arguments": [
                                                {
                                                  "type": "Identifier",
                                                  "start": 484,
                                                  "end": 487,
                                                  "loc": {
                                                    "start": {
                                                      "line": 17,
                                                      "column": 30
                                                    },
                                                    "end": {
                                                      "line": 17,
                                                      "column": 33
                                                    }
                                                  },
                                                  "name": "err"
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      },
                                      "alternate": null
                                    },
                                    {
                                      "type": "ReturnStatement",
                                      "start": 517,
                                      "end": 534,
                                      "loc": {
                                        "start": {
                                          "line": 20,
                                          "column": 12
                                        },
                                        "end": {
                                          "line": 20,
                                          "column": 29
                                        }
                                      },
                                      "argument": {
                                        "type": "CallExpression",
                                        "start": 524,
                                        "end": 533,
                                        "loc": {
                                          "start": {
                                            "line": 20,
                                            "column": 19
                                          },
                                          "end": {
                                            "line": 20,
                                            "column": 28
                                          }
                                        },
                                        "callee": {
                                          "type": "Identifier",
                                          "start": 524,
                                          "end": 531,
                                          "loc": {
                                            "start": {
                                              "line": 20,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 20,
                                              "column": 26
                                            }
                                          },
                                          "name": "resolve"
                                        },
                                        "arguments": []
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            }
          ]
        },
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Cleans a directory\n *\n * @param {string} path - A directory that should be cleaned\n * @returns {Promise} A promise that either resolves when done or rejects if there is an error\n ",
            "start": 109,
            "end": 297,
            "loc": {
              "start": {
                "line": 7,
                "column": 0
              },
              "end": {
                "line": 12,
                "column": 3
              }
            },
            "range": [
              109,
              297
            ]
          }
        ],
        "trailingComments": []
      },
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Cleans a directory\n *\n * @param {string} path - A directory that should be cleaned\n * @returns {Promise} A promise that either resolves when done or rejects if there is an error\n ",
          "start": 109,
          "end": 297,
          "loc": {
            "start": {
              "line": 7,
              "column": 0
            },
            "end": {
              "line": 12,
              "column": 3
            }
          },
          "range": [
            109,
            297
          ]
        }
      ]
    }
  ]
}