UNPKG

skypager-project-types-react

Version:
85 lines (62 loc) 16.6 kB
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 = 24); /******/ }) /************************************************************************/ /******/ ({ /***/ 24: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(9); /***/ }, /***/ 9: /***/ function(module, exports) { module.exports = "{\"path\":\"/Users/jonathan/Skypager/packages/skypager-react-project/skypager.js\",\"ast\":{\"type\":\"File\",\"start\":0,\"end\":92,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":7,\"column\":0}},\"program\":{\"type\":\"Program\",\"start\":0,\"end\":92,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":7,\"column\":0}},\"sourceType\":\"module\",\"body\":[{\"type\":\"ExpressionStatement\",\"start\":0,\"end\":91,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":6,\"column\":1}},\"expression\":{\"type\":\"AssignmentExpression\",\"start\":0,\"end\":91,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":6,\"column\":1}},\"operator\":\"=\",\"left\":{\"type\":\"MemberExpression\",\"start\":0,\"end\":14,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":1,\"column\":14}},\"object\":{\"type\":\"Identifier\",\"start\":0,\"end\":6,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":1,\"column\":6},\"identifierName\":\"module\"},\"name\":\"module\"},\"property\":{\"type\":\"Identifier\",\"start\":7,\"end\":14,\"loc\":{\"start\":{\"line\":1,\"column\":7},\"end\":{\"line\":1,\"column\":14},\"identifierName\":\"exports\"},\"name\":\"exports\"},\"computed\":false},\"right\":{\"type\":\"FunctionExpression\",\"start\":17,\"end\":91,\"loc\":{\"start\":{\"line\":1,\"column\":17},\"end\":{\"line\":6,\"column\":1}},\"id\":null,\"generator\":false,\"expression\":false,\"async\":false,\"params\":[{\"type\":\"Identifier\",\"start\":18,\"end\":25,\"loc\":{\"start\":{\"line\":1,\"column\":18},\"end\":{\"line\":1,\"column\":25},\"identifierName\":\"project\"},\"name\":\"project\"}],\"body\":{\"type\":\"BlockStatement\",\"start\":30,\"end\":91,\"loc\":{\"start\":{\"line\":1,\"column\":30},\"end\":{\"line\":6,\"column\":1}},\"body\":[{\"type\":\"ExpressionStatement\",\"start\":34,\"end\":59,\"loc\":{\"start\":{\"line\":2,\"column\":2},\"end\":{\"line\":2,\"column\":27}},\"expression\":{\"type\":\"CallExpression\",\"start\":34,\"end\":59,\"loc\":{\"start\":{\"line\":2,\"column\":2},\"end\":{\"line\":2,\"column\":27}},\"callee\":{\"type\":\"MemberExpression\",\"start\":34,\"end\":45,\"loc\":{\"start\":{\"line\":2,\"column\":2},\"end\":{\"line\":2,\"column\":13}},\"object\":{\"type\":\"Identifier\",\"start\":34,\"end\":41,\"loc\":{\"start\":{\"line\":2,\"column\":2},\"end\":{\"line\":2,\"column\":9},\"identifierName\":\"project\"},\"name\":\"project\"},\"property\":{\"type\":\"Identifier\",\"start\":42,\"end\":45,\"loc\":{\"start\":{\"line\":2,\"column\":10},\"end\":{\"line\":2,\"column\":13},\"identifierName\":\"use\"},\"name\":\"use\"},\"computed\":false},\"arguments\":[{\"type\":\"CallExpression\",\"start\":46,\"end\":58,\"loc\":{\"start\":{\"line\":2,\"column\":14},\"end\":{\"line\":2,\"column\":26}},\"callee\":{\"type\":\"Identifier\",\"start\":46,\"end\":53,\"loc\":{\"start\":{\"line\":2,\"column\":14},\"end\":{\"line\":2,\"column\":21},\"identifierName\":\"require\"},\"name\":\"require\"},\"arguments\":[{\"type\":\"StringLiteral\",\"start\":54,\"end\":57,\"loc\":{\"start\":{\"line\":2,\"column\":22},\"end\":{\"line\":2,\"column\":25}},\"extra\":{\"rawValue\":\".\",\"raw\":\"'.'\"},\"value\":\".\"}]}]}},{\"type\":\"ExpressionStatement\",\"start\":62,\"end\":89,\"loc\":{\"start\":{\"line\":3,\"column\":2},\"end\":{\"line\":5,\"column\":4}},\"expression\":{\"type\":\"CallExpression\",\"start\":62,\"end\":89,\"loc\":{\"start\":{\"line\":3,\"column\":2},\"end\":{\"line\":5,\"column\":4}},\"callee\":{\"type\":\"MemberExpression\",\"start\":62,\"end\":75,\"loc\":{\"start\":{\"line\":3,\"column\":2},\"end\":{\"line\":3,\"column\":15}},\"object\":{\"type\":\"Identifier\",\"start\":62,\"end\":69,\"loc\":{\"start\":{\"line\":3,\"column\":2},\"end\":{\"line\":3,\"column\":9},\"identifierName\":\"project\"},\"name\":\"project\"},\"property\":{\"type\":\"Identifier\",\"start\":70,\"end\":75,\"loc\":{\"start\":{\"line\":3,\"column\":10},\"end\":{\"line\":3,\"column\":15},\"identifierName\":\"start\"},\"name\":\"start\"},\"computed\":false},\"arguments\":[{\"type\":\"FunctionExpression\",\"start\":76,\"end\":88,\"loc\":{\"start\":{\"line\":3,\"column\":16},\"end\":{\"line\":5,\"column\":3}},\"id\":null,\"generator\":false,\"expression\":false,\"async\":false,\"params\":[],\"body\":{\"type\":\"BlockStatement\",\"start\":82,\"end\":88,\"loc\":{\"start\":{\"line\":3,\"column\":22},\"end\":{\"line\":5,\"column\":3}},\"body\":[],\"directives\":[]},\"shadow\":true}]}}],\"directives\":[]},\"shadow\":true}}}],\"directives\":[{\"type\":\"Directive\",\"value\":{\"type\":\"DirectiveLiteral\",\"value\":\"use strict\"}}]},\"comments\":[],\"tokens\":[{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"module\",\"start\":0,\"end\":6,\"loc\":{\"start\":{\"line\":1,\"column\":0},\"end\":{\"line\":1,\"column\":6}}},{\"type\":{\"label\":\".\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":6,\"end\":7,\"loc\":{\"start\":{\"line\":1,\"column\":6},\"end\":{\"line\":1,\"column\":7}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"exports\",\"start\":7,\"end\":14,\"loc\":{\"start\":{\"line\":1,\"column\":7},\"end\":{\"line\":1,\"column\":14}}},{\"type\":{\"label\":\"=\",\"beforeExpr\":true,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":true,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"value\":\"=\",\"start\":15,\"end\":16,\"loc\":{\"start\":{\"line\":1,\"column\":15},\"end\":{\"line\":1,\"column\":16}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":17,\"end\":18,\"loc\":{\"start\":{\"line\":1,\"column\":17},\"end\":{\"line\":1,\"column\":18}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"project\",\"start\":18,\"end\":25,\"loc\":{\"start\":{\"line\":1,\"column\":18},\"end\":{\"line\":1,\"column\":25}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":25,\"end\":26,\"loc\":{\"start\":{\"line\":1,\"column\":25},\"end\":{\"line\":1,\"column\":26}}},{\"type\":{\"label\":\"=>\",\"beforeExpr\":true,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":27,\"end\":29,\"loc\":{\"start\":{\"line\":1,\"column\":27},\"end\":{\"line\":1,\"column\":29}}},{\"type\":{\"label\":\"{\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":30,\"end\":31,\"loc\":{\"start\":{\"line\":1,\"column\":30},\"end\":{\"line\":1,\"column\":31}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"project\",\"start\":34,\"end\":41,\"loc\":{\"start\":{\"line\":2,\"column\":2},\"end\":{\"line\":2,\"column\":9}}},{\"type\":{\"label\":\".\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":41,\"end\":42,\"loc\":{\"start\":{\"line\":2,\"column\":9},\"end\":{\"line\":2,\"column\":10}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"use\",\"start\":42,\"end\":45,\"loc\":{\"start\":{\"line\":2,\"column\":10},\"end\":{\"line\":2,\"column\":13}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":45,\"end\":46,\"loc\":{\"start\":{\"line\":2,\"column\":13},\"end\":{\"line\":2,\"column\":14}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"require\",\"start\":46,\"end\":53,\"loc\":{\"start\":{\"line\":2,\"column\":14},\"end\":{\"line\":2,\"column\":21}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":53,\"end\":54,\"loc\":{\"start\":{\"line\":2,\"column\":21},\"end\":{\"line\":2,\"column\":22}}},{\"type\":{\"label\":\"string\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"value\":\".\",\"start\":54,\"end\":57,\"loc\":{\"start\":{\"line\":2,\"column\":22},\"end\":{\"line\":2,\"column\":25}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":57,\"end\":58,\"loc\":{\"start\":{\"line\":2,\"column\":25},\"end\":{\"line\":2,\"column\":26}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":58,\"end\":59,\"loc\":{\"start\":{\"line\":2,\"column\":26},\"end\":{\"line\":2,\"column\":27}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"project\",\"start\":62,\"end\":69,\"loc\":{\"start\":{\"line\":3,\"column\":2},\"end\":{\"line\":3,\"column\":9}}},{\"type\":{\"label\":\".\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":69,\"end\":70,\"loc\":{\"start\":{\"line\":3,\"column\":9},\"end\":{\"line\":3,\"column\":10}}},{\"type\":{\"label\":\"name\",\"beforeExpr\":false,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"value\":\"start\",\"start\":70,\"end\":75,\"loc\":{\"start\":{\"line\":3,\"column\":10},\"end\":{\"line\":3,\"column\":15}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":75,\"end\":76,\"loc\":{\"start\":{\"line\":3,\"column\":15},\"end\":{\"line\":3,\"column\":16}}},{\"type\":{\"label\":\"(\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":76,\"end\":77,\"loc\":{\"start\":{\"line\":3,\"column\":16},\"end\":{\"line\":3,\"column\":17}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":77,\"end\":78,\"loc\":{\"start\":{\"line\":3,\"column\":17},\"end\":{\"line\":3,\"column\":18}}},{\"type\":{\"label\":\"=>\",\"beforeExpr\":true,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":79,\"end\":81,\"loc\":{\"start\":{\"line\":3,\"column\":19},\"end\":{\"line\":3,\"column\":21}}},{\"type\":{\"label\":\"{\",\"beforeExpr\":true,\"startsExpr\":true,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":82,\"end\":83,\"loc\":{\"start\":{\"line\":3,\"column\":22},\"end\":{\"line\":3,\"column\":23}}},{\"type\":{\"label\":\"}\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":87,\"end\":88,\"loc\":{\"start\":{\"line\":5,\"column\":2},\"end\":{\"line\":5,\"column\":3}}},{\"type\":{\"label\":\")\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":88,\"end\":89,\"loc\":{\"start\":{\"line\":5,\"column\":3},\"end\":{\"line\":5,\"column\":4}}},{\"type\":{\"label\":\"}\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null},\"start\":90,\"end\":91,\"loc\":{\"start\":{\"line\":6,\"column\":0},\"end\":{\"line\":6,\"column\":1}}},{\"type\":{\"label\":\"eof\",\"beforeExpr\":false,\"startsExpr\":false,\"rightAssociative\":false,\"isLoop\":false,\"isAssign\":false,\"prefix\":false,\"postfix\":false,\"binop\":null,\"updateContext\":null},\"start\":92,\"end\":92,\"loc\":{\"start\":{\"line\":7,\"column\":0},\"end\":{\"line\":7,\"column\":0}}}]},\"meta\":{\"usedHelpers\":[],\"marked\":[],\"modules\":{\"imports\":[],\"exports\":{\"exported\":[],\"specifiers\":[]}}},\"contents\":\"module.exports = (project) => {\\n project.use(require('.'))\\n project.start(() => {\\n\\n })\\n}\\n\",\"query\":{}}" /***/ } /******/ });