skypager-project
Version:
skypager project framework
1,477 lines (1,455 loc) • 220 kB
JavaScript
module.exports =
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;
/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ i: moduleId,
/******/ l: false,
/******/ exports: {}
/******/ };
/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/ // Flag the module as loaded
/******/ module.l = true;
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;
/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;
/******/ // identity function for calling harmory imports with the correct context
/******/ __webpack_require__.i = function(value) { return value; };
/******/ // define getter function for harmory exports
/******/ __webpack_require__.d = function(exports, name, getter) {
/******/ Object.defineProperty(exports, name, {
/******/ configurable: false,
/******/ enumerable: true,
/******/ get: getter
/******/ });
/******/ };
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = function(module) {
/******/ var getter = module && module.__esModule ?
/******/ function getDefault() { return module['default']; } :
/******/ function getModuleExports() { return module; };
/******/ __webpack_require__.d(getter, 'a', getter);
/******/ return getter;
/******/ };
/******/ // Object.prototype.hasOwnProperty.call
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "/";
/******/ // Load entry module and return exports
/******/ return __webpack_require__(__webpack_require__.s = 180);
/******/ })
/************************************************************************/
/******/ ({
/***/ 180:
/***/ function(module, exports, __webpack_require__) {
module.exports = __webpack_require__(89);
/***/ },
/***/ 89:
/***/ function(module, exports) {
module.exports = {
"path": "/Users/jonathan/Skypager/packages/skypager-project/webpack.config.js",
"ast": {
"type": "File",
"start": 0,
"end": 1119,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 43,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1119,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 43,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_promise"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"value": "babel-runtime/core-js/promise",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
]
}
}
]
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_promise2"
},
"init": {
"type": "CallExpression",
"callee": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"arguments": [
{
"type": "Identifier",
"name": "_promise"
}
]
}
}
]
},
{
"type": "FunctionDeclaration",
"id": {
"type": "Identifier",
"name": "_interopRequireDefault"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"name": "obj"
}
],
"body": {
"type": "BlockStatement",
"body": [
{
"type": "ReturnStatement",
"argument": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"left": {
"type": "Identifier",
"name": "obj"
},
"operator": "&&",
"right": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "obj"
},
"property": {
"type": "Identifier",
"name": "__esModule"
},
"computed": false
}
},
"consequent": {
"type": "Identifier",
"name": "obj"
},
"alternate": {
"type": "ObjectExpression",
"properties": [
{
"type": "ObjectProperty",
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"name": "default"
},
"value": {
"type": "Identifier",
"name": "obj"
}
}
]
}
}
}
],
"directives": []
},
"extra": {
"parenthesized": true,
"parenStart": 3
}
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_require"
},
"init": {
"type": "CallExpression",
"start": 17,
"end": 32,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 32
}
},
"callee": {
"type": "Identifier",
"start": 17,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 25,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 31
}
},
"extra": {
"rawValue": "path",
"raw": "'path'"
},
"value": "path"
}
]
}
}
],
"leadingComments": []
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "join"
},
"name": "join"
},
"init": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_require"
},
"property": {
"type": "Identifier",
"start": 8,
"end": 12,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 12
},
"identifierName": "join"
},
"name": "join"
},
"computed": false
}
}
],
"trailingComments": []
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"name": "_require2"
},
"init": {
"type": "CallExpression",
"start": 49,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 49,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 16
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "require"
},
"name": "require"
},
"arguments": [
{
"type": "StringLiteral",
"start": 57,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 42
}
},
"extra": {
"rawValue": "skypager-webpack",
"raw": "'skypager-webpack'"
},
"value": "skypager-webpack"
}
]
}
}
],
"leadingComments": []
},
{
"type": "VariableDeclaration",
"kind": "var",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"start": 41,
"end": 44,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 11
},
"identifierName": "api"
},
"name": "api"
},
"init": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_require2"
},
"property": {
"type": "Identifier",
"start": 41,
"end": 44,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 11
},
"identifierName": "api"
},
"name": "api"
},
"computed": false
}
}
],
"trailingComments": []
},
{
"type": "ExpressionStatement",
"start": 78,
"end": 1118,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 42,
"column": 1
}
},
"expression": {
"type": "AssignmentExpression",
"start": 78,
"end": 1118,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 42,
"column": 1
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 78,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 78,
"end": 84,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
},
"identifierName": "module"
},
"name": "module"
},
"property": {
"type": "Identifier",
"start": 85,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 14
},
"identifierName": "exports"
},
"name": "exports"
},
"computed": false
},
"right": {
"type": "FunctionExpression",
"start": 95,
"end": 1118,
"loc": {
"start": {
"line": 4,
"column": 17
},
"end": {
"line": 42,
"column": 1
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 105,
"end": 108,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 30
},
"identifierName": "env"
},
"name": "env"
}
],
"body": {
"type": "BlockStatement",
"start": 124,
"end": 1118,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 42,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"declarations": [
{
"type": "VariableDeclarator",
"id": {
"type": "Identifier",
"start": 110,
"end": 117,
"loc": {
"start": {
"line": 4,
"column": 32
},
"end": {
"line": 4,
"column": 39
},
"identifierName": "options"
},
"name": "options",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"init": {
"type": "ConditionalExpression",
"test": {
"type": "LogicalExpression",
"left": {
"type": "BinaryExpression",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"name": "length"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"value": 1,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"left": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "NumericLiteral",
"value": 1,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": true
},
"operator": "!==",
"right": {
"type": "Identifier",
"name": "undefined"
}
}
},
"consequent": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "arguments",
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "NumericLiteral",
"value": 1,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"computed": true
},
"alternate": {
"type": "ObjectExpression",
"start": 120,
"end": 122,
"loc": {
"start": {
"line": 4,
"column": 42
},
"end": {
"line": 4,
"column": 44
}
},
"properties": [],
"trailingComments": [],
"leadingComments": [],
"innerComments": []
}
}
}
],
"kind": "var"
},
{
"type": "ReturnStatement",
"start": 128,
"end": 1116,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 41,
"column": 17
}
},
"argument": {
"type": "CallExpression",
"start": 135,
"end": 1116,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 41,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"object": {
"type": "MemberExpression",
"object": {
"type": "Identifier",
"name": "_promise2"
},
"property": {
"type": "Identifier",
"name": "default"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"property": {
"type": "Identifier",
"start": 143,
"end": 150,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 24
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false,
"trailingComments": [],
"leadingComments": [],
"innerComments": []
},
"arguments": [
{
"type": "CallExpression",
"start": 151,
"end": 1115,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 41,
"column": 16
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 1113,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 41,
"column": 14
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 1098,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 40,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 965,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 33,
"column": 11
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 953,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 32,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 845,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 28,
"column": 11
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 833,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 27,
"column": 5
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 797,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 25,
"column": 12
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 784,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 24,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 754,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 24,
"column": 11
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 742,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 23,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 707,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 23,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 696,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 22,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 669,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 22,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 658,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 21,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 629,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 21,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 618,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 20,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 591,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 20,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 580,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 19,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 553,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 19,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 542,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 18,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 511,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 18,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 500,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 17,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 471,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 17,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 460,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 16,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 432,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 16,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 421,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 15,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 391,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 15,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 380,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 14,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 351,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 14,
"column": 10
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 340,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 13,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 329,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 13,
"column": 12
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 316,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 12,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 281,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 12,
"column": 14
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 266,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 11,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 186,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 7,
"column": 9
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 176,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 6,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 151,
"end": 168,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 6,
"column": 11
}
},
"object": {
"type": "CallExpression",
"start": 151,
"end": 156,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 151,
"end": 154,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 28
},
"identifierName": "api"
},
"name": "api"
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 162,
"end": 168,
"loc": {
"start": {
"line": 6,
"column": 5
},
"end": {
"line": 6,
"column": 11
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 169,
"end": 175,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 18
}
},
"extra": {
"rawValue": "node",
"raw": "'node'"
},
"value": "node"
}
]
},
"property": {
"type": "Identifier",
"start": 182,
"end": 186,
"loc": {
"start": {
"line": 7,
"column": 5
},
"end": {
"line": 7,
"column": 9
},
"identifierName": "node"
},
"name": "node"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 187,
"end": 265,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 11,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 195,
"end": 211,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 195,
"end": 204,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,