electron-forge
Version:
A complete tool for building modern Electron applications
1,830 lines (1,829 loc) • 1.05 MB
JSON
{
"type": "File",
"start": 0,
"end": 5899,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 168,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5899,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 168,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 16
}
},
"specifiers": [],
"source": {
"type": "StringLiteral",
"start": 7,
"end": 15,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 15
}
},
"extra": {
"rawValue": "colors",
"raw": "'colors'"
},
"value": "colors"
}
},
{
"type": "ImportDeclaration",
"start": 17,
"end": 43,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 26
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 24,
"end": 29,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 24,
"end": 29,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "debug"
},
"name": "debug"
}
}
],
"source": {
"type": "StringLiteral",
"start": 35,
"end": 42,
"loc": {
"start": {
"line": 2,
"column": 18
},
"end": {
"line": 2,
"column": 25
}
},
"extra": {
"rawValue": "debug",
"raw": "'debug'"
},
"value": "debug"
}
},
{
"type": "ImportDeclaration",
"start": 44,
"end": 75,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 31
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 51,
"end": 56,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 12
}
},
"local": {
"type": "Identifier",
"start": 51,
"end": 56,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 12
},
"identifierName": "fetch"
},
"name": "fetch"
}
}
],
"source": {
"type": "StringLiteral",
"start": 62,
"end": 74,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 30
}
},
"extra": {
"rawValue": "node-fetch",
"raw": "'node-fetch'"
},
"value": "node-fetch"
}
},
{
"type": "ImportDeclaration",
"start": 76,
"end": 104,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 28
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 83,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 83,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 9
},
"identifierName": "fs"
},
"name": "fs"
}
}
],
"source": {
"type": "StringLiteral",
"start": 91,
"end": 103,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 27
}
},
"extra": {
"rawValue": "fs-promise",
"raw": "'fs-promise'"
},
"value": "fs-promise"
}
},
{
"type": "ImportDeclaration",
"start": 105,
"end": 137,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 32
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 112,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 112,
"end": 120,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "inquirer"
},
"name": "inquirer"
}
}
],
"source": {
"type": "StringLiteral",
"start": 126,
"end": 136,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 31
}
},
"extra": {
"rawValue": "inquirer",
"raw": "'inquirer'"
},
"value": "inquirer"
}
},
{
"type": "ImportDeclaration",
"start": 138,
"end": 166,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 28
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 145,
"end": 151,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 145,
"end": 151,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 13
},
"identifierName": "nugget"
},
"name": "nugget"
}
}
],
"source": {
"type": "StringLiteral",
"start": 157,
"end": 165,
"loc": {
"start": {
"line": 6,
"column": 19
},
"end": {
"line": 6,
"column": 27
}
},
"extra": {
"rawValue": "nugget",
"raw": "'nugget'"
},
"value": "nugget"
}
},
{
"type": "ImportDeclaration",
"start": 167,
"end": 189,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 22
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 174,
"end": 177,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 10
}
},
"local": {
"type": "Identifier",
"start": 174,
"end": 177,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 10
},
"identifierName": "opn"
},
"name": "opn"
}
}
],
"source": {
"type": "StringLiteral",
"start": 183,
"end": 188,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 21
}
},
"extra": {
"rawValue": "opn",
"raw": "'opn'"
},
"value": "opn"
}
},
{
"type": "ImportDeclaration",
"start": 190,
"end": 210,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 20
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 197,
"end": 199,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 197,
"end": 199,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "os"
},
"name": "os"
}
}
],
"source": {
"type": "StringLiteral",
"start": 205,
"end": 209,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
}
},
"extra": {
"rawValue": "os",
"raw": "'os'"
},
"value": "os"
}
},
{
"type": "ImportDeclaration",
"start": 211,
"end": 235,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 24
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 218,
"end": 222,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 218,
"end": 222,
"loc": {
"start": {
"line": 9,
"column": 7
},
"end": {
"line": 9,
"column": 11
},
"identifierName": "path"
},
"name": "path"
}
}
],
"source": {
"type": "StringLiteral",
"start": 228,
"end": 234,
"loc": {
"start": {
"line": 9,
"column": 17
},
"end": {
"line": 9,
"column": 23
}
},
"extra": {
"rawValue": "path",
"raw": "'path'"
},
"value": "path"
}
},
{
"type": "ImportDeclaration",
"start": 236,
"end": 260,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 24
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 243,
"end": 247,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 11
}
},
"local": {
"type": "Identifier",
"start": 243,
"end": 247,
"loc": {
"start": {
"line": 10,
"column": 7
},
"end": {
"line": 10,
"column": 11
},
"identifierName": "pify"
},
"name": "pify"
}
}
],
"source": {
"type": "StringLiteral",
"start": 253,
"end": 259,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 23
}
},
"extra": {
"rawValue": "pify",
"raw": "'pify'"
},
"value": "pify"
}
},
{
"type": "ImportDeclaration",
"start": 261,
"end": 289,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 28
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 268,
"end": 274,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 268,
"end": 274,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 13
},
"identifierName": "semver"
},
"name": "semver"
}
}
],
"source": {
"type": "StringLiteral",
"start": 280,
"end": 288,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 27
}
},
"extra": {
"rawValue": "semver",
"raw": "'semver'"
},
"value": "semver"
}
},
{
"type": "ImportDeclaration",
"start": 291,
"end": 334,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"column": 43
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 298,
"end": 306,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 15
}
},
"local": {
"type": "Identifier",
"start": 298,
"end": 306,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "asyncOra"
},
"name": "asyncOra"
}
}
],
"source": {
"type": "StringLiteral",
"start": 312,
"end": 333,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 42
}
},
"extra": {
"rawValue": "../util/ora-handler",
"raw": "'../util/ora-handler'"
},
"value": "../util/ora-handler"
}
},
{
"type": "ImportDeclaration",
"start": 336,
"end": 394,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 58
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 343,
"end": 361,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 25
}
},
"local": {
"type": "Identifier",
"start": 343,
"end": 361,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 25
},
"identifierName": "darwinDMGInstaller"
},
"name": "darwinDMGInstaller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 367,
"end": 393,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"column": 57
}
},
"extra": {
"rawValue": "../installers/darwin/dmg",
"raw": "'../installers/darwin/dmg'"
},
"value": "../installers/darwin/dmg"
}
},
{
"type": "ImportDeclaration",
"start": 395,
"end": 453,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 58
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 402,
"end": 420,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 25
}
},
"local": {
"type": "Identifier",
"start": 402,
"end": 420,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 25
},
"identifierName": "darwinZipInstaller"
},
"name": "darwinZipInstaller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 426,
"end": 452,
"loc": {
"start": {
"line": 16,
"column": 31
},
"end": {
"line": 16,
"column": 57
}
},
"extra": {
"rawValue": "../installers/darwin/zip",
"raw": "'../installers/darwin/zip'"
},
"value": "../installers/darwin/zip"
}
},
{
"type": "ImportDeclaration",
"start": 454,
"end": 510,
"loc": {
"start": {
"line": 17,
"column": 0
},
"end": {
"line": 17,
"column": 56
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 461,
"end": 478,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 24
}
},
"local": {
"type": "Identifier",
"start": 461,
"end": 478,
"loc": {
"start": {
"line": 17,
"column": 7
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "linuxDebInstaller"
},
"name": "linuxDebInstaller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 484,
"end": 509,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 55
}
},
"extra": {
"rawValue": "../installers/linux/deb",
"raw": "'../installers/linux/deb'"
},
"value": "../installers/linux/deb"
}
},
{
"type": "ImportDeclaration",
"start": 511,
"end": 567,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 56
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 518,
"end": 535,
"loc": {
"start": {
"line": 18,
"column": 7
},
"end": {
"line": 18,
"column": 24
}
},
"local": {
"type": "Identifier",
"start": 518,
"end": 535,
"loc": {
"start": {
"line": 18,
"column": 7
},
"end": {
"line": 18,
"column": 24
},
"identifierName": "linuxRPMInstaller"
},
"name": "linuxRPMInstaller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 541,
"end": 566,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 55
}
},
"extra": {
"rawValue": "../installers/linux/rpm",
"raw": "'../installers/linux/rpm'"
},
"value": "../installers/linux/rpm"
}
},
{
"type": "VariableDeclaration",
"start": 569,
"end": 611,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 575,
"end": 610,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 575,
"end": 576,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 7
},
"identifierName": "d"
},
"name": "d"
},
"init": {
"type": "CallExpression",
"start": 579,
"end": 610,
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 41
}
},
"callee": {
"type": "Identifier",
"start": 579,
"end": 584,
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 15
},
"identifierName": "debug"
},
"name": "debug"
},
"arguments": [
{
"type": "StringLiteral",
"start": 585,
"end": 609,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 40
}
},
"extra": {
"rawValue": "electron-forge:install",
"raw": "'electron-forge:install'"
},
"value": "electron-forge:install"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 613,
"end": 657,
"loc": {
"start": {
"line": 22,
"column": 0
},
"end": {
"line": 22,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 619,
"end": 656,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 619,
"end": 629,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 16
},
"identifierName": "GITHUB_API"
},
"name": "GITHUB_API"
},
"init": {
"type": "StringLiteral",
"start": 632,
"end": 656,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 43
}
},
"extra": {
"rawValue": "https://api.github.com",
"raw": "'https://api.github.com'"
},
"value": "https://api.github.com"
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @typedef {Object} InstallOptions\n * @property {boolean} [interactive=false] Whether to use sensible defaults or prompt the user visually\n * @property {boolean} [prerelease=false] Whether to install prerelease versions\n * @property {string} repo The GitHub repository to install from, in the format owner/name\n * @property {function} chooseAsset A function that must return the asset to use/install from a provided array of compatible GitHub assets\n ",
"start": 659,
"end": 1117,
"loc": {
"start": {
"line": 24,
"column": 0
},
"end": {
"line": 30,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Install an Electron application from GitHub. If you leave interactive as `false`, you MUST provide a `chooseAsset` function.\n *\n * @param {InstallOptions} providedOptions - Options for the install method\n * @return {Promise} Will resolve when the install process is complete\n ",
"start": 1119,
"end": 1404,
"loc": {
"start": {
"line": 32,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 1405,
"end": 5898,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 167,
"column": 2
}
},
"declaration": {
"type": "ArrowFunctionExpression",
"start": 1420,
"end": 5897,
"loc": {
"start": {
"line": 38,
"column": 15
},
"end": {
"line": 167,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": true,
"params": [
{
"type": "AssignmentPattern",
"start": 1427,
"end": 1447,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 42
}
},
"left": {
"type": "Identifier",
"start": 1427,
"end": 1442,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 37
},
"identifierName": "providedOptions"
},
"name": "providedOptions"
},
"right": {
"type": "ObjectExpression",
"start": 1445,
"end": 1447,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 42
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 1452,
"end": 5897,
"loc": {
"start": {
"line": 38,
"column": 47
},
"end": {
"line": 167,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1515,
"end": 1653,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 43,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1519,
"end": 1652,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 43,
"column": 21
}
},
"id": {
"type": "ObjectPattern",
"start": 1519,
"end": 1565,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 52
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1521,
"end": 1532,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 19
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1521,
"end": 1532,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "interactive"
},
"name": "interactive",
"leadingComments": null
},
"value": {
"type": "Identifier",
"start": 1521,
"end": 1532,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 19
},
"identifierName": "interactive"
},
"name": "interactive"
},
"leadingComments": null,
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1534,
"end": 1544,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 31
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1534,
"end": 1544,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 31
},
"identifierName": "prerelease"
},
"name": "prerelease"
},
"value": {
"type": "Identifier",
"start": 1534,
"end": 1544,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 31
},
"identifierName": "prerelease"
},
"name": "prerelease"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1546,
"end": 1550,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 37
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1546,
"end": 1550,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 37
},
"identifierName": "repo"
},
"name": "repo"
},
"value": {
"type": "Identifier",
"start": 1546,
"end": 1550,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 37
},
"identifierName": "repo"
},
"name": "repo"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1552,
"end": 1563,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 50
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1552,
"end": 1563,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 50
},
"identifierName": "chooseAsset"
},
"name": "chooseAsset"
},
"value": {
"type": "Identifier",
"start": 1552,
"end": 1563,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 50
},
"identifierName": "chooseAsset"
},
"name": "chooseAsset"
},
"extra": {
"shorthand": true
}
}
],
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 1568,
"end": 1652,
"loc": {
"start": {
"line": 40,
"column": 55
},
"end": {
"line": 43,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 1568,
"end": 1581,
"loc": {
"start": {
"line": 40,
"column": 55
},
"end": {
"line": 40,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1568,
"end": 1574,
"loc": {
"start": {
"line": 40,
"column": 55
},
"end": {
"line": 40,
"column": 61
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 1575,
"end": 1581,
"loc": {
"start": {
"line": 40,
"column": 62
},
"end": {
"line": 40,
"column": 68
},
"identifierName": "assign"
},
"name": "assign"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1582,
"end": 1634,
"loc": {
"start": {
"line": 40,
"column": 69
},
"end": {
"line": 43,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1588,
"end": 1606,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1588,
"end": 1599,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 15
},
"identifierName": "interactive"
},
"name": "interactive"
},
"value": {
"type": "BooleanLiteral",
"start": 1601,
"end": 1606,
"loc": {
"start": {
"line": 41,
"column": 17
},
"end": {
"line": 41,
"column": 22
}
},
"value": false
}
},
{
"type": "ObjectProperty",
"start": 1612,
"end": 1629,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1612,
"end": 1622,
"loc": {
"start": {