UNPKG

roc

Version:

Build modern web applications easily

915 lines 20 kB
{ "type": "Program", "start": 0, "end": 494, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 22, "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": "ExportNamedDeclaration", "start": 39, "end": 153, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 9, "column": 25 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 52, "end": 57, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 9 } }, "local": { "type": "Identifier", "start": 52, "end": 57, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 9 } }, "name": "merge" }, "exported": { "type": "Identifier", "start": 52, "end": 57, "loc": { "start": { "line": 4, "column": 4 }, "end": { "line": 4, "column": 9 } }, "name": "merge" } }, { "type": "ExportSpecifier", "start": 63, "end": 72, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 13 } }, "local": { "type": "Identifier", "start": 63, "end": 72, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 13 } }, "name": "getConfig" }, "exported": { "type": "Identifier", "start": 63, "end": 72, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 13 } }, "name": "getConfig" } }, { "type": "ExportSpecifier", "start": 78, "end": 90, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 16 } }, "local": { "type": "Identifier", "start": 78, "end": 90, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 16 } }, "name": "appendConfig" }, "exported": { "type": "Identifier", "start": 78, "end": 90, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 16 } }, "name": "appendConfig" } }, { "type": "ExportSpecifier", "start": 96, "end": 107, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } }, "local": { "type": "Identifier", "start": 96, "end": 107, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } }, "name": "getSettings" }, "exported": { "type": "Identifier", "start": 96, "end": 107, "loc": { "start": { "line": 7, "column": 4 }, "end": { "line": 7, "column": 15 } }, "name": "getSettings" } }, { "type": "ExportSpecifier", "start": 113, "end": 127, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 18 } }, "local": { "type": "Identifier", "start": 113, "end": 127, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 18 } }, "name": "appendSettings" }, "exported": { "type": "Identifier", "start": 113, "end": 127, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 18 } }, "name": "appendSettings" } } ], "source": { "type": "Literal", "start": 135, "end": 152, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 24 } }, "value": "./configuration", "rawValue": "./configuration", "raw": "'./configuration'" } }, { "type": "ExportNamedDeclaration", "start": 155, "end": 246, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 91 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 164, "end": 193, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 38 } }, "local": { "type": "Identifier", "start": 164, "end": 193, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 38 } }, "name": "generateMarkdownDocumentation" }, "exported": { "type": "Identifier", "start": 164, "end": 193, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 38 } }, "name": "generateMarkdownDocumentation" } }, { "type": "ExportSpecifier", "start": 195, "end": 220, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 65 } }, "local": { "type": "Identifier", "start": 195, "end": 220, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 65 } }, "name": "generateTextDocumentation" }, "exported": { "type": "Identifier", "start": 195, "end": 220, "loc": { "start": { "line": 11, "column": 40 }, "end": { "line": 11, "column": 65 } }, "name": "generateTextDocumentation" } } ], "source": { "type": "Literal", "start": 228, "end": 245, "loc": { "start": { "line": 11, "column": 73 }, "end": { "line": 11, "column": 90 } }, "value": "./documentation", "rawValue": "./documentation", "raw": "'./documentation'" } }, { "type": "ExportNamedDeclaration", "start": 248, "end": 279, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 13, "column": 31 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 257, "end": 263, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 15 } }, "local": { "type": "Identifier", "start": 257, "end": 263, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 15 } }, "name": "runCli" }, "exported": { "type": "Identifier", "start": 257, "end": 263, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 15 } }, "name": "runCli" } } ], "source": { "type": "Literal", "start": 271, "end": 278, "loc": { "start": { "line": 13, "column": 23 }, "end": { "line": 13, "column": 30 } }, "value": "./cli", "rawValue": "./cli", "raw": "'./cli'" } }, { "type": "ExportNamedDeclaration", "start": 281, "end": 321, "loc": { "start": { "line": 15, "column": 0 }, "end": { "line": 15, "column": 40 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 290, "end": 298, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 17 } }, "local": { "type": "Identifier", "start": 290, "end": 298, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 17 } }, "name": "validate" }, "exported": { "type": "Identifier", "start": 290, "end": 298, "loc": { "start": { "line": 15, "column": 9 }, "end": { "line": 15, "column": 17 } }, "name": "validate" } } ], "source": { "type": "Literal", "start": 306, "end": 320, "loc": { "start": { "line": 15, "column": 25 }, "end": { "line": 15, "column": 39 } }, "value": "./validation", "rawValue": "./validation", "raw": "'./validation'" } }, { "type": "ExportNamedDeclaration", "start": 323, "end": 363, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 40 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 332, "end": 339, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 16 } }, "local": { "type": "Identifier", "start": 332, "end": 339, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 16 } }, "name": "execute" }, "exported": { "type": "Identifier", "start": 332, "end": 339, "loc": { "start": { "line": 17, "column": 9 }, "end": { "line": 17, "column": 16 } }, "name": "execute" } } ], "source": { "type": "Literal", "start": 347, "end": 362, "loc": { "start": { "line": 17, "column": 24 }, "end": { "line": 17, "column": 39 } }, "value": "./cli/execute", "rawValue": "./cli/execute", "raw": "'./cli/execute'" } }, { "type": "ExportNamedDeclaration", "start": 365, "end": 421, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 56 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 374, "end": 389, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 } }, "local": { "type": "Identifier", "start": 374, "end": 389, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 } }, "name": "getAbsolutePath" }, "exported": { "type": "Identifier", "start": 374, "end": 389, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 24 } }, "name": "getAbsolutePath" } }, { "type": "ExportSpecifier", "start": 391, "end": 401, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 36 } }, "local": { "type": "Identifier", "start": 391, "end": 401, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 36 } }, "name": "fileExists" }, "exported": { "type": "Identifier", "start": 391, "end": 401, "loc": { "start": { "line": 19, "column": 26 }, "end": { "line": 19, "column": 36 } }, "name": "fileExists" } } ], "source": { "type": "Literal", "start": 409, "end": 420, "loc": { "start": { "line": 19, "column": 44 }, "end": { "line": 19, "column": 55 } }, "value": "./helpers", "rawValue": "./helpers", "raw": "'./helpers'" } }, { "type": "ExportNamedDeclaration", "start": 423, "end": 493, "loc": { "start": { "line": 21, "column": 0 }, "end": { "line": 21, "column": 70 } }, "declaration": null, "specifiers": [ { "type": "ExportSpecifier", "start": 432, "end": 445, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 22 } }, "local": { "type": "Identifier", "start": 432, "end": 445, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 22 } }, "name": "defaultPrompt" }, "exported": { "type": "Identifier", "start": 432, "end": 445, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 22 } }, "name": "defaultPrompt" } } ], "source": { "type": "Literal", "start": 453, "end": 492, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 69 } }, "value": "./bin/commands/helpers/default-prompt", "rawValue": "./bin/commands/helpers/default-prompt", "raw": "'./bin/commands/helpers/default-prompt'" } } ] }