diff --git a/bin/backed.js b/bin/backed.js index f3e51a4..4ffd3f0 100644 --- a/bin/backed.js +++ b/bin/backed.js @@ -8,6 +8,19 @@ var _createClass = _interopDefault(require('babel-runtime/helpers/createClass')) var _possibleConstructorReturn = _interopDefault(require('babel-runtime/helpers/possibleConstructorReturn')); var _inherits = _interopDefault(require('babel-runtime/helpers/inherits')); +function __async(g) { + return new Promise(function (s, j) { + function c(a, x) { + try { + var r = g[x ? "throw" : "next"](a); + } catch (e) { + j(e);return; + }r.done ? s(r.value) : Promise.resolve(r.value).then(c, d); + }function d(e) { + c(e, 1); + }c(); + }); +} function __asyncGen(g) { var q = [], T = ["next", "throw", "return"], @@ -41,7 +54,7 @@ var path = require('path'); var _require2 = require('lodash'); var merge = _require2.merge; -var logger = require('backed-logger'); +var logger$1 = require('backed-logger'); /** * @param {string} config.name name off your project @@ -75,7 +88,7 @@ var Config = function () { for (var _iterator = config.bundles[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) { var bundle = _step.value; - bundle.plugins = _this.setupPlugins(bundle.plugins); + bundle.plugins = _this.defaultPlugins(bundle.plugins); } } catch (err) { _didIteratorError = true; @@ -92,14 +105,19 @@ var Config = function () { } } } - resolve(_this.updateConfig(config)); + return resolve(_this.updateConfig(config)); }); }); } + /** + * @param {array} plugins + */ + + _createClass(Config, [{ - key: 'setupPlugins', - value: function setupPlugins() { + key: 'defaultPlugins', + value: function defaultPlugins() { var plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; var defaults = ['babel', 'cleanup']; @@ -132,6 +150,13 @@ var Config = function () { return plugins; } + + /** + * Default bundles config + * + * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'} + */ + }, { key: 'require', @@ -176,27 +201,27 @@ var Config = function () { return new Promise(function (resolve, reject) { function generator(fn) { - return __asyncGen(_regeneratorRuntime.mark(function _callee() { + return __async(_regeneratorRuntime.mark(function _callee() { var pkg, config, name; return _regeneratorRuntime.wrap(function _callee$(_context) { while (1) { switch (_context.prev = _context.next) { case 0: _context.next = 2; - return { __await: fn('package.json').catch(function (error) { - if (global.debug) { - logger.error(error); - } - }) }; + return fn('package.json').catch(function (error) { + if (global.debug) { + logger$1.error(error); + } + }); case 2: pkg = _context.sent; _context.next = 5; - return { __await: fn('backed.json').catch(function (error) { - if (global.debug) { - logger.warn('backed.json::not found, ignore this when using backed in package.json'); - } - }) }; + return fn('backed.json').catch(function (error) { + if (global.debug) { + logger$1.warn('backed.json::not found, ignore this when using backed in package.json'); + } + }); case 5: config = _context.sent; @@ -206,7 +231,7 @@ var Config = function () { break; } - logger.warn('No backed.json or backed section in package.json, using default options.'); + logger$1.warn('No backed.json or backed section in package.json, using default options.'); return _context.abrupt('return', resolve({ name: process.cwd() })); case 9: @@ -248,8 +273,7 @@ var Config = function () { }, _callee, this); })()); } - var it = generator(_this2.require); - it.next(); + generator(_this2.require); }); } @@ -264,7 +288,7 @@ var Config = function () { return JSON.parse(readFileSync(process.cwd() + '/package.json')).name; } catch (e) { if (global.debug) { - logger.warn('no package.json found'); + logger$1.warn('no package.json found'); } } return undefined; @@ -281,7 +305,7 @@ var Config = function () { return JSON.parse(readFileSync(process.cwd() + '/bower.json')).name; } catch (e) { if (global.debug) { - logger.warn('no bower.json found'); + logger$1.warn('no bower.json found'); } } return undefined; @@ -308,7 +332,11 @@ var Config = function () { key: 'updateConfig', value: function updateConfig(config, name) { config.sourceMap = config.sourceMap || true; - config.bundles = merge(this.bundles, config.bundles); + if (config.entry && config.sources) { + delete config.bundles; + } else { + config.bundles = merge(this.bundles, config.bundles); + } config.server = merge(this.server, config.server); config.watch = merge(this.watch, config.watch); global.config = config; @@ -323,6 +351,21 @@ var Config = function () { format: 'es' }]; } + + /** + * Default server config + * + * @return {object} { + * port: 3000, + * entry: '/', + * demo: 'demo', + * docs: 'docs', + * bowerPath: 'bower_components', + * nodeModulesPath: 'node_modules', + * index: null + * } + */ + }, { key: 'server', get: function get() { @@ -335,6 +378,13 @@ var Config = function () { nodeModulesPath: 'node_modules', index: null }; } + + /** + * Default watcher config + * + * @return {array} [{task: 'build', src: ['./src'], options: {}} + */ + }, { key: 'watch', get: function get() { @@ -352,17 +402,20 @@ var Config = function () { var _require$2 = require('rollup'); var rollup = _require$2.rollup; -var path$1 = require('path'); +var _require2$1 = require('path'); +var join = _require2$1.join; +var dirname = _require2$1.dirname; +var basename = _require2$1.basename; -var _require2$1 = require('child_process'); -var fork = _require2$1.fork; +var _require3 = require('child_process'); +var fork = _require3.fork; -var logger$1 = require('backed-logger'); +var logger$2 = require('backed-logger'); var iterator = void 0; var cache = void 0; var warnings = []; -var logWorker = fork(path$1.join(__dirname, 'workers/log-worker.js')); +var logWorker = fork(join(__dirname, 'workers/log-worker.js')); /** * convert hyphen to a javascript property srting */ @@ -472,7 +525,7 @@ function bundler(bundles, fn, cb) { for (var _iterator3 = warnings[Symbol.iterator](), _step3; !(_iteratorNormalCompletion3 = (_step3 = _iterator3.next()).done); _iteratorNormalCompletion3 = true) { var warning = _step3.value; - logger$1.warn(warning); + logger$2.warn(warning); } } catch (err) { _didIteratorError3 = true; @@ -492,7 +545,7 @@ function bundler(bundles, fn, cb) { cb(bundles); }).catch(function (error) { logWorker.kill('SIGINT'); - logger$1.error(error); + logger$2.error(error); }) }; case 22: @@ -516,14 +569,14 @@ var Builder = function () { return new Promise(function (resolve, reject) { logWorker.send('start'); - logWorker.send(logger$1._chalk('building', 'cyan')); + logWorker.send(logger$2._chalk('building', 'cyan')); _this.promiseBundles(config).then(function (bundles) { iterator = bundler(bundles, _this.bundle, function (bundles) { resolve(bundles); }); iterator.next(); }).catch(function (error) { - logger$1.warn(error); + logger$2.warn(error); reject(error); }); }); @@ -651,6 +704,36 @@ var Builder = function () { cb(bundle); }); } + }, { + key: 'handleViews', + value: function handleViews(views, cb) { + if (views) { + var _iteratorNormalCompletion6 = true; + var _didIteratorError6 = false; + var _iteratorError6 = undefined; + + try { + for (var _iterator6 = views[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) { + var view = _step6.value; + + cb(view); + } + } catch (err) { + _didIteratorError6 = true; + _iteratorError6 = err; + } finally { + try { + if (!_iteratorNormalCompletion6 && _iterator6.return) { + _iterator6.return(); + } + } finally { + if (_didIteratorError6) { + throw _iteratorError6; + } + } + } + } + } }, { key: 'promiseBundles', value: function promiseBundles(config) { @@ -664,34 +747,52 @@ var Builder = function () { bundle.name = bundle.name || config.name; bundle.babel = bundle.babel || config.babel; bundle.sourceMap = bundle.sourceMap || config.sourceMap; - if (config.format && typeof config.format !== 'string' && !bundle.format) { - var _iteratorNormalCompletion6 = true; - var _didIteratorError6 = false; - var _iteratorError6 = undefined; + + var views = bundle.views || config.views; + var format = bundle.format || config.format; + + if (format && typeof format !== 'string') { + var _iteratorNormalCompletion7 = true; + var _didIteratorError7 = false; + var _iteratorError7 = undefined; try { - for (var _iterator6 = config.format[Symbol.iterator](), _step6; !(_iteratorNormalCompletion6 = (_step6 = _iterator6.next()).done); _iteratorNormalCompletion6 = true) { - var format = _step6.value; + for (var _iterator7 = config.format[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) { + var _format = _step7.value; - bundle.format = format; + bundle.format = _format; formats.push(_this2.handleFormats(bundle)); + + _this2.handleViews(views, function (view) { + bundle.src = view; + bundle.dest = join(dirname(bundle.dest), basename(view)); + bundle.moduleName = view.moduleName || toJsProp(basename(view, '.html')); + formats.push(_this2.handleFormats(bundle)); + }); } } catch (err) { - _didIteratorError6 = true; - _iteratorError6 = err; + _didIteratorError7 = true; + _iteratorError7 = err; } finally { try { - if (!_iteratorNormalCompletion6 && _iterator6.return) { - _iterator6.return(); + if (!_iteratorNormalCompletion7 && _iterator7.return) { + _iterator7.return(); } } finally { - if (_didIteratorError6) { - throw _iteratorError6; + if (_didIteratorError7) { + throw _iteratorError7; } } } } else { formats.push(_this2.handleFormats(bundle)); + + _this2.handleViews(views, function (view) { + bundle.src = view; + bundle.dest = join(dirname(bundle.dest), basename(view)); + bundle.moduleName = view.moduleName || toJsProp(basename(view, '.html')); + formats.push(_this2.handleFormats(bundle)); + }); } }); Promise.all(formats).then(function (bundles) { @@ -723,20 +824,20 @@ var Builder = function () { var plugins = []; var requiredPlugins = {}; - var _iteratorNormalCompletion7 = true; - var _didIteratorError7 = false; - var _iteratorError7 = undefined; + var _iteratorNormalCompletion8 = true; + var _didIteratorError8 = false; + var _iteratorError8 = undefined; try { - for (var _iterator7 = Object.keys(config.plugins)[Symbol.iterator](), _step7; !(_iteratorNormalCompletion7 = (_step7 = _iterator7.next()).done); _iteratorNormalCompletion7 = true) { - var plugin = _step7.value; + for (var _iterator8 = Object.keys(config.plugins)[Symbol.iterator](), _step8; !(_iteratorNormalCompletion8 = (_step8 = _iterator8.next()).done); _iteratorNormalCompletion8 = true) { + var plugin = _step8.value; var required = void 0; try { required = require('rollup-plugin-' + plugin); } catch (error) { try { - required = require(path$1.join(process.cwd(), '/node_modules/rollup-plugin-' + plugin)); + required = require(join(process.cwd(), '/node_modules/rollup-plugin-' + plugin)); } catch (error) { reject(error); } @@ -748,16 +849,16 @@ var Builder = function () { plugins.push(requiredPlugins[name](conf)); } } catch (err) { - _didIteratorError7 = true; - _iteratorError7 = err; + _didIteratorError8 = true; + _iteratorError8 = err; } finally { try { - if (!_iteratorNormalCompletion7 && _iterator7.return) { - _iterator7.return(); + if (!_iteratorNormalCompletion8 && _iterator8.return) { + _iterator8.return(); } } finally { - if (_didIteratorError7) { - throw _iteratorError7; + if (_didIteratorError8) { + throw _iteratorError8; } } } @@ -781,7 +882,7 @@ var Builder = function () { dest: process.cwd() + '/' + config.dest }); setTimeout(function () { - logWorker.send(logger$1._chalk(config.name + '::build finished', 'cyan')); + logWorker.send(logger$2._chalk(config.name + '::build finished', 'cyan')); logWorker.send('done'); logWorker.on('message', function () { resolve(bundle); @@ -790,11 +891,11 @@ var Builder = function () { }).catch(function (err) { var code = err.code; logWorker.send('pauze'); - logger$1.error(err); + logger$2.error(err); if (code === 'PLUGIN_ERROR' || code === 'UNRESOLVED_ENTRY') { logWorker.kill('SIGINT'); } else { - logger$1.warn('trying to resume the build ...'); + logger$2.warn('trying to resume the build ...'); logWorker.send('resume'); } reject(err); @@ -816,7 +917,7 @@ var glob = require('glob'); var app = express(); var server = http.createServer(app); var reloadServer = reload(server, app); -var logger$2 = require('backed-logger'); +var logger$3 = require('backed-logger'); /** * glob file path @@ -923,12 +1024,12 @@ var Server = function () { server.listen(3000, function (error) { if (error) { - return logger$2.warn(error); + return logger$3.warn(error); } - logger$2.log(global.config.name + '::serving app from http://localhost:' + config.port + '/' + config.entry.replace('/', '')); + logger$3.log(global.config.name + '::serving app from http://localhost:' + config.port + '/' + config.entry.replace('/', '')); }); } else { - return logger$2.warn(global.config.name + '::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)'); + return logger$3.warn(global.config.name + '::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)'); } } @@ -957,9 +1058,9 @@ var Server = function () { key: 'handleOldOptions', value: function handleOldOptions(options) { if (options.path || options.elementLocation) { - logger$2.warn((options.path ? 'server.path' : 'server.elementLocation') + ' is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more\''); + logger$3.warn((options.path ? 'server.path' : 'server.elementLocation') + ' is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more\''); } else if (options.bowerPath) { - logger$2.warn('server.bowerPath::deprecated: removal planned @1.0.0+'); + logger$3.warn('server.bowerPath::deprecated: removal planned @1.0.0+'); } } }, { @@ -978,7 +1079,7 @@ var _require$3 = require('child_process'); var fork$1 = _require$3.fork; var chokidar = require('chokidar'); -var path$2 = require('path'); +var path$1 = require('path'); var EventEmitter = require('events'); var _require2$2 = require('fs'); @@ -987,7 +1088,7 @@ var writeFileSync = _require2$2.writeFileSync; // const {merge} = require('lodash'); -var logger$3 = require('backed-logger'); +var logger$4 = require('backed-logger'); var time = function time() { return new Date().toLocaleTimeString(); }; @@ -1018,17 +1119,17 @@ var Watcher = function (_EventEmitter) { return new Promise(function (resolve, reject) { if (!config.watch) { - logger$3.warn('nothing to watch'); + logger$4.warn('nothing to watch'); reject('nothing to watch'); return process.kill(process.pid, 'SIGINT'); } _this2.server = config.server; _this2.configureDemo(_this2.server); - logger$3.log('[' + time() + '] ' + logger$3._chalk('Starting initial build', 'cyan')); + logger$4.log('[' + time() + '] ' + logger$4._chalk('Starting initial build', 'cyan')); _this2.runWorker(config); - logger$3.log('[' + time() + '] ' + logger$3._chalk('Watching files for changes', 'cyan')); + logger$4.log('[' + time() + '] ' + logger$4._chalk('Watching files for changes', 'cyan')); var watchers = {}; var _iteratorNormalCompletion = true; @@ -1069,13 +1170,13 @@ var Watcher = function (_EventEmitter) { }, { key: 'configureDemo', value: function configureDemo(server) { - logger$3.log('[' + time() + '] ' + logger$3._chalk('Configuring demo', 'cyan')); + logger$4.log('[' + time() + '] ' + logger$4._chalk('Configuring demo', 'cyan')); if (server) { - var demoPath = path$2.join(process.cwd(), server.demo); + var demoPath = path$1.join(process.cwd(), server.demo); if (!demoPath.includes('index.html')) { - demoPath = path$2.join(demoPath, 'index.html'); + demoPath = path$1.join(demoPath, 'index.html'); } var demo = readFileSync$1(demoPath, 'utf-8'); if (!demo.includes('/reload/reload.js')) { @@ -1094,13 +1195,13 @@ var Watcher = function (_EventEmitter) { this.busy = false; } this.busy = true; - worker = fork$1(path$2.join(__dirname, 'workers/watcher-worker.js')); + worker = fork$1(path$1.join(__dirname, 'workers/watcher-worker.js')); worker.on('message', function (message) { if (message === 'done') { _this3.configureDemo(_this3.server); message = 'reload'; } - logger$3.log('[' + time() + '] ' + logger$3._chalk('Reloading browser', 'cyan')); + logger$4.log('[' + time() + '] ' + logger$4._chalk('Reloading browser', 'cyan')); _this3.emit(message); worker.kill(); _this3.busy = false; @@ -1122,79 +1223,165 @@ var Watcher = function (_EventEmitter) { var watcher = new Watcher(); +var fs = require('backed-fs'); +var webup$1 = require('webup'); +var build = function build(config) { + return new Promise(function (resolve, reject) { + if (config.entry && config.sources) { + return webup$1(config).then(function () { + return resolve(); + }); + } + builder.build(config).then(function () { + return resolve(); + }); + }); +}; + +var copy = function copy(config) { + return new Promise(function (resolve, reject) { + return fs.copySources(config.copy).then(function () { + return resolve(); + }); + }); +}; + +var serve = function serve(config) { + return server$1.serve(config.server); +}; + +var watch = function watch(config) { + watcher.on('reload', function () { + server$1.reload(); + }); + return watcher.watch(config); +}; + +var tasks = { + build: build, + copy: copy, + serve: serve, + watch: watch +}; + process.title = 'backed'; var commander = require('commander'); var _require = require('./../package.json'); var version = _require.version; -var fs = require('backed-fs'); +var webup = require('webup'); +var logger = require('backed-logger'); + +commander.version(version).option('-w, --watch', 'watch for file changes & rebuild on change').option('-b, --build', 'build your app/component').option('-s, --serve', 'serve your app/component').option('-c, --copy', 'copy files from your app/component src folder to it distribution folder').option('-d, --debug', 'show all warnings').option('-v, --version', 'current version').parse(process.argv); -commander.version(version).option('-w, --watch', 'watch for file changes & rebuild on change').option('-b, --build', 'build your app/component').option('-s, --serve', 'serve your app/component').option('-c, --copy', 'copy files from your app/component src folder to it distribution folder').option('-d, --debug', 'show all warnings').parse(process.argv); +var commands = { + build: Boolean(commander.build), + watch: Boolean(commander.watch), + copy: Boolean(commander.build) || Boolean(commander.copy), + serve: Boolean(commander.serve) +}; -var watch = commander.watch; -var build = commander.build; -var copy = commander.build || commander.copy; -var serve = commander.serve; global.debug = commander.debug; + /** * @param {object} config {@link Config} */ -function run(config) { - return __asyncGen(_regeneratorRuntime.mark(function _callee() { - return _regeneratorRuntime.wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - if (!build) { - _context.next = 3; - break; - } +new Config().then(function (config) { + function run(config) { + return __async(_regeneratorRuntime.mark(function _callee() { + var _iteratorNormalCompletion, _didIteratorError, _iteratorError, _iterator, _step, task, name, enabled, done; + + return _regeneratorRuntime.wrap(function _callee$(_context) { + while (1) { + switch (_context.prev = _context.next) { + case 0: + _iteratorNormalCompletion = true; + _didIteratorError = false; + _iteratorError = undefined; + _context.prev = 3; + _iterator = Object.entries(commands)[Symbol.iterator](); + + case 5: + if (_iteratorNormalCompletion = (_step = _iterator.next()).done) { + _context.next = 22; + break; + } - _context.next = 3; - return { __await: builder.build(config) }; + task = _step.value; + name = task[0]; + enabled = task[1]; - case 3: - if (!copy) { - _context.next = 6; - break; - } + if (!enabled) { + _context.next = 19; + break; + } - _context.next = 6; - return { __await: fs.copySources(config.sources) }; + _context.prev = 10; + _context.next = 13; + return tasks[name](config); - case 6: - if (!watch) { - _context.next = 10; + case 13: + done = _context.sent; + _context.next = 19; break; - } - watcher.on('reload', function () { - server$1.reload(); - }); - _context.next = 10; - return { __await: watcher.watch(config) }; + case 16: + _context.prev = 16; + _context.t0 = _context['catch'](10); - case 10: - if (!serve) { - _context.next = 13; + logger.warn('task::function ' + name + ' is undefined'); + + case 19: + _iteratorNormalCompletion = true; + _context.next = 5; break; - } - _context.next = 13; - return { __await: server$1.serve(config.server) }; + case 22: + _context.next = 28; + break; - case 13: - case 'end': - return _context.stop(); - } - } - }, _callee, this); - })()); -} + case 24: + _context.prev = 24; + _context.t1 = _context['catch'](3); + _didIteratorError = true; + _iteratorError = _context.t1; -new Config().then(function (config) { - global.debug = commander.debug || config.debug; - var it = run(config); - it.next(); + case 28: + _context.prev = 28; + _context.prev = 29; + + if (!_iteratorNormalCompletion && _iterator.return) { + _iterator.return(); + } + + case 31: + _context.prev = 31; + + if (!_didIteratorError) { + _context.next = 34; + break; + } + + throw _iteratorError; + + case 34: + return _context.finish(31); + + case 35: + return _context.finish(28); + + case 36: + process.exit(0); + // process.kill(process.pid, 'SIGINT'); + + case 37: + case 'end': + return _context.stop(); + } + } + }, _callee, this, [[3, 24, 28, 36], [10, 16], [29,, 31, 35]]); + })()); + } + run(config); }); diff --git a/bin/workers/watcher-worker.js b/bin/workers/watcher-worker.js index cce433f..9563c63 100644 --- a/bin/workers/watcher-worker.js +++ b/bin/workers/watcher-worker.js @@ -1,4 +1,5 @@ - +'use strict'; +const webup = require('webup'); const builder = require('backed-builder'); const fs = require('backed-fs'); const logger = require('backed-logger'); @@ -8,13 +9,18 @@ process.on('message', message => { const task = message.task; switch (task) { case 'build': - builder.build(config).then(() => { - process.send('reload'); - }); + if (config.fragments) { + webup(config).then(() => { + process.send('reload'); + }); + } else { + builder.build(config).then(() => { + process.send('reload'); + }); + } break; case 'copy': - case 'sources': - fs.copySources(config.sources).then(() => { + fs.copySources(config.copy).then(() => { logger.succes(`${config.name}::copy finished`); process.send('done'); }); diff --git a/config/async-backed.json b/config/async-backed.json index 511fbeb..f3fe9a1 100644 --- a/config/async-backed.json +++ b/config/async-backed.json @@ -39,7 +39,7 @@ } } ], - "sources": [{ + "copy": [{ "src": ["node_modules/babel-runtime/helpers/{classCallCheck,createClass,regenerator,asyncGenerator}*.js", "node_modules/babel-runtime/regenerator/*.js"], "dest": "dist/node_modules" }, { diff --git a/config/backed.json b/config/backed.json index 2ce3ec3..a970326 100644 --- a/config/backed.json +++ b/config/backed.json @@ -13,7 +13,7 @@ ], "format": "es", "sourceMap": true, - "sources": { + "copy": { "src": ["*/templates/*"], "dest": "dist/templates" }, diff --git a/config/next-backed.json b/config/next-backed.json index d80ce66..ecc5436 100644 --- a/config/next-backed.json +++ b/config/next-backed.json @@ -21,7 +21,7 @@ } } ], - "sources": [ + "copy": [ { "src": [ "src/html/{behaviors,components,sources,styles}/**/**/*", diff --git a/docs/ast/source/backed.js.json b/docs/ast/source/backed.js.json index c845d6c..a1f2c30 100644 --- a/docs/ast/source/backed.js.json +++ b/docs/ast/source/backed.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 1373, + "end": 1370, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 56, + "line": 50, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 1373, + "end": 1370, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 56, + "line": 50, "column": 0 } }, @@ -395,7 +395,7 @@ { "type": "VariableDeclaration", "start": 128, - "end": 160, + "end": 159, "loc": { "start": { "line": 5, @@ -403,14 +403,14 @@ }, "end": { "line": 5, - "column": 32 + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 134, - "end": 159, + "end": 158, "loc": { "start": { "line": 5, @@ -418,13 +418,13 @@ }, "end": { "line": 5, - "column": 31 + "column": 30 } }, "id": { "type": "Identifier", "start": 134, - "end": 136, + "end": 139, "loc": { "start": { "line": 5, @@ -432,38 +432,38 @@ }, "end": { "line": 5, - "column": 8 + "column": 11 }, - "identifierName": "fs" + "identifierName": "webup" }, - "name": "fs" + "name": "webup" }, "init": { "type": "CallExpression", - "start": 139, - "end": 159, + "start": 142, + "end": 158, "loc": { "start": { "line": 5, - "column": 11 + "column": 14 }, "end": { "line": 5, - "column": 31 + "column": 30 } }, "callee": { "type": "Identifier", - "start": 139, - "end": 146, + "start": 142, + "end": 149, "loc": { "start": { "line": 5, - "column": 11 + "column": 14 }, "end": { "line": 5, - "column": 18 + "column": 21 }, "identifierName": "require" }, @@ -472,23 +472,23 @@ "arguments": [ { "type": "StringLiteral", - "start": 147, - "end": 158, + "start": 150, + "end": 157, "loc": { "start": { "line": 5, - "column": 19 + "column": 22 }, "end": { "line": 5, - "column": 30 + "column": 29 } }, "extra": { - "rawValue": "backed-fs", - "raw": "'backed-fs'" + "rawValue": "webup", + "raw": "'webup'" }, - "value": "backed-fs" + "value": "webup" } ] } @@ -497,78 +497,113 @@ "kind": "const" }, { - "type": "ImportDeclaration", - "start": 162, - "end": 195, + "type": "VariableDeclaration", + "start": 160, + "end": 200, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, - "column": 33 + "line": 6, + "column": 40 } }, - "specifiers": [ + "declarations": [ { - "type": "ImportDefaultSpecifier", - "start": 169, - "end": 175, + "type": "VariableDeclarator", + "start": 166, + "end": 199, "loc": { "start": { - "line": 7, - "column": 7 + "line": 6, + "column": 6 }, "end": { - "line": 7, - "column": 13 + "line": 6, + "column": 39 } }, - "local": { + "id": { "type": "Identifier", - "start": 169, - "end": 175, + "start": 166, + "end": 172, "loc": { "start": { - "line": 7, - "column": 7 + "line": 6, + "column": 6 }, "end": { - "line": 7, - "column": 13 + "line": 6, + "column": 12 }, - "identifierName": "Config" + "identifierName": "logger" }, - "name": "Config" + "name": "logger" + }, + "init": { + "type": "CallExpression", + "start": 175, + "end": 199, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 39 + } + }, + "callee": { + "type": "Identifier", + "start": 175, + "end": 182, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 22 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 183, + "end": 198, + "loc": { + "start": { + "line": 6, + "column": 23 + }, + "end": { + "line": 6, + "column": 38 + } + }, + "extra": { + "rawValue": "backed-logger", + "raw": "'backed-logger'" + }, + "value": "backed-logger" + } + ] } } ], - "source": { - "type": "StringLiteral", - "start": 181, - "end": 194, - "loc": { - "start": { - "line": 7, - "column": 19 - }, - "end": { - "line": 7, - "column": 32 - } - }, - "extra": { - "rawValue": "./config.js", - "raw": "'./config.js'" - }, - "value": "./config.js" - } + "kind": "const" }, { "type": "ImportDeclaration", - "start": 196, - "end": 266, + "start": 202, + "end": 235, "loc": { "start": { "line": 8, @@ -576,14 +611,14 @@ }, "end": { "line": 8, - "column": 70 + "column": 33 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 203, - "end": 210, + "start": 209, + "end": 215, "loc": { "start": { "line": 8, @@ -591,13 +626,13 @@ }, "end": { "line": 8, - "column": 14 + "column": 13 } }, "local": { "type": "Identifier", - "start": 203, - "end": 210, + "start": 209, + "end": 215, "loc": { "start": { "line": 8, @@ -605,39 +640,39 @@ }, "end": { "line": 8, - "column": 14 + "column": 13 }, - "identifierName": "builder" + "identifierName": "Config" }, - "name": "builder" + "name": "Config" } } ], "source": { "type": "StringLiteral", - "start": 216, - "end": 265, + "start": 221, + "end": 234, "loc": { "start": { "line": 8, - "column": 20 + "column": 19 }, "end": { "line": 8, - "column": 69 + "column": 32 } }, "extra": { - "rawValue": "./../node_modules/backed-builder/src/builder.js", - "raw": "'./../node_modules/backed-builder/src/builder.js'" + "rawValue": "./config.js", + "raw": "'./config.js'" }, - "value": "./../node_modules/backed-builder/src/builder.js" + "value": "./config.js" } }, { "type": "ImportDeclaration", - "start": 267, - "end": 300, + "start": 236, + "end": 267, "loc": { "start": { "line": 9, @@ -645,14 +680,14 @@ }, "end": { "line": 9, - "column": 33 + "column": 31 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", - "start": 274, - "end": 280, + "start": 243, + "end": 248, "loc": { "start": { "line": 9, @@ -660,13 +695,13 @@ }, "end": { "line": 9, - "column": 13 + "column": 12 } }, "local": { "type": "Identifier", - "start": 274, - "end": 280, + "start": 243, + "end": 248, "loc": { "start": { "line": 9, @@ -674,381 +709,402 @@ }, "end": { "line": 9, - "column": 13 + "column": 12 }, - "identifierName": "server" + "identifierName": "tasks" }, - "name": "server" + "name": "tasks" } } ], "source": { "type": "StringLiteral", - "start": 286, - "end": 299, + "start": 254, + "end": 266, "loc": { "start": { "line": 9, - "column": 19 + "column": 18 }, "end": { "line": 9, - "column": 32 - } - }, - "extra": { - "rawValue": "./server.js", - "raw": "'./server.js'" - }, - "value": "./server.js" - } - }, - { - "type": "ImportDeclaration", - "start": 301, - "end": 336, - "loc": { - "start": { - "line": 10, - "column": 0 - }, - "end": { - "line": 10, - "column": 35 - } - }, - "specifiers": [ - { - "type": "ImportDefaultSpecifier", - "start": 308, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 7 - }, - "end": { - "line": 10, - "column": 14 - } - }, - "local": { - "type": "Identifier", - "start": 308, - "end": 315, - "loc": { - "start": { - "line": 10, - "column": 7 - }, - "end": { - "line": 10, - "column": 14 - }, - "identifierName": "watcher" - }, - "name": "watcher" - } - } - ], - "source": { - "type": "StringLiteral", - "start": 321, - "end": 335, - "loc": { - "start": { - "line": 10, - "column": 20 - }, - "end": { - "line": 10, - "column": 34 + "column": 30 } }, "extra": { - "rawValue": "./watcher.js", - "raw": "'./watcher.js'" + "rawValue": "./tasks.js", + "raw": "'./tasks.js'" }, - "value": "./watcher.js" + "value": "./tasks.js" } }, { "type": "ExpressionStatement", - "start": 339, - "end": 714, + "start": 269, + "end": 690, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 20, + "line": 19, "column": 23 } }, "expression": { "type": "CallExpression", - "start": 339, - "end": 713, + "start": 269, + "end": 689, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 20, + "line": 19, "column": 22 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 699, + "start": 269, + "end": 675, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 20, + "line": 19, "column": 8 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 690, + "start": 269, + "end": 666, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 19, + "line": 18, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 654, + "start": 269, + "end": 630, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 19, + "line": 18, "column": 9 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 644, + "start": 269, + "end": 620, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 18, - "column": 98 + "line": 17, + "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 555, + "start": 269, + "end": 584, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 18, + "line": 17, "column": 9 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 545, + "start": 269, + "end": 574, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 17, - "column": 52 + "line": 16, + "column": 98 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 502, + "start": 269, + "end": 485, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 17, + "line": 16, "column": 9 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 492, + "start": 269, + "end": 475, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 16, + "line": 15, "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 449, + "start": 269, + "end": 432, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 16, + "line": 15, "column": 9 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 439, + "start": 269, + "end": 422, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 15, - "column": 70 + "line": 14, + "column": 52 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 378, + "start": 269, + "end": 379, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 15, + "line": 14, "column": 9 } }, "object": { "type": "CallExpression", - "start": 339, - "end": 368, + "start": 269, + "end": 369, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 14, - "column": 19 + "line": 13, + "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 339, - "end": 359, + "start": 269, + "end": 308, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 14, - "column": 10 + "line": 13, + "column": 9 } }, "object": { - "type": "Identifier", - "start": 339, - "end": 348, + "type": "CallExpression", + "start": 269, + "end": 298, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 13, - "column": 9 + "line": 12, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 269, + "end": 289, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 12, + "column": 10 + } + }, + "object": { + "type": "Identifier", + "start": 269, + "end": 278, + "loc": { + "start": { + "line": 11, + "column": 0 + }, + "end": { + "line": 11, + "column": 9 + }, + "identifierName": "commander" + }, + "name": "commander" }, - "identifierName": "commander" + "property": { + "type": "Identifier", + "start": 282, + "end": 289, + "loc": { + "start": { + "line": 12, + "column": 3 + }, + "end": { + "line": 12, + "column": 10 + }, + "identifierName": "version" + }, + "name": "version" + }, + "computed": false }, - "name": "commander" + "arguments": [ + { + "type": "Identifier", + "start": 290, + "end": 297, + "loc": { + "start": { + "line": 12, + "column": 11 + }, + "end": { + "line": 12, + "column": 18 + }, + "identifierName": "version" + }, + "name": "version" + } + ] }, "property": { "type": "Identifier", - "start": 352, - "end": 359, + "start": 302, + "end": 308, "loc": { "start": { - "line": 14, + "line": 13, "column": 3 }, "end": { - "line": 14, - "column": 10 + "line": 13, + "column": 9 }, - "identifierName": "version" + "identifierName": "option" }, - "name": "version" + "name": "option" }, "computed": false }, "arguments": [ { - "type": "Identifier", - "start": 360, - "end": 367, + "type": "StringLiteral", + "start": 309, + "end": 322, "loc": { "start": { - "line": 14, - "column": 11 + "line": 13, + "column": 10 }, "end": { - "line": 14, - "column": 18 + "line": 13, + "column": 23 + } + }, + "extra": { + "rawValue": "-w, --watch", + "raw": "'-w, --watch'" + }, + "value": "-w, --watch" + }, + { + "type": "StringLiteral", + "start": 324, + "end": 368, + "loc": { + "start": { + "line": 13, + "column": 25 }, - "identifierName": "version" + "end": { + "line": 13, + "column": 69 + } }, - "name": "version" + "extra": { + "rawValue": "watch for file changes & rebuild on change", + "raw": "'watch for file changes & rebuild on change'" + }, + "value": "watch for file changes & rebuild on change" } ] }, "property": { "type": "Identifier", - "start": 372, - "end": 378, + "start": 373, + "end": 379, "loc": { "start": { - "line": 15, + "line": 14, "column": 3 }, "end": { - "line": 15, + "line": 14, "column": 9 }, "identifierName": "option" @@ -1060,57 +1116,57 @@ "arguments": [ { "type": "StringLiteral", - "start": 379, - "end": 392, + "start": 380, + "end": 393, "loc": { "start": { - "line": 15, + "line": 14, "column": 10 }, "end": { - "line": 15, + "line": 14, "column": 23 } }, "extra": { - "rawValue": "-w, --watch", - "raw": "'-w, --watch'" + "rawValue": "-b, --build", + "raw": "'-b, --build'" }, - "value": "-w, --watch" + "value": "-b, --build" }, { "type": "StringLiteral", - "start": 394, - "end": 438, + "start": 395, + "end": 421, "loc": { "start": { - "line": 15, + "line": 14, "column": 25 }, "end": { - "line": 15, - "column": 69 + "line": 14, + "column": 51 } }, "extra": { - "rawValue": "watch for file changes & rebuild on change", - "raw": "'watch for file changes & rebuild on change'" + "rawValue": "build your app/component", + "raw": "'build your app/component'" }, - "value": "watch for file changes & rebuild on change" + "value": "build your app/component" } ] }, "property": { "type": "Identifier", - "start": 443, - "end": 449, + "start": 426, + "end": 432, "loc": { "start": { - "line": 16, + "line": 15, "column": 3 }, "end": { - "line": 16, + "line": 15, "column": 9 }, "identifierName": "option" @@ -1122,57 +1178,57 @@ "arguments": [ { "type": "StringLiteral", - "start": 450, - "end": 463, + "start": 433, + "end": 446, "loc": { "start": { - "line": 16, + "line": 15, "column": 10 }, "end": { - "line": 16, + "line": 15, "column": 23 } }, "extra": { - "rawValue": "-b, --build", - "raw": "'-b, --build'" + "rawValue": "-s, --serve", + "raw": "'-s, --serve'" }, - "value": "-b, --build" + "value": "-s, --serve" }, { "type": "StringLiteral", - "start": 465, - "end": 491, + "start": 448, + "end": 474, "loc": { "start": { - "line": 16, + "line": 15, "column": 25 }, "end": { - "line": 16, + "line": 15, "column": 51 } }, "extra": { - "rawValue": "build your app/component", - "raw": "'build your app/component'" + "rawValue": "serve your app/component", + "raw": "'serve your app/component'" }, - "value": "build your app/component" + "value": "serve your app/component" } ] }, "property": { "type": "Identifier", - "start": 496, - "end": 502, + "start": 479, + "end": 485, "loc": { "start": { - "line": 17, + "line": 16, "column": 3 }, "end": { - "line": 17, + "line": 16, "column": 9 }, "identifierName": "option" @@ -1184,57 +1240,57 @@ "arguments": [ { "type": "StringLiteral", - "start": 503, - "end": 516, + "start": 486, + "end": 498, "loc": { "start": { - "line": 17, + "line": 16, "column": 10 }, "end": { - "line": 17, - "column": 23 + "line": 16, + "column": 22 } }, "extra": { - "rawValue": "-s, --serve", - "raw": "'-s, --serve'" + "rawValue": "-c, --copy", + "raw": "'-c, --copy'" }, - "value": "-s, --serve" + "value": "-c, --copy" }, { "type": "StringLiteral", - "start": 518, - "end": 544, + "start": 500, + "end": 573, "loc": { "start": { - "line": 17, - "column": 25 + "line": 16, + "column": 24 }, "end": { - "line": 17, - "column": 51 + "line": 16, + "column": 97 } }, "extra": { - "rawValue": "serve your app/component", - "raw": "'serve your app/component'" + "rawValue": "copy files from your app/component src folder to it distribution folder", + "raw": "'copy files from your app/component src folder to it distribution folder'" }, - "value": "serve your app/component" + "value": "copy files from your app/component src folder to it distribution folder" } ] }, "property": { "type": "Identifier", - "start": 549, - "end": 555, + "start": 578, + "end": 584, "loc": { "start": { - "line": 18, + "line": 17, "column": 3 }, "end": { - "line": 18, + "line": 17, "column": 9 }, "identifierName": "option" @@ -1246,57 +1302,57 @@ "arguments": [ { "type": "StringLiteral", - "start": 556, - "end": 568, + "start": 585, + "end": 598, "loc": { "start": { - "line": 18, + "line": 17, "column": 10 }, "end": { - "line": 18, - "column": 22 + "line": 17, + "column": 23 } }, "extra": { - "rawValue": "-c, --copy", - "raw": "'-c, --copy'" + "rawValue": "-d, --debug", + "raw": "'-d, --debug'" }, - "value": "-c, --copy" + "value": "-d, --debug" }, { "type": "StringLiteral", - "start": 570, - "end": 643, + "start": 600, + "end": 619, "loc": { "start": { - "line": 18, - "column": 24 + "line": 17, + "column": 25 }, "end": { - "line": 18, - "column": 97 + "line": 17, + "column": 44 } }, "extra": { - "rawValue": "copy files from your app/component src folder to it distribution folder", - "raw": "'copy files from your app/component src folder to it distribution folder'" + "rawValue": "show all warnings", + "raw": "'show all warnings'" }, - "value": "copy files from your app/component src folder to it distribution folder" + "value": "show all warnings" } ] }, "property": { "type": "Identifier", - "start": 648, - "end": 654, + "start": 624, + "end": 630, "loc": { "start": { - "line": 19, + "line": 18, "column": 3 }, "end": { - "line": 19, + "line": 18, "column": 9 }, "identifierName": "option" @@ -1308,57 +1364,57 @@ "arguments": [ { "type": "StringLiteral", - "start": 655, - "end": 668, + "start": 631, + "end": 646, "loc": { "start": { - "line": 19, + "line": 18, "column": 10 }, "end": { - "line": 19, - "column": 23 + "line": 18, + "column": 25 } }, "extra": { - "rawValue": "-d, --debug", - "raw": "'-d, --debug'" + "rawValue": "-v, --version", + "raw": "'-v, --version'" }, - "value": "-d, --debug" + "value": "-v, --version" }, { "type": "StringLiteral", - "start": 670, - "end": 689, + "start": 648, + "end": 665, "loc": { "start": { - "line": 19, - "column": 25 + "line": 18, + "column": 27 }, "end": { - "line": 19, + "line": 18, "column": 44 } }, "extra": { - "rawValue": "show all warnings", - "raw": "'show all warnings'" + "rawValue": "current version", + "raw": "'current version'" }, - "value": "show all warnings" + "value": "current version" } ] }, "property": { "type": "Identifier", - "start": 694, - "end": 699, + "start": 670, + "end": 675, "loc": { "start": { - "line": 20, + "line": 19, "column": 3 }, "end": { - "line": 20, + "line": 19, "column": 8 }, "identifierName": "parse" @@ -1370,29 +1426,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 700, - "end": 712, + "start": 676, + "end": 688, "loc": { "start": { - "line": 20, + "line": 19, "column": 9 }, "end": { - "line": 20, + "line": 19, "column": 21 } }, "object": { "type": "Identifier", - "start": 700, - "end": 707, + "start": 676, + "end": 683, "loc": { "start": { - "line": 20, + "line": 19, "column": 9 }, "end": { - "line": 20, + "line": 19, "column": 16 }, "identifierName": "process" @@ -1401,15 +1457,15 @@ }, "property": { "type": "Identifier", - "start": 708, - "end": 712, + "start": 684, + "end": 688, "loc": { "start": { - "line": 20, + "line": 19, "column": 17 }, "end": { - "line": 20, + "line": 19, "column": 21 }, "identifierName": "argv" @@ -1423,1655 +1479,790 @@ }, { "type": "VariableDeclaration", - "start": 716, - "end": 744, + "start": 692, + "end": 878, "loc": { "start": { - "line": 22, + "line": 21, "column": 0 }, "end": { - "line": 22, - "column": 28 + "line": 26, + "column": 2 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 720, - "end": 743, + "start": 698, + "end": 877, "loc": { "start": { - "line": 22, - "column": 4 + "line": 21, + "column": 6 }, "end": { - "line": 22, - "column": 27 + "line": 26, + "column": 1 } }, "id": { "type": "Identifier", - "start": 720, - "end": 725, + "start": 698, + "end": 706, "loc": { "start": { - "line": 22, - "column": 4 + "line": 21, + "column": 6 }, "end": { - "line": 22, - "column": 9 + "line": 21, + "column": 14 }, - "identifierName": "watch" + "identifierName": "commands" }, - "name": "watch" + "name": "commands" }, "init": { - "type": "MemberExpression", - "start": 728, - "end": 743, + "type": "ObjectExpression", + "start": 709, + "end": 877, "loc": { "start": { - "line": 22, - "column": 12 + "line": 21, + "column": 17 }, "end": { - "line": 22, - "column": 27 + "line": 26, + "column": 1 } }, - "object": { - "type": "Identifier", - "start": 728, - "end": 737, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 21 + "properties": [ + { + "type": "ObjectProperty", + "start": 713, + "end": 744, + "loc": { + "start": { + "line": 22, + "column": 2 + }, + "end": { + "line": 22, + "column": 33 + } }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 738, - "end": 743, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 27 - }, - "identifierName": "watch" - }, - "name": "watch" - }, - "computed": false - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 745, - "end": 773, - "loc": { - "start": { - "line": 23, - "column": 0 - }, - "end": { - "line": 23, - "column": 28 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 749, - "end": 772, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "id": { - "type": "Identifier", - "start": 749, - "end": 754, - "loc": { - "start": { - "line": 23, - "column": 4 - }, - "end": { - "line": 23, - "column": 9 - }, - "identifierName": "build" - }, - "name": "build" - }, - "init": { - "type": "MemberExpression", - "start": 757, - "end": 772, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 757, - "end": 766, - "loc": { - "start": { - "line": 23, - "column": 12 - }, - "end": { - "line": 23, - "column": 21 - }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 767, - "end": 772, - "loc": { - "start": { - "line": 23, - "column": 22 - }, - "end": { - "line": 23, - "column": 27 - }, - "identifierName": "build" - }, - "name": "build" - }, - "computed": false - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 774, - "end": 819, - "loc": { - "start": { - "line": 24, - "column": 0 - }, - "end": { - "line": 24, - "column": 45 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 778, - "end": 818, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 44 - } - }, - "id": { - "type": "Identifier", - "start": 778, - "end": 782, - "loc": { - "start": { - "line": 24, - "column": 4 - }, - "end": { - "line": 24, - "column": 8 - }, - "identifierName": "copy" - }, - "name": "copy" - }, - "init": { - "type": "LogicalExpression", - "start": 785, - "end": 818, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 44 - } - }, - "left": { - "type": "MemberExpression", - "start": 785, - "end": 800, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 26 - } - }, - "object": { - "type": "Identifier", - "start": 785, - "end": 794, - "loc": { - "start": { - "line": 24, - "column": 11 - }, - "end": { - "line": 24, - "column": 20 - }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 795, - "end": 800, - "loc": { - "start": { - "line": 24, - "column": 21 - }, - "end": { - "line": 24, - "column": 26 - }, - "identifierName": "build" - }, - "name": "build" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 804, - "end": 818, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 44 - } - }, - "object": { - "type": "Identifier", - "start": 804, - "end": 813, - "loc": { - "start": { - "line": 24, - "column": 30 - }, - "end": { - "line": 24, - "column": 39 - }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 814, - "end": 818, - "loc": { - "start": { - "line": 24, - "column": 40 - }, - "end": { - "line": 24, - "column": 44 - }, - "identifierName": "copy" - }, - "name": "copy" - }, - "computed": false - } - } - } - ], - "kind": "let" - }, - { - "type": "VariableDeclaration", - "start": 820, - "end": 848, - "loc": { - "start": { - "line": 25, - "column": 0 - }, - "end": { - "line": 25, - "column": 28 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 824, - "end": 847, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 27 - } - }, - "id": { - "type": "Identifier", - "start": 824, - "end": 829, - "loc": { - "start": { - "line": 25, - "column": 4 - }, - "end": { - "line": 25, - "column": 9 - }, - "identifierName": "serve" - }, - "name": "serve" - }, - "init": { - "type": "MemberExpression", - "start": 832, - "end": 847, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 27 - } - }, - "object": { - "type": "Identifier", - "start": 832, - "end": 841, - "loc": { - "start": { - "line": 25, - "column": 12 - }, - "end": { - "line": 25, - "column": 21 - }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 842, - "end": 847, - "loc": { - "start": { - "line": 25, - "column": 22 - }, - "end": { - "line": 25, - "column": 27 - }, - "identifierName": "serve" - }, - "name": "serve" - }, - "computed": false - } - } - ], - "kind": "let" - }, - { - "type": "ExpressionStatement", - "start": 849, - "end": 879, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 30 - } - }, - "expression": { - "type": "AssignmentExpression", - "start": 849, - "end": 879, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 30 - } - }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 849, - "end": 861, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 12 - } - }, - "object": { - "type": "Identifier", - "start": 849, - "end": 855, - "loc": { - "start": { - "line": 26, - "column": 0 - }, - "end": { - "line": 26, - "column": 6 - }, - "identifierName": "global" - }, - "name": "global" - }, - "property": { - "type": "Identifier", - "start": 856, - "end": 861, - "loc": { - "start": { - "line": 26, - "column": 7 - }, - "end": { - "line": 26, - "column": 12 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "right": { - "type": "MemberExpression", - "start": 864, - "end": 879, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 30 - } - }, - "object": { - "type": "Identifier", - "start": 864, - "end": 873, - "loc": { - "start": { - "line": 26, - "column": 15 - }, - "end": { - "line": 26, - "column": 24 - }, - "identifierName": "commander" - }, - "name": "commander" - }, - "property": { - "type": "Identifier", - "start": 874, - "end": 879, - "loc": { - "start": { - "line": 26, - "column": 25 - }, - "end": { - "line": 26, - "column": 30 - }, - "identifierName": "debug" - }, - "name": "debug", - "leadingComments": null, - "trailingComments": null - }, - "computed": false, - "trailingComments": null - }, - "trailingComments": null - }, - "trailingComments": [ - { - "type": "CommentBlock", - "value": "*\n * @param {object} config {@link Config}\n ", - "start": 880, - "end": 928, - "loc": { - "start": { - "line": 27, - "column": 0 - }, - "end": { - "line": 29, - "column": 3 - } - } - } - ] - }, - { - "type": "FunctionDeclaration", - "start": 929, - "end": 1250, - "loc": { - "start": { - "line": 30, - "column": 0 - }, - "end": { - "line": 49, - "column": 1 - } - }, - "id": { - "type": "Identifier", - "start": 946, - "end": 949, - "loc": { - "start": { - "line": 30, - "column": 17 - }, - "end": { - "line": 30, - "column": 20 - }, - "identifierName": "run" - }, - "name": "run", - "leadingComments": null - }, - "generator": true, - "expression": false, - "async": true, - "params": [ - { - "type": "Identifier", - "start": 950, - "end": 956, - "loc": { - "start": { - "line": 30, - "column": 21 - }, - "end": { - "line": 30, - "column": 27 - }, - "identifierName": "config" - }, - "name": "config" - } - ], - "body": { - "type": "BlockStatement", - "start": 958, - "end": 1250, - "loc": { - "start": { - "line": 30, - "column": 29 - }, - "end": { - "line": 49, - "column": 1 - } - }, - "body": [ - { - "type": "IfStatement", - "start": 962, - "end": 1011, - "loc": { - "start": { - "line": 31, - "column": 2 - }, - "end": { - "line": 33, - "column": 3 - } - }, - "test": { - "type": "Identifier", - "start": 966, - "end": 971, - "loc": { - "start": { - "line": 31, - "column": 6 - }, - "end": { - "line": 31, - "column": 11 - }, - "identifierName": "build" - }, - "name": "build" - }, - "consequent": { - "type": "BlockStatement", - "start": 973, - "end": 1011, - "loc": { - "start": { - "line": 31, - "column": 13 - }, - "end": { - "line": 33, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 979, - "end": 1007, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 713, + "end": 718, "loc": { "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 32 - } - }, - "expression": { - "type": "AwaitExpression", - "start": 979, - "end": 1006, - "loc": { - "start": { - "line": 32, - "column": 4 - }, - "end": { - "line": 32, - "column": 31 - } + "line": 22, + "column": 2 }, - "argument": { - "type": "CallExpression", - "start": 985, - "end": 1006, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 31 - } - }, - "callee": { - "type": "MemberExpression", - "start": 985, - "end": 998, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 23 - } - }, - "object": { - "type": "Identifier", - "start": 985, - "end": 992, - "loc": { - "start": { - "line": 32, - "column": 10 - }, - "end": { - "line": 32, - "column": 17 - }, - "identifierName": "builder" - }, - "name": "builder" - }, - "property": { - "type": "Identifier", - "start": 993, - "end": 998, - "loc": { - "start": { - "line": 32, - "column": 18 - }, - "end": { - "line": 32, - "column": 23 - }, - "identifierName": "build" - }, - "name": "build" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 999, - "end": 1005, - "loc": { - "start": { - "line": 32, - "column": 24 - }, - "end": { - "line": 32, - "column": 30 - }, - "identifierName": "config" - }, - "name": "config" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 1015, - "end": 1072, - "loc": { - "start": { - "line": 35, - "column": 2 - }, - "end": { - "line": 37, - "column": 3 - } - }, - "test": { - "type": "Identifier", - "start": 1019, - "end": 1023, - "loc": { - "start": { - "line": 35, - "column": 6 - }, - "end": { - "line": 35, - "column": 10 - }, - "identifierName": "copy" - }, - "name": "copy" - }, - "consequent": { - "type": "BlockStatement", - "start": 1025, - "end": 1072, - "loc": { - "start": { - "line": 35, - "column": 12 + "end": { + "line": 22, + "column": 7 + }, + "identifierName": "build" + }, + "name": "build" }, - "end": { - "line": 37, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1031, - "end": 1068, + "value": { + "type": "CallExpression", + "start": 720, + "end": 744, "loc": { "start": { - "line": 36, - "column": 4 + "line": 22, + "column": 9 }, "end": { - "line": 36, - "column": 41 + "line": 22, + "column": 33 } }, - "expression": { - "type": "AwaitExpression", - "start": 1031, - "end": 1067, + "callee": { + "type": "Identifier", + "start": 720, + "end": 727, "loc": { "start": { - "line": 36, - "column": 4 + "line": 22, + "column": 9 }, "end": { - "line": 36, - "column": 40 - } + "line": 22, + "column": 16 + }, + "identifierName": "Boolean" }, - "argument": { - "type": "CallExpression", - "start": 1037, - "end": 1067, + "name": "Boolean" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 728, + "end": 743, "loc": { "start": { - "line": 36, - "column": 10 + "line": 22, + "column": 17 }, "end": { - "line": 36, - "column": 40 + "line": 22, + "column": 32 } }, - "callee": { - "type": "MemberExpression", - "start": 1037, - "end": 1051, + "object": { + "type": "Identifier", + "start": 728, + "end": 737, "loc": { "start": { - "line": 36, - "column": 10 + "line": 22, + "column": 17 }, "end": { - "line": 36, - "column": 24 - } - }, - "object": { - "type": "Identifier", - "start": 1037, - "end": 1039, - "loc": { - "start": { - "line": 36, - "column": 10 - }, - "end": { - "line": 36, - "column": 12 - }, - "identifierName": "fs" - }, - "name": "fs" - }, - "property": { - "type": "Identifier", - "start": 1040, - "end": 1051, - "loc": { - "start": { - "line": 36, - "column": 13 - }, - "end": { - "line": 36, - "column": 24 - }, - "identifierName": "copySources" + "line": 22, + "column": 26 }, - "name": "copySources" + "identifierName": "commander" }, - "computed": false + "name": "commander" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1052, - "end": 1066, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 39 - } - }, - "object": { - "type": "Identifier", - "start": 1052, - "end": 1058, - "loc": { - "start": { - "line": 36, - "column": 25 - }, - "end": { - "line": 36, - "column": 31 - }, - "identifierName": "config" - }, - "name": "config" + "property": { + "type": "Identifier", + "start": 738, + "end": 743, + "loc": { + "start": { + "line": 22, + "column": 27 }, - "property": { - "type": "Identifier", - "start": 1059, - "end": 1066, - "loc": { - "start": { - "line": 36, - "column": 32 - }, - "end": { - "line": 36, - "column": 39 - }, - "identifierName": "sources" - }, - "name": "sources" + "end": { + "line": 22, + "column": 32 }, - "computed": false - } - ] + "identifierName": "build" + }, + "name": "build" + }, + "computed": false } - } + ] } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 1076, - "end": 1189, - "loc": { - "start": { - "line": 39, - "column": 2 - }, - "end": { - "line": 44, - "column": 3 - } - }, - "test": { - "type": "Identifier", - "start": 1080, - "end": 1085, - "loc": { - "start": { - "line": 39, - "column": 6 - }, - "end": { - "line": 39, - "column": 11 - }, - "identifierName": "watch" }, - "name": "watch" - }, - "consequent": { - "type": "BlockStatement", - "start": 1087, - "end": 1189, - "loc": { - "start": { - "line": 39, - "column": 13 + { + "type": "ObjectProperty", + "start": 748, + "end": 779, + "loc": { + "start": { + "line": 23, + "column": 2 + }, + "end": { + "line": 23, + "column": 33 + } }, - "end": { - "line": 44, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1093, - "end": 1152, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 748, + "end": 753, "loc": { "start": { - "line": 40, - "column": 4 + "line": 23, + "column": 2 }, "end": { - "line": 42, + "line": 23, "column": 7 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "value": { + "type": "CallExpression", + "start": 755, + "end": 779, + "loc": { + "start": { + "line": 23, + "column": 9 + }, + "end": { + "line": 23, + "column": 33 } }, - "expression": { - "type": "CallExpression", - "start": 1093, - "end": 1151, + "callee": { + "type": "Identifier", + "start": 755, + "end": 762, "loc": { "start": { - "line": 40, - "column": 4 + "line": 23, + "column": 9 }, "end": { - "line": 42, - "column": 6 - } + "line": 23, + "column": 16 + }, + "identifierName": "Boolean" }, - "callee": { + "name": "Boolean" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1093, - "end": 1103, + "start": 763, + "end": 778, "loc": { "start": { - "line": 40, - "column": 4 + "line": 23, + "column": 17 }, "end": { - "line": 40, - "column": 14 + "line": 23, + "column": 32 } }, "object": { "type": "Identifier", - "start": 1093, - "end": 1100, + "start": 763, + "end": 772, "loc": { "start": { - "line": 40, - "column": 4 + "line": 23, + "column": 17 }, "end": { - "line": 40, - "column": 11 + "line": 23, + "column": 26 }, - "identifierName": "watcher" + "identifierName": "commander" }, - "name": "watcher" + "name": "commander" }, "property": { "type": "Identifier", - "start": 1101, - "end": 1103, + "start": 773, + "end": 778, "loc": { "start": { - "line": 40, - "column": 12 + "line": 23, + "column": 27 }, "end": { - "line": 40, - "column": 14 + "line": 23, + "column": 32 }, - "identifierName": "on" + "identifierName": "watch" }, - "name": "on" + "name": "watch" }, "computed": false - }, - "arguments": [ - { - "type": "StringLiteral", - "start": 1104, - "end": 1112, - "loc": { - "start": { - "line": 40, - "column": 15 - }, - "end": { - "line": 40, - "column": 23 - } - }, - "extra": { - "rawValue": "reload", - "raw": "'reload'" - }, - "value": "reload" - }, - { - "type": "ArrowFunctionExpression", - "start": 1114, - "end": 1150, - "loc": { - "start": { - "line": 40, - "column": 25 - }, - "end": { - "line": 42, - "column": 5 - } - }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 1120, - "end": 1150, - "loc": { - "start": { - "line": 40, - "column": 31 - }, - "end": { - "line": 42, - "column": 5 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1128, - "end": 1144, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 22 - } - }, - "expression": { - "type": "CallExpression", - "start": 1128, - "end": 1143, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 21 - } - }, - "callee": { - "type": "MemberExpression", - "start": 1128, - "end": 1141, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 19 - } - }, - "object": { - "type": "Identifier", - "start": 1128, - "end": 1134, - "loc": { - "start": { - "line": 41, - "column": 6 - }, - "end": { - "line": 41, - "column": 12 - }, - "identifierName": "server" - }, - "name": "server" - }, - "property": { - "type": "Identifier", - "start": 1135, - "end": 1141, - "loc": { - "start": { - "line": 41, - "column": 13 - }, - "end": { - "line": 41, - "column": 19 - }, - "identifierName": "reload" - }, - "name": "reload" - }, - "computed": false - }, - "arguments": [] - } - } - ], - "directives": [] - } - } - ] + } + ] + } + }, + { + "type": "ObjectProperty", + "start": 783, + "end": 840, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 59 } }, - { - "type": "ExpressionStatement", - "start": 1157, - "end": 1185, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 783, + "end": 787, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 6 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "value": { + "type": "LogicalExpression", + "start": 789, + "end": 840, "loc": { "start": { - "line": 43, - "column": 4 + "line": 24, + "column": 8 }, "end": { - "line": 43, - "column": 32 + "line": 24, + "column": 59 } }, - "expression": { - "type": "AwaitExpression", - "start": 1157, - "end": 1184, + "left": { + "type": "CallExpression", + "start": 789, + "end": 813, "loc": { "start": { - "line": 43, - "column": 4 + "line": 24, + "column": 8 }, "end": { - "line": 43, - "column": 31 + "line": 24, + "column": 32 } }, - "argument": { - "type": "CallExpression", - "start": 1163, - "end": 1184, + "callee": { + "type": "Identifier", + "start": 789, + "end": 796, "loc": { "start": { - "line": 43, - "column": 10 + "line": 24, + "column": 8 }, "end": { - "line": 43, - "column": 31 - } + "line": 24, + "column": 15 + }, + "identifierName": "Boolean" }, - "callee": { + "name": "Boolean" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1163, - "end": 1176, + "start": 797, + "end": 812, "loc": { "start": { - "line": 43, - "column": 10 + "line": 24, + "column": 16 }, "end": { - "line": 43, - "column": 23 + "line": 24, + "column": 31 } }, "object": { "type": "Identifier", - "start": 1163, - "end": 1170, + "start": 797, + "end": 806, "loc": { "start": { - "line": 43, - "column": 10 + "line": 24, + "column": 16 }, "end": { - "line": 43, - "column": 17 + "line": 24, + "column": 25 }, - "identifierName": "watcher" + "identifierName": "commander" }, - "name": "watcher" + "name": "commander" }, "property": { "type": "Identifier", - "start": 1171, - "end": 1176, + "start": 807, + "end": 812, "loc": { "start": { - "line": 43, - "column": 18 + "line": 24, + "column": 26 }, "end": { - "line": 43, - "column": 23 + "line": 24, + "column": 31 }, - "identifierName": "watch" + "identifierName": "build" }, - "name": "watch" + "name": "build" }, "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 1177, - "end": 1183, - "loc": { - "start": { - "line": 43, - "column": 24 - }, - "end": { - "line": 43, - "column": 30 - }, - "identifierName": "config" - }, - "name": "config" - } - ] - } - } - } - ], - "directives": [] - }, - "alternate": null - }, - { - "type": "IfStatement", - "start": 1193, - "end": 1248, - "loc": { - "start": { - "line": 46, - "column": 2 - }, - "end": { - "line": 48, - "column": 3 - } - }, - "test": { - "type": "Identifier", - "start": 1197, - "end": 1202, - "loc": { - "start": { - "line": 46, - "column": 6 - }, - "end": { - "line": 46, - "column": 11 - }, - "identifierName": "serve" - }, - "name": "serve" - }, - "consequent": { - "type": "BlockStatement", - "start": 1204, - "end": 1248, - "loc": { - "start": { - "line": 46, - "column": 13 - }, - "end": { - "line": 48, - "column": 3 - } - }, - "body": [ - { - "type": "ExpressionStatement", - "start": 1210, - "end": 1244, - "loc": { - "start": { - "line": 47, - "column": 4 - }, - "end": { - "line": 47, - "column": 38 - } + } + ] }, - "expression": { - "type": "AwaitExpression", - "start": 1210, - "end": 1243, + "operator": "||", + "right": { + "type": "CallExpression", + "start": 817, + "end": 840, "loc": { "start": { - "line": 47, - "column": 4 + "line": 24, + "column": 36 }, "end": { - "line": 47, - "column": 37 + "line": 24, + "column": 59 } }, - "argument": { - "type": "CallExpression", - "start": 1216, - "end": 1243, + "callee": { + "type": "Identifier", + "start": 817, + "end": 824, "loc": { "start": { - "line": 47, - "column": 10 + "line": 24, + "column": 36 }, "end": { - "line": 47, - "column": 37 - } + "line": 24, + "column": 43 + }, + "identifierName": "Boolean" }, - "callee": { + "name": "Boolean" + }, + "arguments": [ + { "type": "MemberExpression", - "start": 1216, - "end": 1228, + "start": 825, + "end": 839, "loc": { "start": { - "line": 47, - "column": 10 + "line": 24, + "column": 44 }, "end": { - "line": 47, - "column": 22 + "line": 24, + "column": 58 } }, "object": { "type": "Identifier", - "start": 1216, - "end": 1222, + "start": 825, + "end": 834, "loc": { "start": { - "line": 47, - "column": 10 + "line": 24, + "column": 44 }, "end": { - "line": 47, - "column": 16 + "line": 24, + "column": 53 }, - "identifierName": "server" + "identifierName": "commander" }, - "name": "server" + "name": "commander" }, "property": { "type": "Identifier", - "start": 1223, - "end": 1228, + "start": 835, + "end": 839, "loc": { "start": { - "line": 47, - "column": 17 + "line": 24, + "column": 54 }, "end": { - "line": 47, - "column": 22 + "line": 24, + "column": 58 }, - "identifierName": "serve" + "identifierName": "copy" }, - "name": "serve" + "name": "copy" }, "computed": false + } + ] + } + } + }, + { + "type": "ObjectProperty", + "start": 844, + "end": 875, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 33 + } + }, + "method": false, + "shorthand": false, + "computed": false, + "key": { + "type": "Identifier", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 25, + "column": 2 + }, + "end": { + "line": 25, + "column": 7 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "value": { + "type": "CallExpression", + "start": 851, + "end": 875, + "loc": { + "start": { + "line": 25, + "column": 9 + }, + "end": { + "line": 25, + "column": 33 + } + }, + "callee": { + "type": "Identifier", + "start": 851, + "end": 858, + "loc": { + "start": { + "line": 25, + "column": 9 }, - "arguments": [ - { - "type": "MemberExpression", - "start": 1229, - "end": 1242, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 36 - } + "end": { + "line": 25, + "column": 16 + }, + "identifierName": "Boolean" + }, + "name": "Boolean" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 859, + "end": 874, + "loc": { + "start": { + "line": 25, + "column": 17 + }, + "end": { + "line": 25, + "column": 32 + } + }, + "object": { + "type": "Identifier", + "start": 859, + "end": 868, + "loc": { + "start": { + "line": 25, + "column": 17 }, - "object": { - "type": "Identifier", - "start": 1229, - "end": 1235, - "loc": { - "start": { - "line": 47, - "column": 23 - }, - "end": { - "line": 47, - "column": 29 - }, - "identifierName": "config" - }, - "name": "config" + "end": { + "line": 25, + "column": 26 }, - "property": { - "type": "Identifier", - "start": 1236, - "end": 1242, - "loc": { - "start": { - "line": 47, - "column": 30 - }, - "end": { - "line": 47, - "column": 36 - }, - "identifierName": "server" - }, - "name": "server" + "identifierName": "commander" + }, + "name": "commander" + }, + "property": { + "type": "Identifier", + "start": 869, + "end": 874, + "loc": { + "start": { + "line": 25, + "column": 27 }, - "computed": false - } - ] + "end": { + "line": 25, + "column": 32 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "computed": false } - } + ] } - ], - "directives": [] + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ExpressionStatement", + "start": 880, + "end": 911, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 31 + } + }, + "expression": { + "type": "AssignmentExpression", + "start": 880, + "end": 910, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 30 + } + }, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 880, + "end": 892, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 880, + "end": 886, + "loc": { + "start": { + "line": 28, + "column": 0 + }, + "end": { + "line": 28, + "column": 6 + }, + "identifierName": "global" + }, + "name": "global" + }, + "property": { + "type": "Identifier", + "start": 887, + "end": 892, + "loc": { + "start": { + "line": 28, + "column": 7 + }, + "end": { + "line": 28, + "column": 12 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + }, + "right": { + "type": "MemberExpression", + "start": 895, + "end": 910, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 30 + } + }, + "object": { + "type": "Identifier", + "start": 895, + "end": 904, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 24 + }, + "identifierName": "commander" }, - "alternate": null - } - ], - "directives": [] + "name": "commander" + }, + "property": { + "type": "Identifier", + "start": 905, + "end": 910, + "loc": { + "start": { + "line": 28, + "column": 25 + }, + "end": { + "line": 28, + "column": 30 + }, + "identifierName": "debug" + }, + "name": "debug" + }, + "computed": false + } }, - "leadingComments": [ + "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @param {object} config {@link Config}\n ", - "start": 880, - "end": 928, + "start": 913, + "end": 961, "loc": { "start": { - "line": 27, + "line": 30, "column": 0 }, "end": { - "line": 29, + "line": 32, "column": 3 } } @@ -3080,110 +2271,112 @@ }, { "type": "ExpressionStatement", - "start": 1252, - "end": 1372, + "start": 962, + "end": 1369, "loc": { "start": { - "line": 51, + "line": 33, "column": 0 }, "end": { - "line": 55, + "line": 49, "column": 3 } }, "expression": { "type": "CallExpression", - "start": 1252, - "end": 1371, + "start": 962, + "end": 1368, "loc": { "start": { - "line": 51, + "line": 33, "column": 0 }, "end": { - "line": 55, + "line": 49, "column": 2 } }, "callee": { "type": "MemberExpression", - "start": 1252, - "end": 1269, + "start": 962, + "end": 979, "loc": { "start": { - "line": 51, + "line": 33, "column": 0 }, "end": { - "line": 51, + "line": 33, "column": 17 } }, "object": { "type": "NewExpression", - "start": 1252, - "end": 1264, + "start": 962, + "end": 974, "loc": { "start": { - "line": 51, + "line": 33, "column": 0 }, "end": { - "line": 51, + "line": 33, "column": 12 } }, "callee": { "type": "Identifier", - "start": 1256, - "end": 1262, + "start": 966, + "end": 972, "loc": { "start": { - "line": 51, + "line": 33, "column": 4 }, "end": { - "line": 51, + "line": 33, "column": 10 }, "identifierName": "Config" }, "name": "Config" }, - "arguments": [] + "arguments": [], + "leadingComments": null }, "property": { "type": "Identifier", - "start": 1265, - "end": 1269, + "start": 975, + "end": 979, "loc": { "start": { - "line": 51, + "line": 33, "column": 13 }, "end": { - "line": 51, + "line": 33, "column": 17 }, "identifierName": "then" }, "name": "then" }, - "computed": false + "computed": false, + "leadingComments": null }, "arguments": [ { "type": "ArrowFunctionExpression", - "start": 1270, - "end": 1370, + "start": 980, + "end": 1367, "loc": { "start": { - "line": 51, + "line": 33, "column": 18 }, "end": { - "line": 55, + "line": 49, "column": 1 } }, @@ -3194,15 +2387,15 @@ "params": [ { "type": "Identifier", - "start": 1270, - "end": 1276, + "start": 980, + "end": 986, "loc": { "start": { - "line": 51, + "line": 33, "column": 18 }, "end": { - "line": 51, + "line": 33, "column": 24 }, "identifierName": "config" @@ -3212,404 +2405,1101 @@ ], "body": { "type": "BlockStatement", - "start": 1280, - "end": 1370, + "start": 990, + "end": 1367, "loc": { "start": { - "line": 51, + "line": 33, "column": 28 }, "end": { - "line": 55, + "line": 49, "column": 1 } }, "body": [ { - "type": "ExpressionStatement", - "start": 1284, - "end": 1331, + "type": "FunctionDeclaration", + "start": 994, + "end": 1350, "loc": { "start": { - "line": 52, + "line": 34, "column": 2 }, "end": { - "line": 52, - "column": 49 + "line": 47, + "column": 3 } }, - "expression": { - "type": "AssignmentExpression", - "start": 1284, - "end": 1330, + "id": { + "type": "Identifier", + "start": 1009, + "end": 1012, "loc": { "start": { - "line": 52, - "column": 2 + "line": 34, + "column": 17 }, "end": { - "line": 52, - "column": 48 - } + "line": 34, + "column": 20 + }, + "identifierName": "run" }, - "operator": "=", - "left": { - "type": "MemberExpression", - "start": 1284, - "end": 1296, + "name": "run" + }, + "generator": false, + "expression": false, + "async": true, + "params": [ + { + "type": "Identifier", + "start": 1013, + "end": 1019, "loc": { "start": { - "line": 52, - "column": 2 + "line": 34, + "column": 21 }, "end": { - "line": 52, - "column": 14 - } - }, - "object": { - "type": "Identifier", - "start": 1284, - "end": 1290, - "loc": { - "start": { - "line": 52, - "column": 2 - }, - "end": { - "line": 52, - "column": 8 - }, - "identifierName": "global" + "line": 34, + "column": 27 }, - "name": "global" + "identifierName": "config" }, - "property": { - "type": "Identifier", - "start": 1291, - "end": 1296, - "loc": { - "start": { - "line": 52, - "column": 9 - }, - "end": { - "line": 52, - "column": 14 - }, - "identifierName": "debug" - }, - "name": "debug" + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 1021, + "end": 1350, + "loc": { + "start": { + "line": 34, + "column": 29 }, - "computed": false + "end": { + "line": 47, + "column": 3 + } }, - "right": { - "type": "LogicalExpression", - "start": 1299, - "end": 1330, - "loc": { - "start": { - "line": 52, - "column": 17 - }, - "end": { - "line": 52, - "column": 48 - } - }, - "left": { - "type": "MemberExpression", - "start": 1299, - "end": 1314, + "body": [ + { + "type": "ForOfStatement", + "start": 1027, + "end": 1325, "loc": { "start": { - "line": 52, - "column": 17 + "line": 35, + "column": 4 }, "end": { - "line": 52, - "column": 32 + "line": 45, + "column": 5 } }, - "object": { - "type": "Identifier", - "start": 1299, - "end": 1308, + "left": { + "type": "VariableDeclaration", + "start": 1032, + "end": 1042, "loc": { "start": { - "line": 52, - "column": 17 + "line": 35, + "column": 9 }, "end": { - "line": 52, - "column": 26 - }, - "identifierName": "commander" + "line": 35, + "column": 19 + } }, - "name": "commander" + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1038, + "end": 1042, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 19 + } + }, + "id": { + "type": "Identifier", + "start": 1038, + "end": 1042, + "loc": { + "start": { + "line": 35, + "column": 15 + }, + "end": { + "line": 35, + "column": 19 + }, + "identifierName": "task" + }, + "name": "task" + }, + "init": null + } + ], + "kind": "const" }, - "property": { - "type": "Identifier", - "start": 1309, - "end": 1314, + "right": { + "type": "CallExpression", + "start": 1046, + "end": 1070, "loc": { "start": { - "line": 52, - "column": 27 + "line": 35, + "column": 23 }, "end": { - "line": 52, - "column": 32 - }, - "identifierName": "debug" - }, - "name": "debug" - }, - "computed": false - }, - "operator": "||", - "right": { - "type": "MemberExpression", - "start": 1318, - "end": 1330, - "loc": { - "start": { - "line": 52, - "column": 36 + "line": 35, + "column": 47 + } }, - "end": { - "line": 52, - "column": 48 - } - }, - "object": { - "type": "Identifier", - "start": 1318, - "end": 1324, - "loc": { - "start": { - "line": 52, - "column": 36 + "callee": { + "type": "MemberExpression", + "start": 1046, + "end": 1060, + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 37 + } }, - "end": { - "line": 52, - "column": 42 + "object": { + "type": "Identifier", + "start": 1046, + "end": 1052, + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 29 + }, + "identifierName": "Object" + }, + "name": "Object" + }, + "property": { + "type": "Identifier", + "start": 1053, + "end": 1060, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 37 + }, + "identifierName": "entries" + }, + "name": "entries" }, - "identifierName": "config" + "computed": false }, - "name": "config" + "arguments": [ + { + "type": "Identifier", + "start": 1061, + "end": 1069, + "loc": { + "start": { + "line": 35, + "column": 38 + }, + "end": { + "line": 35, + "column": 46 + }, + "identifierName": "commands" + }, + "name": "commands" + } + ] }, - "property": { - "type": "Identifier", - "start": 1325, - "end": 1330, + "body": { + "type": "BlockStatement", + "start": 1072, + "end": 1325, "loc": { "start": { - "line": 52, - "column": 43 + "line": 35, + "column": 49 }, "end": { - "line": 52, - "column": 48 - }, - "identifierName": "debug" + "line": 45, + "column": 5 + } }, - "name": "debug" - }, - "computed": false - } - } - } - }, - { - "type": "VariableDeclaration", - "start": 1334, - "end": 1355, - "loc": { - "start": { - "line": 53, - "column": 2 - }, - "end": { - "line": 53, - "column": 23 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 1338, - "end": 1354, - "loc": { - "start": { - "line": 53, - "column": 6 - }, - "end": { - "line": 53, - "column": 22 + "body": [ + { + "type": "VariableDeclaration", + "start": 1080, + "end": 1101, + "loc": { + "start": { + "line": 36, + "column": 6 + }, + "end": { + "line": 36, + "column": 27 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1086, + "end": 1100, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 26 + } + }, + "id": { + "type": "Identifier", + "start": 1086, + "end": 1090, + "loc": { + "start": { + "line": 36, + "column": 12 + }, + "end": { + "line": 36, + "column": 16 + }, + "identifierName": "name" + }, + "name": "name" + }, + "init": { + "type": "MemberExpression", + "start": 1093, + "end": 1100, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 26 + } + }, + "object": { + "type": "Identifier", + "start": 1093, + "end": 1097, + "loc": { + "start": { + "line": 36, + "column": 19 + }, + "end": { + "line": 36, + "column": 23 + }, + "identifierName": "task" + }, + "name": "task" + }, + "property": { + "type": "NumericLiteral", + "start": 1098, + "end": 1099, + "loc": { + "start": { + "line": 36, + "column": 24 + }, + "end": { + "line": 36, + "column": 25 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 1108, + "end": 1132, + "loc": { + "start": { + "line": 37, + "column": 6 + }, + "end": { + "line": 37, + "column": 30 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1114, + "end": 1131, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 29 + } + }, + "id": { + "type": "Identifier", + "start": 1114, + "end": 1121, + "loc": { + "start": { + "line": 37, + "column": 12 + }, + "end": { + "line": 37, + "column": 19 + }, + "identifierName": "enabled" + }, + "name": "enabled" + }, + "init": { + "type": "MemberExpression", + "start": 1124, + "end": 1131, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 29 + } + }, + "object": { + "type": "Identifier", + "start": 1124, + "end": 1128, + "loc": { + "start": { + "line": 37, + "column": 22 + }, + "end": { + "line": 37, + "column": 26 + }, + "identifierName": "task" + }, + "name": "task" + }, + "property": { + "type": "NumericLiteral", + "start": 1129, + "end": 1130, + "loc": { + "start": { + "line": 37, + "column": 27 + }, + "end": { + "line": 37, + "column": 28 + } + }, + "extra": { + "rawValue": 1, + "raw": "1" + }, + "value": 1 + }, + "computed": true + } + } + ], + "kind": "const" + }, + { + "type": "IfStatement", + "start": 1139, + "end": 1319, + "loc": { + "start": { + "line": 38, + "column": 6 + }, + "end": { + "line": 44, + "column": 7 + } + }, + "test": { + "type": "Identifier", + "start": 1143, + "end": 1150, + "loc": { + "start": { + "line": 38, + "column": 10 + }, + "end": { + "line": 38, + "column": 17 + }, + "identifierName": "enabled" + }, + "name": "enabled" + }, + "consequent": { + "type": "BlockStatement", + "start": 1152, + "end": 1319, + "loc": { + "start": { + "line": 38, + "column": 19 + }, + "end": { + "line": 44, + "column": 7 + } + }, + "body": [ + { + "type": "TryStatement", + "start": 1162, + "end": 1311, + "loc": { + "start": { + "line": 39, + "column": 8 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "block": { + "type": "BlockStatement", + "start": 1166, + "end": 1227, + "loc": { + "start": { + "line": 39, + "column": 12 + }, + "end": { + "line": 41, + "column": 9 + } + }, + "body": [ + { + "type": "VariableDeclaration", + "start": 1178, + "end": 1217, + "loc": { + "start": { + "line": 40, + "column": 10 + }, + "end": { + "line": 40, + "column": 49 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 1184, + "end": 1216, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 48 + } + }, + "id": { + "type": "Identifier", + "start": 1184, + "end": 1188, + "loc": { + "start": { + "line": 40, + "column": 16 + }, + "end": { + "line": 40, + "column": 20 + }, + "identifierName": "done" + }, + "name": "done" + }, + "init": { + "type": "AwaitExpression", + "start": 1191, + "end": 1216, + "loc": { + "start": { + "line": 40, + "column": 23 + }, + "end": { + "line": 40, + "column": 48 + } + }, + "argument": { + "type": "CallExpression", + "start": 1197, + "end": 1216, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 48 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1197, + "end": 1208, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 40 + } + }, + "object": { + "type": "Identifier", + "start": 1197, + "end": 1202, + "loc": { + "start": { + "line": 40, + "column": 29 + }, + "end": { + "line": 40, + "column": 34 + }, + "identifierName": "tasks" + }, + "name": "tasks" + }, + "property": { + "type": "Identifier", + "start": 1203, + "end": 1207, + "loc": { + "start": { + "line": 40, + "column": 35 + }, + "end": { + "line": 40, + "column": 39 + }, + "identifierName": "name" + }, + "name": "name" + }, + "computed": true + }, + "arguments": [ + { + "type": "Identifier", + "start": 1209, + "end": 1215, + "loc": { + "start": { + "line": 40, + "column": 41 + }, + "end": { + "line": 40, + "column": 47 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + } + } + } + ], + "kind": "const" + } + ], + "directives": [] + }, + "handler": { + "type": "CatchClause", + "start": 1228, + "end": 1311, + "loc": { + "start": { + "line": 41, + "column": 10 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "param": { + "type": "Identifier", + "start": 1235, + "end": 1236, + "loc": { + "start": { + "line": 41, + "column": 17 + }, + "end": { + "line": 41, + "column": 18 + }, + "identifierName": "e" + }, + "name": "e" + }, + "body": { + "type": "BlockStatement", + "start": 1238, + "end": 1311, + "loc": { + "start": { + "line": 41, + "column": 20 + }, + "end": { + "line": 43, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 1250, + "end": 1301, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 61 + } + }, + "expression": { + "type": "CallExpression", + "start": 1250, + "end": 1300, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 60 + } + }, + "callee": { + "type": "MemberExpression", + "start": 1250, + "end": 1261, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 1250, + "end": 1256, + "loc": { + "start": { + "line": 42, + "column": 10 + }, + "end": { + "line": 42, + "column": 16 + }, + "identifierName": "logger" + }, + "name": "logger" + }, + "property": { + "type": "Identifier", + "start": 1257, + "end": 1261, + "loc": { + "start": { + "line": 42, + "column": 17 + }, + "end": { + "line": 42, + "column": 21 + }, + "identifierName": "warn" + }, + "name": "warn" + }, + "computed": false + }, + "arguments": [ + { + "type": "TemplateLiteral", + "start": 1262, + "end": 1299, + "loc": { + "start": { + "line": 42, + "column": 22 + }, + "end": { + "line": 42, + "column": 59 + } + }, + "expressions": [ + { + "type": "Identifier", + "start": 1280, + "end": 1284, + "loc": { + "start": { + "line": 42, + "column": 40 + }, + "end": { + "line": 42, + "column": 44 + }, + "identifierName": "name" + }, + "name": "name" + } + ], + "quasis": [ + { + "type": "TemplateElement", + "start": 1263, + "end": 1278, + "loc": { + "start": { + "line": 42, + "column": 23 + }, + "end": { + "line": 42, + "column": 38 + } + }, + "value": { + "raw": "task::function ", + "cooked": "task::function " + }, + "tail": false + }, + { + "type": "TemplateElement", + "start": 1285, + "end": 1298, + "loc": { + "start": { + "line": 42, + "column": 45 + }, + "end": { + "line": 42, + "column": 58 + } + }, + "value": { + "raw": " is undefined", + "cooked": " is undefined" + }, + "tail": true + } + ] + } + ] + } + } + ], + "directives": [] + } + }, + "guardedHandlers": [], + "finalizer": null + } + ], + "directives": [] + }, + "alternate": null + } + ], + "directives": [] } }, - "id": { - "type": "Identifier", - "start": 1338, - "end": 1340, - "loc": { - "start": { - "line": 53, - "column": 6 - }, - "end": { - "line": 53, - "column": 8 - }, - "identifierName": "it" - }, - "name": "it" - }, - "init": { - "type": "CallExpression", - "start": 1343, - "end": 1354, + { + "type": "ExpressionStatement", + "start": 1330, + "end": 1346, "loc": { "start": { - "line": 53, - "column": 11 + "line": 46, + "column": 4 }, "end": { - "line": 53, - "column": 22 + "line": 46, + "column": 20 } }, - "callee": { - "type": "Identifier", - "start": 1343, - "end": 1346, + "expression": { + "type": "CallExpression", + "start": 1330, + "end": 1345, "loc": { "start": { - "line": 53, - "column": 11 + "line": 46, + "column": 4 }, "end": { - "line": 53, - "column": 14 - }, - "identifierName": "run" + "line": 46, + "column": 19 + } }, - "name": "run" - }, - "arguments": [ - { - "type": "Identifier", - "start": 1347, - "end": 1353, + "callee": { + "type": "MemberExpression", + "start": 1330, + "end": 1342, "loc": { "start": { - "line": 53, - "column": 15 + "line": 46, + "column": 4 }, "end": { - "line": 53, - "column": 21 + "line": 46, + "column": 16 + } + }, + "object": { + "type": "Identifier", + "start": 1330, + "end": 1337, + "loc": { + "start": { + "line": 46, + "column": 4 + }, + "end": { + "line": 46, + "column": 11 + }, + "identifierName": "process" }, - "identifierName": "config" + "name": "process" }, - "name": "config" - } - ] + "property": { + "type": "Identifier", + "start": 1338, + "end": 1342, + "loc": { + "start": { + "line": 46, + "column": 12 + }, + "end": { + "line": 46, + "column": 16 + }, + "identifierName": "exit" + }, + "name": "exit" + }, + "computed": false + }, + "arguments": [ + { + "type": "NumericLiteral", + "start": 1343, + "end": 1344, + "loc": { + "start": { + "line": 46, + "column": 17 + }, + "end": { + "line": 46, + "column": 18 + } + }, + "extra": { + "rawValue": 0, + "raw": "0" + }, + "value": 0 + } + ] + } } - } - ], - "kind": "let" + ], + "directives": [] + } }, { "type": "ExpressionStatement", - "start": 1358, - "end": 1368, + "start": 1353, + "end": 1365, "loc": { "start": { - "line": 54, + "line": 48, "column": 2 }, "end": { - "line": 54, - "column": 12 + "line": 48, + "column": 14 } }, "expression": { "type": "CallExpression", - "start": 1358, - "end": 1367, + "start": 1353, + "end": 1364, "loc": { "start": { - "line": 54, + "line": 48, "column": 2 }, "end": { - "line": 54, - "column": 11 + "line": 48, + "column": 13 } }, "callee": { - "type": "MemberExpression", - "start": 1358, - "end": 1365, + "type": "Identifier", + "start": 1353, + "end": 1356, "loc": { "start": { - "line": 54, + "line": 48, "column": 2 }, "end": { - "line": 54, - "column": 9 - } - }, - "object": { - "type": "Identifier", - "start": 1358, - "end": 1360, - "loc": { - "start": { - "line": 54, - "column": 2 - }, - "end": { - "line": 54, - "column": 4 - }, - "identifierName": "it" + "line": 48, + "column": 5 }, - "name": "it" + "identifierName": "run" }, - "property": { + "name": "run" + }, + "arguments": [ + { "type": "Identifier", - "start": 1361, - "end": 1365, + "start": 1357, + "end": 1363, "loc": { "start": { - "line": 54, - "column": 5 + "line": 48, + "column": 6 }, "end": { - "line": 54, - "column": 9 + "line": 48, + "column": 12 }, - "identifierName": "next" + "identifierName": "config" }, - "name": "next" - }, - "computed": false - }, - "arguments": [] + "name": "config" + } + ] } } ], "directives": [] } } - ] - } + ], + "leadingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {object} config {@link Config}\n ", + "start": 913, + "end": 961, + "loc": { + "start": { + "line": 30, + "column": 0 + }, + "end": { + "line": 32, + "column": 3 + } + } + } + ] } ], "directives": [ @@ -3654,15 +3544,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config {@link Config}\n ", - "start": 880, - "end": 928, + "start": 913, + "end": 961, "loc": { "start": { - "line": 27, + "line": 30, "column": 0 }, "end": { - "line": 29, + "line": 32, "column": 3 } } @@ -4390,9 +4280,9 @@ "postfix": false, "binop": null }, - "value": "fs", + "value": "webup", "start": 134, - "end": 136, + "end": 139, "loc": { "start": { "line": 5, @@ -4400,7 +4290,7 @@ }, "end": { "line": 5, - "column": 8 + "column": 11 } } }, @@ -4418,16 +4308,16 @@ "updateContext": null }, "value": "=", - "start": 137, - "end": 138, + "start": 140, + "end": 141, "loc": { "start": { "line": 5, - "column": 9 + "column": 12 }, "end": { "line": 5, - "column": 10 + "column": 13 } } }, @@ -4444,16 +4334,16 @@ "binop": null }, "value": "require", - "start": 139, - "end": 146, + "start": 142, + "end": 149, "loc": { "start": { "line": 5, - "column": 11 + "column": 14 }, "end": { "line": 5, - "column": 18 + "column": 21 } } }, @@ -4469,16 +4359,16 @@ "postfix": false, "binop": null }, - "start": 146, - "end": 147, + "start": 149, + "end": 150, "loc": { "start": { "line": 5, - "column": 18 + "column": 21 }, "end": { "line": 5, - "column": 19 + "column": 22 } } }, @@ -4495,17 +4385,17 @@ "binop": null, "updateContext": null }, - "value": "backed-fs", - "start": 147, - "end": 158, + "value": "webup", + "start": 150, + "end": 157, "loc": { "start": { "line": 5, - "column": 19 + "column": 22 }, "end": { "line": 5, - "column": 30 + "column": 29 } } }, @@ -4521,16 +4411,16 @@ "postfix": false, "binop": null }, - "start": 158, - "end": 159, + "start": 157, + "end": 158, "loc": { "start": { "line": 5, - "column": 30 + "column": 29 }, "end": { "line": 5, - "column": 31 + "column": 30 } } }, @@ -4547,23 +4437,23 @@ "binop": null, "updateContext": null }, - "start": 159, - "end": 160, + "start": 158, + "end": 159, "loc": { "start": { "line": 5, - "column": 31 + "column": 30 }, "end": { "line": 5, - "column": 32 + "column": 31 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -4574,43 +4464,17 @@ "binop": null, "updateContext": null }, - "value": "import", - "start": 162, - "end": 168, + "value": "const", + "start": 160, + "end": 165, "loc": { "start": { - "line": 7, + "line": 6, "column": 0 }, "end": { - "line": 7, - "column": 6 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "value": "Config", - "start": 169, - "end": 175, - "loc": { - "start": { - "line": 7, - "column": 7 - }, - "end": { - "line": 7, - "column": 13 + "line": 6, + "column": 5 } } }, @@ -4626,105 +4490,77 @@ "postfix": false, "binop": null }, - "value": "from", - "start": 176, - "end": 180, - "loc": { - "start": { - "line": 7, - "column": 14 - }, - "end": { - "line": 7, - "column": 18 - } - } - }, - { - "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "./config.js", - "start": 181, - "end": 194, + "value": "logger", + "start": 166, + "end": 172, "loc": { "start": { - "line": 7, - "column": 19 + "line": 6, + "column": 6 }, "end": { - "line": 7, - "column": 32 + "line": 6, + "column": 12 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 194, - "end": 195, + "value": "=", + "start": 173, + "end": 174, "loc": { "start": { - "line": 7, - "column": 32 + "line": 6, + "column": 13 }, "end": { - "line": 7, - "column": 33 + "line": 6, + "column": 14 } } }, { "type": { - "label": "import", - "keyword": "import", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "import", - "start": 196, - "end": 202, + "value": "require", + "start": 175, + "end": 182, "loc": { "start": { - "line": 8, - "column": 0 + "line": 6, + "column": 15 }, "end": { - "line": 8, - "column": 6 + "line": 6, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -4733,23 +4569,22 @@ "postfix": false, "binop": null }, - "value": "builder", - "start": 203, - "end": 210, + "start": 182, + "end": 183, "loc": { "start": { - "line": 8, - "column": 7 + "line": 6, + "column": 22 }, "end": { - "line": 8, - "column": 14 + "line": 6, + "column": 23 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -4757,46 +4592,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "from", - "start": 211, - "end": 215, + "value": "backed-logger", + "start": 183, + "end": 198, "loc": { "start": { - "line": 8, - "column": 15 + "line": 6, + "column": 23 }, "end": { - "line": 8, - "column": 19 + "line": 6, + "column": 38 } } }, { "type": { - "label": "string", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "./../node_modules/backed-builder/src/builder.js", - "start": 216, - "end": 265, + "start": 198, + "end": 199, "loc": { "start": { - "line": 8, - "column": 20 + "line": 6, + "column": 38 }, "end": { - "line": 8, - "column": 69 + "line": 6, + "column": 39 } } }, @@ -4813,16 +4647,16 @@ "binop": null, "updateContext": null }, - "start": 265, - "end": 266, + "start": 199, + "end": 200, "loc": { "start": { - "line": 8, - "column": 69 + "line": 6, + "column": 39 }, "end": { - "line": 8, - "column": 70 + "line": 6, + "column": 40 } } }, @@ -4841,15 +4675,15 @@ "updateContext": null }, "value": "import", - "start": 267, - "end": 273, + "start": 202, + "end": 208, "loc": { "start": { - "line": 9, + "line": 8, "column": 0 }, "end": { - "line": 9, + "line": 8, "column": 6 } } @@ -4866,16 +4700,16 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 274, - "end": 280, + "value": "Config", + "start": 209, + "end": 215, "loc": { "start": { - "line": 9, + "line": 8, "column": 7 }, "end": { - "line": 9, + "line": 8, "column": 13 } } @@ -4893,15 +4727,15 @@ "binop": null }, "value": "from", - "start": 281, - "end": 285, + "start": 216, + "end": 220, "loc": { "start": { - "line": 9, + "line": 8, "column": 14 }, "end": { - "line": 9, + "line": 8, "column": 18 } } @@ -4919,16 +4753,16 @@ "binop": null, "updateContext": null }, - "value": "./server.js", - "start": 286, - "end": 299, + "value": "./config.js", + "start": 221, + "end": 234, "loc": { "start": { - "line": 9, + "line": 8, "column": 19 }, "end": { - "line": 9, + "line": 8, "column": 32 } } @@ -4946,15 +4780,15 @@ "binop": null, "updateContext": null }, - "start": 299, - "end": 300, + "start": 234, + "end": 235, "loc": { "start": { - "line": 9, + "line": 8, "column": 32 }, "end": { - "line": 9, + "line": 8, "column": 33 } } @@ -4974,15 +4808,15 @@ "updateContext": null }, "value": "import", - "start": 301, - "end": 307, + "start": 236, + "end": 242, "loc": { "start": { - "line": 10, + "line": 9, "column": 0 }, "end": { - "line": 10, + "line": 9, "column": 6 } } @@ -4999,17 +4833,17 @@ "postfix": false, "binop": null }, - "value": "watcher", - "start": 308, - "end": 315, + "value": "tasks", + "start": 243, + "end": 248, "loc": { "start": { - "line": 10, + "line": 9, "column": 7 }, "end": { - "line": 10, - "column": 14 + "line": 9, + "column": 12 } } }, @@ -5026,16 +4860,16 @@ "binop": null }, "value": "from", - "start": 316, - "end": 320, + "start": 249, + "end": 253, "loc": { "start": { - "line": 10, - "column": 15 + "line": 9, + "column": 13 }, "end": { - "line": 10, - "column": 19 + "line": 9, + "column": 17 } } }, @@ -5052,17 +4886,17 @@ "binop": null, "updateContext": null }, - "value": "./watcher.js", - "start": 321, - "end": 335, + "value": "./tasks.js", + "start": 254, + "end": 266, "loc": { "start": { - "line": 10, - "column": 20 + "line": 9, + "column": 18 }, "end": { - "line": 10, - "column": 34 + "line": 9, + "column": 30 } } }, @@ -5079,16 +4913,16 @@ "binop": null, "updateContext": null }, - "start": 335, - "end": 336, + "start": 266, + "end": 267, "loc": { "start": { - "line": 10, - "column": 34 + "line": 9, + "column": 30 }, "end": { - "line": 10, - "column": 35 + "line": 9, + "column": 31 } } }, @@ -5105,15 +4939,15 @@ "binop": null }, "value": "commander", - "start": 339, - "end": 348, + "start": 269, + "end": 278, "loc": { "start": { - "line": 13, + "line": 11, "column": 0 }, "end": { - "line": 13, + "line": 11, "column": 9 } } @@ -5131,15 +4965,15 @@ "binop": null, "updateContext": null }, - "start": 351, - "end": 352, + "start": 281, + "end": 282, "loc": { "start": { - "line": 14, + "line": 12, "column": 2 }, "end": { - "line": 14, + "line": 12, "column": 3 } } @@ -5157,15 +4991,15 @@ "binop": null }, "value": "version", - "start": 352, - "end": 359, + "start": 282, + "end": 289, "loc": { "start": { - "line": 14, + "line": 12, "column": 3 }, "end": { - "line": 14, + "line": 12, "column": 10 } } @@ -5182,15 +5016,15 @@ "postfix": false, "binop": null }, - "start": 359, - "end": 360, + "start": 289, + "end": 290, "loc": { "start": { - "line": 14, + "line": 12, "column": 10 }, "end": { - "line": 14, + "line": 12, "column": 11 } } @@ -5208,15 +5042,15 @@ "binop": null }, "value": "version", - "start": 360, - "end": 367, + "start": 290, + "end": 297, "loc": { "start": { - "line": 14, + "line": 12, "column": 11 }, "end": { - "line": 14, + "line": 12, "column": 18 } } @@ -5233,15 +5067,15 @@ "postfix": false, "binop": null }, - "start": 367, - "end": 368, + "start": 297, + "end": 298, "loc": { "start": { - "line": 14, + "line": 12, "column": 18 }, "end": { - "line": 14, + "line": 12, "column": 19 } } @@ -5259,15 +5093,15 @@ "binop": null, "updateContext": null }, - "start": 371, - "end": 372, + "start": 301, + "end": 302, "loc": { "start": { - "line": 15, + "line": 13, "column": 2 }, "end": { - "line": 15, + "line": 13, "column": 3 } } @@ -5285,15 +5119,15 @@ "binop": null }, "value": "option", - "start": 372, - "end": 378, + "start": 302, + "end": 308, "loc": { "start": { - "line": 15, + "line": 13, "column": 3 }, "end": { - "line": 15, + "line": 13, "column": 9 } } @@ -5310,15 +5144,15 @@ "postfix": false, "binop": null }, - "start": 378, - "end": 379, + "start": 308, + "end": 309, "loc": { "start": { - "line": 15, + "line": 13, "column": 9 }, "end": { - "line": 15, + "line": 13, "column": 10 } } @@ -5337,15 +5171,15 @@ "updateContext": null }, "value": "-w, --watch", - "start": 379, - "end": 392, + "start": 309, + "end": 322, "loc": { "start": { - "line": 15, + "line": 13, "column": 10 }, "end": { - "line": 15, + "line": 13, "column": 23 } } @@ -5363,15 +5197,15 @@ "binop": null, "updateContext": null }, - "start": 392, - "end": 393, + "start": 322, + "end": 323, "loc": { "start": { - "line": 15, + "line": 13, "column": 23 }, "end": { - "line": 15, + "line": 13, "column": 24 } } @@ -5390,15 +5224,15 @@ "updateContext": null }, "value": "watch for file changes & rebuild on change", - "start": 394, - "end": 438, + "start": 324, + "end": 368, "loc": { "start": { - "line": 15, + "line": 13, "column": 25 }, "end": { - "line": 15, + "line": 13, "column": 69 } } @@ -5415,15 +5249,15 @@ "postfix": false, "binop": null }, - "start": 438, - "end": 439, + "start": 368, + "end": 369, "loc": { "start": { - "line": 15, + "line": 13, "column": 69 }, "end": { - "line": 15, + "line": 13, "column": 70 } } @@ -5441,15 +5275,15 @@ "binop": null, "updateContext": null }, - "start": 442, - "end": 443, + "start": 372, + "end": 373, "loc": { "start": { - "line": 16, + "line": 14, "column": 2 }, "end": { - "line": 16, + "line": 14, "column": 3 } } @@ -5467,15 +5301,15 @@ "binop": null }, "value": "option", - "start": 443, - "end": 449, + "start": 373, + "end": 379, "loc": { "start": { - "line": 16, + "line": 14, "column": 3 }, "end": { - "line": 16, + "line": 14, "column": 9 } } @@ -5492,15 +5326,15 @@ "postfix": false, "binop": null }, - "start": 449, - "end": 450, + "start": 379, + "end": 380, "loc": { "start": { - "line": 16, + "line": 14, "column": 9 }, "end": { - "line": 16, + "line": 14, "column": 10 } } @@ -5519,15 +5353,15 @@ "updateContext": null }, "value": "-b, --build", - "start": 450, - "end": 463, + "start": 380, + "end": 393, "loc": { "start": { - "line": 16, + "line": 14, "column": 10 }, "end": { - "line": 16, + "line": 14, "column": 23 } } @@ -5545,15 +5379,15 @@ "binop": null, "updateContext": null }, - "start": 463, - "end": 464, + "start": 393, + "end": 394, "loc": { "start": { - "line": 16, + "line": 14, "column": 23 }, "end": { - "line": 16, + "line": 14, "column": 24 } } @@ -5572,15 +5406,15 @@ "updateContext": null }, "value": "build your app/component", - "start": 465, - "end": 491, + "start": 395, + "end": 421, "loc": { "start": { - "line": 16, + "line": 14, "column": 25 }, "end": { - "line": 16, + "line": 14, "column": 51 } } @@ -5597,15 +5431,15 @@ "postfix": false, "binop": null }, - "start": 491, - "end": 492, + "start": 421, + "end": 422, "loc": { "start": { - "line": 16, + "line": 14, "column": 51 }, "end": { - "line": 16, + "line": 14, "column": 52 } } @@ -5623,15 +5457,15 @@ "binop": null, "updateContext": null }, - "start": 495, - "end": 496, + "start": 425, + "end": 426, "loc": { "start": { - "line": 17, + "line": 15, "column": 2 }, "end": { - "line": 17, + "line": 15, "column": 3 } } @@ -5649,15 +5483,15 @@ "binop": null }, "value": "option", - "start": 496, - "end": 502, + "start": 426, + "end": 432, "loc": { "start": { - "line": 17, + "line": 15, "column": 3 }, "end": { - "line": 17, + "line": 15, "column": 9 } } @@ -5674,15 +5508,15 @@ "postfix": false, "binop": null }, - "start": 502, - "end": 503, + "start": 432, + "end": 433, "loc": { "start": { - "line": 17, + "line": 15, "column": 9 }, "end": { - "line": 17, + "line": 15, "column": 10 } } @@ -5701,15 +5535,15 @@ "updateContext": null }, "value": "-s, --serve", - "start": 503, - "end": 516, + "start": 433, + "end": 446, "loc": { "start": { - "line": 17, + "line": 15, "column": 10 }, "end": { - "line": 17, + "line": 15, "column": 23 } } @@ -5727,15 +5561,15 @@ "binop": null, "updateContext": null }, - "start": 516, - "end": 517, + "start": 446, + "end": 447, "loc": { "start": { - "line": 17, + "line": 15, "column": 23 }, "end": { - "line": 17, + "line": 15, "column": 24 } } @@ -5754,15 +5588,15 @@ "updateContext": null }, "value": "serve your app/component", - "start": 518, - "end": 544, + "start": 448, + "end": 474, "loc": { "start": { - "line": 17, + "line": 15, "column": 25 }, "end": { - "line": 17, + "line": 15, "column": 51 } } @@ -5779,15 +5613,15 @@ "postfix": false, "binop": null }, - "start": 544, - "end": 545, + "start": 474, + "end": 475, "loc": { "start": { - "line": 17, + "line": 15, "column": 51 }, "end": { - "line": 17, + "line": 15, "column": 52 } } @@ -5805,15 +5639,15 @@ "binop": null, "updateContext": null }, - "start": 548, - "end": 549, + "start": 478, + "end": 479, "loc": { "start": { - "line": 18, + "line": 16, "column": 2 }, "end": { - "line": 18, + "line": 16, "column": 3 } } @@ -5831,15 +5665,15 @@ "binop": null }, "value": "option", - "start": 549, - "end": 555, + "start": 479, + "end": 485, "loc": { "start": { - "line": 18, + "line": 16, "column": 3 }, "end": { - "line": 18, + "line": 16, "column": 9 } } @@ -5856,15 +5690,15 @@ "postfix": false, "binop": null }, - "start": 555, - "end": 556, + "start": 485, + "end": 486, "loc": { "start": { - "line": 18, + "line": 16, "column": 9 }, "end": { - "line": 18, + "line": 16, "column": 10 } } @@ -5883,15 +5717,15 @@ "updateContext": null }, "value": "-c, --copy", - "start": 556, - "end": 568, + "start": 486, + "end": 498, "loc": { "start": { - "line": 18, + "line": 16, "column": 10 }, "end": { - "line": 18, + "line": 16, "column": 22 } } @@ -5909,15 +5743,15 @@ "binop": null, "updateContext": null }, - "start": 568, - "end": 569, + "start": 498, + "end": 499, "loc": { "start": { - "line": 18, + "line": 16, "column": 22 }, "end": { - "line": 18, + "line": 16, "column": 23 } } @@ -5936,15 +5770,15 @@ "updateContext": null }, "value": "copy files from your app/component src folder to it distribution folder", - "start": 570, - "end": 643, + "start": 500, + "end": 573, "loc": { "start": { - "line": 18, + "line": 16, "column": 24 }, "end": { - "line": 18, + "line": 16, "column": 97 } } @@ -5961,15 +5795,15 @@ "postfix": false, "binop": null }, - "start": 643, - "end": 644, + "start": 573, + "end": 574, "loc": { "start": { - "line": 18, + "line": 16, "column": 97 }, "end": { - "line": 18, + "line": 16, "column": 98 } } @@ -5987,15 +5821,15 @@ "binop": null, "updateContext": null }, - "start": 647, - "end": 648, + "start": 577, + "end": 578, "loc": { "start": { - "line": 19, + "line": 17, "column": 2 }, "end": { - "line": 19, + "line": 17, "column": 3 } } @@ -6013,15 +5847,15 @@ "binop": null }, "value": "option", - "start": 648, - "end": 654, + "start": 578, + "end": 584, "loc": { "start": { - "line": 19, + "line": 17, "column": 3 }, "end": { - "line": 19, + "line": 17, "column": 9 } } @@ -6038,15 +5872,15 @@ "postfix": false, "binop": null }, - "start": 654, - "end": 655, + "start": 584, + "end": 585, "loc": { "start": { - "line": 19, + "line": 17, "column": 9 }, "end": { - "line": 19, + "line": 17, "column": 10 } } @@ -6065,15 +5899,15 @@ "updateContext": null }, "value": "-d, --debug", - "start": 655, - "end": 668, + "start": 585, + "end": 598, "loc": { "start": { - "line": 19, + "line": 17, "column": 10 }, "end": { - "line": 19, + "line": 17, "column": 23 } } @@ -6091,15 +5925,15 @@ "binop": null, "updateContext": null }, - "start": 668, - "end": 669, + "start": 598, + "end": 599, "loc": { "start": { - "line": 19, + "line": 17, "column": 23 }, "end": { - "line": 19, + "line": 17, "column": 24 } } @@ -6118,15 +5952,15 @@ "updateContext": null }, "value": "show all warnings", - "start": 670, - "end": 689, + "start": 600, + "end": 619, "loc": { "start": { - "line": 19, + "line": 17, "column": 25 }, "end": { - "line": 19, + "line": 17, "column": 44 } } @@ -6143,15 +5977,15 @@ "postfix": false, "binop": null }, - "start": 689, - "end": 690, + "start": 619, + "end": 620, "loc": { "start": { - "line": 19, + "line": 17, "column": 44 }, "end": { - "line": 19, + "line": 17, "column": 45 } } @@ -6169,15 +6003,15 @@ "binop": null, "updateContext": null }, - "start": 693, - "end": 694, + "start": 623, + "end": 624, "loc": { "start": { - "line": 20, + "line": 18, "column": 2 }, "end": { - "line": 20, + "line": 18, "column": 3 } } @@ -6194,17 +6028,17 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 694, - "end": 699, + "value": "option", + "start": 624, + "end": 630, "loc": { "start": { - "line": 20, + "line": 18, "column": 3 }, "end": { - "line": 20, - "column": 8 + "line": 18, + "column": 9 } } }, @@ -6220,22 +6054,22 @@ "postfix": false, "binop": null }, - "start": 699, - "end": 700, + "start": 630, + "end": 631, "loc": { "start": { - "line": 20, - "column": 8 + "line": 18, + "column": 9 }, "end": { - "line": 20, - "column": 9 + "line": 18, + "column": 10 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6243,26 +6077,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "process", - "start": 700, - "end": 707, + "value": "-v, --version", + "start": 631, + "end": 646, "loc": { "start": { - "line": 20, - "column": 9 + "line": 18, + "column": 10 }, "end": { - "line": 20, - "column": 16 + "line": 18, + "column": 25 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -6272,22 +6107,22 @@ "binop": null, "updateContext": null }, - "start": 707, - "end": 708, + "start": 646, + "end": 647, "loc": { "start": { - "line": 20, - "column": 16 + "line": 18, + "column": 25 }, "end": { - "line": 20, - "column": 17 + "line": 18, + "column": 26 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -6295,19 +6130,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "argv", - "start": 708, - "end": 712, + "value": "current version", + "start": 648, + "end": 665, "loc": { "start": { - "line": 20, - "column": 17 + "line": 18, + "column": 27 }, "end": { - "line": 20, - "column": 21 + "line": 18, + "column": 44 } } }, @@ -6323,49 +6159,22 @@ "postfix": false, "binop": null }, - "start": 712, - "end": 713, - "loc": { - "start": { - "line": 20, - "column": 21 - }, - "end": { - "line": 20, - "column": 22 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 713, - "end": 714, + "start": 665, + "end": 666, "loc": { "start": { - "line": 20, - "column": 22 + "line": 18, + "column": 44 }, "end": { - "line": 20, - "column": 23 + "line": 18, + "column": 45 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6376,16 +6185,15 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 716, - "end": 719, + "start": 669, + "end": 670, "loc": { "start": { - "line": 22, - "column": 0 + "line": 19, + "column": 2 }, "end": { - "line": 22, + "line": 19, "column": 3 } } @@ -6402,51 +6210,24 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 720, - "end": 725, + "value": "parse", + "start": 670, + "end": 675, "loc": { "start": { - "line": 22, - "column": 4 + "line": 19, + "column": 3 }, "end": { - "line": 22, - "column": 9 + "line": 19, + "column": 8 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 726, - "end": 727, - "loc": { - "start": { - "line": 22, - "column": 10 - }, - "end": { - "line": 22, - "column": 11 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -6455,43 +6236,16 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 728, - "end": 737, - "loc": { - "start": { - "line": 22, - "column": 12 - }, - "end": { - "line": 22, - "column": 21 - } - } - }, - { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 737, - "end": 738, + "start": 675, + "end": 676, "loc": { "start": { - "line": 22, - "column": 21 + "line": 19, + "column": 8 }, "end": { - "line": 22, - "column": 22 + "line": 19, + "column": 9 } } }, @@ -6507,50 +6261,23 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 738, - "end": 743, - "loc": { - "start": { - "line": 22, - "column": 22 - }, - "end": { - "line": 22, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 743, - "end": 744, + "value": "process", + "start": 676, + "end": 683, "loc": { "start": { - "line": 22, - "column": 27 + "line": 19, + "column": 9 }, "end": { - "line": 22, - "column": 28 + "line": 19, + "column": 16 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6561,17 +6288,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 745, - "end": 748, + "start": 683, + "end": 684, "loc": { "start": { - "line": 23, - "column": 0 + "line": 19, + "column": 16 }, "end": { - "line": 23, - "column": 3 + "line": 19, + "column": 17 } } }, @@ -6587,76 +6313,75 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 749, - "end": 754, + "value": "argv", + "start": 684, + "end": 688, "loc": { "start": { - "line": 23, - "column": 4 + "line": 19, + "column": 17 }, "end": { - "line": 23, - "column": 9 + "line": 19, + "column": 21 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 755, - "end": 756, + "start": 688, + "end": 689, "loc": { "start": { - "line": 23, - "column": 10 + "line": 19, + "column": 21 }, "end": { - "line": 23, - "column": 11 + "line": 19, + "column": 22 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "commander", - "start": 757, - "end": 766, + "start": 689, + "end": 690, "loc": { "start": { - "line": 23, - "column": 12 + "line": 19, + "column": 22 }, "end": { - "line": 23, - "column": 21 + "line": 19, + "column": 23 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6667,16 +6392,17 @@ "binop": null, "updateContext": null }, - "start": 766, - "end": 767, + "value": "const", + "start": 692, + "end": 697, "loc": { "start": { - "line": 23, - "column": 21 + "line": 21, + "column": 0 }, "end": { - "line": 23, - "column": 22 + "line": 21, + "column": 5 } } }, @@ -6692,71 +6418,69 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 767, - "end": 772, + "value": "commands", + "start": 698, + "end": 706, "loc": { "start": { - "line": 23, - "column": 22 + "line": 21, + "column": 6 }, "end": { - "line": 23, - "column": 27 + "line": 21, + "column": 14 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 772, - "end": 773, + "value": "=", + "start": 707, + "end": 708, "loc": { "start": { - "line": 23, - "column": 27 + "line": 21, + "column": 15 }, "end": { - "line": 23, - "column": 28 + "line": 21, + "column": 16 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 774, - "end": 777, + "start": 709, + "end": 710, "loc": { "start": { - "line": 24, - "column": 0 + "line": 21, + "column": 17 }, "end": { - "line": 24, - "column": 3 + "line": 21, + "column": 18 } } }, @@ -6772,44 +6496,43 @@ "postfix": false, "binop": null }, - "value": "copy", - "start": 778, - "end": 782, + "value": "build", + "start": 713, + "end": 718, "loc": { "start": { - "line": 24, - "column": 4 + "line": 22, + "column": 2 }, "end": { - "line": 24, - "column": 8 + "line": 22, + "column": 7 } } }, { "type": { - "label": "=", + "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 783, - "end": 784, + "start": 718, + "end": 719, "loc": { "start": { - "line": 24, - "column": 9 + "line": 22, + "column": 7 }, "end": { - "line": 24, - "column": 10 + "line": 22, + "column": 8 } } }, @@ -6825,43 +6548,42 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 785, - "end": 794, + "value": "Boolean", + "start": 720, + "end": 727, "loc": { "start": { - "line": 24, - "column": 11 + "line": 22, + "column": 9 }, "end": { - "line": 24, - "column": 20 + "line": 22, + "column": 16 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 794, - "end": 795, + "start": 727, + "end": 728, "loc": { "start": { - "line": 24, - "column": 20 + "line": 22, + "column": 16 }, "end": { - "line": 24, - "column": 21 + "line": 22, + "column": 17 } } }, @@ -6877,44 +6599,43 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 795, - "end": 800, + "value": "commander", + "start": 728, + "end": 737, "loc": { "start": { - "line": 24, - "column": 21 + "line": 22, + "column": 17 }, "end": { - "line": 24, + "line": 22, "column": 26 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, + "binop": null, "updateContext": null }, - "value": "||", - "start": 801, - "end": 803, + "start": 737, + "end": 738, "loc": { "start": { - "line": 24, - "column": 27 + "line": 22, + "column": 26 }, "end": { - "line": 24, - "column": 29 + "line": 22, + "column": 27 } } }, @@ -6930,23 +6651,23 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 804, - "end": 813, + "value": "build", + "start": 738, + "end": 743, "loc": { "start": { - "line": 24, - "column": 30 + "line": 22, + "column": 27 }, "end": { - "line": 24, - "column": 39 + "line": 22, + "column": 32 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -6954,79 +6675,77 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 813, - "end": 814, + "start": 743, + "end": 744, "loc": { "start": { - "line": 24, - "column": 39 + "line": 22, + "column": 32 }, "end": { - "line": 24, - "column": 40 + "line": 22, + "column": 33 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ",", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copy", - "start": 814, - "end": 818, + "start": 744, + "end": 745, "loc": { "start": { - "line": 24, - "column": 40 + "line": 22, + "column": 33 }, "end": { - "line": 24, - "column": 44 + "line": 22, + "column": 34 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 818, - "end": 819, + "value": "watch", + "start": 748, + "end": 753, "loc": { "start": { - "line": 24, - "column": 44 + "line": 23, + "column": 2 }, "end": { - "line": 24, - "column": 45 + "line": 23, + "column": 7 } } }, { "type": { - "label": "let", - "keyword": "let", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7036,17 +6755,16 @@ "binop": null, "updateContext": null }, - "value": "let", - "start": 820, - "end": 823, + "start": 753, + "end": 754, "loc": { "start": { - "line": 25, - "column": 0 + "line": 23, + "column": 7 }, "end": { - "line": 25, - "column": 3 + "line": 23, + "column": 8 } } }, @@ -7062,44 +6780,42 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 824, - "end": 829, + "value": "Boolean", + "start": 755, + "end": 762, "loc": { "start": { - "line": 25, - "column": 4 + "line": 23, + "column": 9 }, "end": { - "line": 25, - "column": 9 + "line": 23, + "column": 16 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 830, - "end": 831, + "start": 762, + "end": 763, "loc": { "start": { - "line": 25, - "column": 10 + "line": 23, + "column": 16 }, "end": { - "line": 25, - "column": 11 + "line": 23, + "column": 17 } } }, @@ -7116,16 +6832,16 @@ "binop": null }, "value": "commander", - "start": 832, - "end": 841, + "start": 763, + "end": 772, "loc": { "start": { - "line": 25, - "column": 12 + "line": 23, + "column": 17 }, "end": { - "line": 25, - "column": 21 + "line": 23, + "column": 26 } } }, @@ -7142,16 +6858,16 @@ "binop": null, "updateContext": null }, - "start": 841, - "end": 842, + "start": 772, + "end": 773, "loc": { "start": { - "line": 25, - "column": 21 + "line": 23, + "column": 26 }, "end": { - "line": 25, - "column": 22 + "line": 23, + "column": 27 } } }, @@ -7167,23 +6883,48 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 842, - "end": 847, + "value": "watch", + "start": 773, + "end": 778, "loc": { "start": { - "line": 25, - "column": 22 + "line": 23, + "column": 27 }, "end": { - "line": 25, - "column": 27 + "line": 23, + "column": 32 } } }, { "type": { - "label": ";", + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 778, + "end": 779, + "loc": { + "start": { + "line": 23, + "column": 32 + }, + "end": { + "line": 23, + "column": 33 + } + } + }, + { + "type": { + "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -7194,16 +6935,16 @@ "binop": null, "updateContext": null }, - "start": 847, - "end": 848, + "start": 779, + "end": 780, "loc": { "start": { - "line": 25, - "column": 27 + "line": 23, + "column": 33 }, "end": { - "line": 25, - "column": 28 + "line": 23, + "column": 34 } } }, @@ -7219,24 +6960,24 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 849, - "end": 855, + "value": "copy", + "start": 783, + "end": 787, "loc": { "start": { - "line": 26, - "column": 0 + "line": 24, + "column": 2 }, "end": { - "line": 26, + "line": 24, "column": 6 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7246,15 +6987,15 @@ "binop": null, "updateContext": null }, - "start": 855, - "end": 856, + "start": 787, + "end": 788, "loc": { "start": { - "line": 26, + "line": 24, "column": 6 }, "end": { - "line": 26, + "line": 24, "column": 7 } } @@ -7271,44 +7012,42 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 856, - "end": 861, + "value": "Boolean", + "start": 789, + "end": 796, "loc": { "start": { - "line": 26, - "column": 7 + "line": 24, + "column": 8 }, "end": { - "line": 26, - "column": 12 + "line": 24, + "column": 15 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 862, - "end": 863, + "start": 796, + "end": 797, "loc": { "start": { - "line": 26, - "column": 13 + "line": 24, + "column": 15 }, "end": { - "line": 26, - "column": 14 + "line": 24, + "column": 16 } } }, @@ -7325,16 +7064,16 @@ "binop": null }, "value": "commander", - "start": 864, - "end": 873, + "start": 797, + "end": 806, "loc": { "start": { - "line": 26, - "column": 15 + "line": 24, + "column": 16 }, "end": { - "line": 26, - "column": 24 + "line": 24, + "column": 25 } } }, @@ -7351,16 +7090,16 @@ "binop": null, "updateContext": null }, - "start": 873, - "end": 874, + "start": 806, + "end": 807, "loc": { "start": { - "line": 26, - "column": 24 + "line": 24, + "column": 25 }, "end": { - "line": 26, - "column": 25 + "line": 24, + "column": 26 } } }, @@ -7376,66 +7115,75 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 874, - "end": 879, + "value": "build", + "start": 807, + "end": 812, "loc": { "start": { - "line": 26, - "column": 25 + "line": 24, + "column": 26 }, "end": { - "line": 26, - "column": 30 + "line": 24, + "column": 31 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {object} config {@link Config}\n ", - "start": 880, - "end": 928, + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 812, + "end": 813, "loc": { "start": { - "line": 27, - "column": 0 + "line": 24, + "column": 31 }, "end": { - "line": 29, - "column": 3 + "line": 24, + "column": 32 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": "||", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": 1, + "updateContext": null }, - "value": "async", - "start": 929, - "end": 934, + "value": "||", + "start": 814, + "end": 816, "loc": { "start": { - "line": 30, - "column": 0 + "line": 24, + "column": 33 }, "end": { - "line": 30, - "column": 5 + "line": 24, + "column": 35 } } }, { "type": { - "label": "function", - "keyword": "function", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -7445,44 +7193,42 @@ "postfix": false, "binop": null }, - "value": "function", - "start": 935, - "end": 943, + "value": "Boolean", + "start": 817, + "end": 824, "loc": { "start": { - "line": 30, - "column": 6 + "line": 24, + "column": 36 }, "end": { - "line": 30, - "column": 14 + "line": 24, + "column": 43 } } }, { "type": { - "label": "*", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 10, - "updateContext": null + "binop": null }, - "value": "*", - "start": 944, - "end": 945, + "start": 824, + "end": 825, "loc": { "start": { - "line": 30, - "column": 15 + "line": 24, + "column": 43 }, "end": { - "line": 30, - "column": 16 + "line": 24, + "column": 44 } } }, @@ -7498,24 +7244,50 @@ "postfix": false, "binop": null }, - "value": "run", - "start": 946, - "end": 949, + "value": "commander", + "start": 825, + "end": 834, "loc": { "start": { - "line": 30, - "column": 17 + "line": 24, + "column": 44 }, "end": { - "line": 30, - "column": 20 + "line": 24, + "column": 53 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 834, + "end": 835, + "loc": { + "start": { + "line": 24, + "column": 53 + }, + "end": { + "line": 24, + "column": 54 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7524,24 +7296,25 @@ "postfix": false, "binop": null }, - "start": 949, - "end": 950, + "value": "copy", + "start": 835, + "end": 839, "loc": { "start": { - "line": 30, - "column": 20 + "line": 24, + "column": 54 }, "end": { - "line": 30, - "column": 21 + "line": 24, + "column": 58 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7549,49 +7322,49 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 950, - "end": 956, + "start": 839, + "end": 840, "loc": { "start": { - "line": 30, - "column": 21 + "line": 24, + "column": 58 }, "end": { - "line": 30, - "column": 27 + "line": 24, + "column": 59 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 956, - "end": 957, + "start": 840, + "end": 841, "loc": { "start": { - "line": 30, - "column": 27 + "line": 24, + "column": 59 }, "end": { - "line": 30, - "column": 28 + "line": 24, + "column": 60 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7600,24 +7373,24 @@ "postfix": false, "binop": null }, - "start": 958, - "end": 959, + "value": "serve", + "start": 844, + "end": 849, "loc": { "start": { - "line": 30, - "column": 29 + "line": 25, + "column": 2 }, "end": { - "line": 30, - "column": 30 + "line": 25, + "column": 7 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, + "label": ":", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -7627,24 +7400,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 962, - "end": 964, + "start": 849, + "end": 850, "loc": { "start": { - "line": 31, - "column": 2 + "line": 25, + "column": 7 }, "end": { - "line": 31, - "column": 4 + "line": 25, + "column": 8 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7653,23 +7425,24 @@ "postfix": false, "binop": null }, - "start": 965, - "end": 966, + "value": "Boolean", + "start": 851, + "end": 858, "loc": { "start": { - "line": 31, - "column": 5 + "line": 25, + "column": 9 }, "end": { - "line": 31, - "column": 6 + "line": 25, + "column": 16 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7678,25 +7451,24 @@ "postfix": false, "binop": null }, - "value": "build", - "start": 966, - "end": 971, + "start": 858, + "end": 859, "loc": { "start": { - "line": 31, - "column": 6 + "line": 25, + "column": 16 }, "end": { - "line": 31, - "column": 11 + "line": 25, + "column": 17 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7704,41 +7476,43 @@ "postfix": false, "binop": null }, - "start": 971, - "end": 972, + "value": "commander", + "start": 859, + "end": 868, "loc": { "start": { - "line": 31, - "column": 11 + "line": 25, + "column": 17 }, "end": { - "line": 31, - "column": 12 + "line": 25, + "column": 26 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 973, - "end": 974, + "start": 868, + "end": 869, "loc": { "start": { - "line": 31, - "column": 13 + "line": 25, + "column": 26 }, "end": { - "line": 31, - "column": 14 + "line": 25, + "column": 27 } } }, @@ -7754,25 +7528,25 @@ "postfix": false, "binop": null }, - "value": "await", - "start": 979, - "end": 984, + "value": "serve", + "start": 869, + "end": 874, "loc": { "start": { - "line": 32, - "column": 4 + "line": 25, + "column": 27 }, "end": { - "line": 32, - "column": 9 + "line": 25, + "column": 32 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7780,23 +7554,22 @@ "postfix": false, "binop": null }, - "value": "builder", - "start": 985, - "end": 992, + "start": 874, + "end": 875, "loc": { "start": { - "line": 32, - "column": 10 + "line": 25, + "column": 32 }, "end": { - "line": 32, - "column": 17 + "line": 25, + "column": 33 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7804,52 +7577,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 992, - "end": 993, + "start": 876, + "end": 877, "loc": { "start": { - "line": 32, - "column": 17 + "line": 26, + "column": 0 }, "end": { - "line": 32, - "column": 18 + "line": 26, + "column": 1 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "build", - "start": 993, - "end": 998, + "start": 877, + "end": 878, "loc": { "start": { - "line": 32, - "column": 18 + "line": 26, + "column": 1 }, "end": { - "line": 32, - "column": 23 + "line": 26, + "column": 2 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -7858,50 +7630,51 @@ "postfix": false, "binop": null }, - "start": 998, - "end": 999, + "value": "global", + "start": 880, + "end": 886, "loc": { "start": { - "line": 32, - "column": 23 + "line": 28, + "column": 0 }, "end": { - "line": 32, - "column": 24 + "line": 28, + "column": 6 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 999, - "end": 1005, + "start": 886, + "end": 887, "loc": { "start": { - "line": 32, - "column": 24 + "line": 28, + "column": 6 }, "end": { - "line": 32, - "column": 30 + "line": 28, + "column": 7 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7909,50 +7682,52 @@ "postfix": false, "binop": null }, - "start": 1005, - "end": 1006, + "value": "debug", + "start": 887, + "end": 892, "loc": { "start": { - "line": 32, - "column": 30 + "line": 28, + "column": 7 }, "end": { - "line": 32, - "column": 31 + "line": 28, + "column": 12 } } }, { "type": { - "label": ";", + "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1006, - "end": 1007, + "value": "=", + "start": 893, + "end": 894, "loc": { "start": { - "line": 32, - "column": 31 + "line": 28, + "column": 13 }, "end": { - "line": 32, - "column": 32 + "line": 28, + "column": 14 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -7960,23 +7735,23 @@ "postfix": false, "binop": null }, - "start": 1010, - "end": 1011, + "value": "commander", + "start": 895, + "end": 904, "loc": { "start": { - "line": 33, - "column": 2 + "line": 28, + "column": 15 }, "end": { - "line": 33, - "column": 3 + "line": 28, + "column": 24 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -7987,24 +7762,23 @@ "binop": null, "updateContext": null }, - "value": "if", - "start": 1015, - "end": 1017, + "start": 904, + "end": 905, "loc": { "start": { - "line": 35, - "column": 2 + "line": 28, + "column": 24 }, "end": { - "line": 35, - "column": 4 + "line": 28, + "column": 25 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8013,74 +7787,94 @@ "postfix": false, "binop": null }, - "start": 1018, - "end": 1019, + "value": "debug", + "start": 905, + "end": 910, "loc": { "start": { - "line": 35, - "column": 5 + "line": 28, + "column": 25 }, "end": { - "line": 35, - "column": 6 + "line": 28, + "column": 30 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "copy", - "start": 1019, - "end": 1023, + "start": 910, + "end": 911, + "loc": { + "start": { + "line": 28, + "column": 30 + }, + "end": { + "line": 28, + "column": 31 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @param {object} config {@link Config}\n ", + "start": 913, + "end": 961, "loc": { "start": { - "line": 35, - "column": 6 + "line": 30, + "column": 0 }, "end": { - "line": 35, - "column": 10 + "line": 32, + "column": 3 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1023, - "end": 1024, + "value": "new", + "start": 962, + "end": 965, "loc": { "start": { - "line": 35, - "column": 10 + "line": 33, + "column": 0 }, "end": { - "line": 35, - "column": 11 + "line": 33, + "column": 3 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8089,23 +7883,24 @@ "postfix": false, "binop": null }, - "start": 1025, - "end": 1026, + "value": "Config", + "start": 966, + "end": 972, "loc": { "start": { - "line": 35, - "column": 12 + "line": 33, + "column": 4 }, "end": { - "line": 35, - "column": 13 + "line": 33, + "column": 10 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8114,25 +7909,24 @@ "postfix": false, "binop": null }, - "value": "await", - "start": 1031, - "end": 1036, + "start": 972, + "end": 973, "loc": { "start": { - "line": 36, - "column": 4 + "line": 33, + "column": 10 }, "end": { - "line": 36, - "column": 9 + "line": 33, + "column": 11 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8140,16 +7934,15 @@ "postfix": false, "binop": null }, - "value": "fs", - "start": 1037, - "end": 1039, + "start": 973, + "end": 974, "loc": { "start": { - "line": 36, - "column": 10 + "line": 33, + "column": 11 }, "end": { - "line": 36, + "line": 33, "column": 12 } } @@ -8167,15 +7960,15 @@ "binop": null, "updateContext": null }, - "start": 1039, - "end": 1040, + "start": 974, + "end": 975, "loc": { "start": { - "line": 36, + "line": 33, "column": 12 }, "end": { - "line": 36, + "line": 33, "column": 13 } } @@ -8192,17 +7985,17 @@ "postfix": false, "binop": null }, - "value": "copySources", - "start": 1040, - "end": 1051, + "value": "then", + "start": 975, + "end": 979, "loc": { "start": { - "line": 36, + "line": 33, "column": 13 }, "end": { - "line": 36, - "column": 24 + "line": 33, + "column": 17 } } }, @@ -8218,16 +8011,16 @@ "postfix": false, "binop": null }, - "start": 1051, - "end": 1052, + "start": 979, + "end": 980, "loc": { "start": { - "line": 36, - "column": 24 + "line": 33, + "column": 17 }, "end": { - "line": 36, - "column": 25 + "line": 33, + "column": 18 } } }, @@ -8244,23 +8037,23 @@ "binop": null }, "value": "config", - "start": 1052, - "end": 1058, + "start": 980, + "end": 986, "loc": { "start": { - "line": 36, - "column": 25 + "line": 33, + "column": 18 }, "end": { - "line": 36, - "column": 31 + "line": 33, + "column": 24 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=>", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -8270,23 +8063,23 @@ "binop": null, "updateContext": null }, - "start": 1058, - "end": 1059, + "start": 987, + "end": 989, "loc": { "start": { - "line": 36, - "column": 31 + "line": 33, + "column": 25 }, "end": { - "line": 36, - "column": 32 + "line": 33, + "column": 27 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8295,25 +8088,24 @@ "postfix": false, "binop": null }, - "value": "sources", - "start": 1059, - "end": 1066, + "start": 990, + "end": 991, "loc": { "start": { - "line": 36, - "column": 32 + "line": 33, + "column": 28 }, "end": { - "line": 36, - "column": 39 + "line": 33, + "column": 29 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8321,50 +8113,52 @@ "postfix": false, "binop": null }, - "start": 1066, - "end": 1067, + "value": "async", + "start": 994, + "end": 999, "loc": { "start": { - "line": 36, - "column": 39 + "line": 34, + "column": 2 }, "end": { - "line": 36, - "column": 40 + "line": 34, + "column": 7 } } }, { "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "label": "function", + "keyword": "function", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1067, - "end": 1068, + "value": "function", + "start": 1000, + "end": 1008, "loc": { "start": { - "line": 36, - "column": 40 + "line": 34, + "column": 8 }, "end": { - "line": 36, - "column": 41 + "line": 34, + "column": 16 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8372,51 +8166,49 @@ "postfix": false, "binop": null }, - "start": 1071, - "end": 1072, + "value": "run", + "start": 1009, + "end": 1012, "loc": { "start": { - "line": 37, - "column": 2 + "line": 34, + "column": 17 }, "end": { - "line": 37, - "column": 3 + "line": 34, + "column": 20 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 1076, - "end": 1078, + "start": 1012, + "end": 1013, "loc": { "start": { - "line": 39, - "column": 2 + "line": 34, + "column": 20 }, "end": { - "line": 39, - "column": 4 + "line": 34, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8425,23 +8217,49 @@ "postfix": false, "binop": null }, - "start": 1079, - "end": 1080, + "value": "config", + "start": 1013, + "end": 1019, "loc": { "start": { - "line": 39, - "column": 5 + "line": 34, + "column": 21 }, "end": { - "line": 39, - "column": 6 + "line": 34, + "column": 27 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 1019, + "end": 1020, + "loc": { + "start": { + "line": 34, + "column": 27 + }, + "end": { + "line": 34, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8450,48 +8268,50 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1080, - "end": 1085, + "start": 1021, + "end": 1022, "loc": { "start": { - "line": 39, - "column": 6 + "line": 34, + "column": 29 }, "end": { - "line": 39, - "column": 11 + "line": 34, + "column": 30 } } }, { "type": { - "label": ")", + "label": "for", + "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, - "isLoop": false, + "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1085, - "end": 1086, + "value": "for", + "start": 1027, + "end": 1030, "loc": { "start": { - "line": 39, - "column": 11 + "line": 35, + "column": 4 }, "end": { - "line": 39, - "column": 12 + "line": 35, + "column": 7 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -8501,68 +8321,70 @@ "postfix": false, "binop": null }, - "start": 1087, - "end": 1088, + "start": 1031, + "end": 1032, "loc": { "start": { - "line": 39, - "column": 13 + "line": 35, + "column": 8 }, - "end": { - "line": 39, - "column": 14 + "end": { + "line": 35, + "column": 9 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "watcher", - "start": 1093, - "end": 1100, + "value": "const", + "start": 1032, + "end": 1037, "loc": { "start": { - "line": 40, - "column": 4 + "line": 35, + "column": 9 }, "end": { - "line": 40, - "column": 11 + "line": 35, + "column": 14 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1100, - "end": 1101, + "value": "task", + "start": 1038, + "end": 1042, "loc": { "start": { - "line": 40, - "column": 11 + "line": 35, + "column": 15 }, "end": { - "line": 40, - "column": 12 + "line": 35, + "column": 19 } } }, @@ -8578,24 +8400,24 @@ "postfix": false, "binop": null }, - "value": "on", - "start": 1101, - "end": 1103, + "value": "of", + "start": 1043, + "end": 1045, "loc": { "start": { - "line": 40, - "column": 12 + "line": 35, + "column": 20 }, "end": { - "line": 40, - "column": 14 + "line": 35, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8604,24 +8426,25 @@ "postfix": false, "binop": null }, - "start": 1103, - "end": 1104, + "value": "Object", + "start": 1046, + "end": 1052, "loc": { "start": { - "line": 40, - "column": 14 + "line": 35, + "column": 23 }, "end": { - "line": 40, - "column": 15 + "line": 35, + "column": 29 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8630,43 +8453,42 @@ "binop": null, "updateContext": null }, - "value": "reload", - "start": 1104, - "end": 1112, + "start": 1052, + "end": 1053, "loc": { "start": { - "line": 40, - "column": 15 + "line": 35, + "column": 29 }, "end": { - "line": 40, - "column": 23 + "line": 35, + "column": 30 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1112, - "end": 1113, + "value": "entries", + "start": 1053, + "end": 1060, "loc": { "start": { - "line": 40, - "column": 23 + "line": 35, + "column": 30 }, "end": { - "line": 40, - "column": 24 + "line": 35, + "column": 37 } } }, @@ -8682,24 +8504,24 @@ "postfix": false, "binop": null }, - "start": 1114, - "end": 1115, + "start": 1060, + "end": 1061, "loc": { "start": { - "line": 40, - "column": 25 + "line": 35, + "column": 37 }, "end": { - "line": 40, - "column": 26 + "line": 35, + "column": 38 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8707,50 +8529,50 @@ "postfix": false, "binop": null }, - "start": 1115, - "end": 1116, + "value": "commands", + "start": 1061, + "end": 1069, "loc": { "start": { - "line": 40, - "column": 26 + "line": 35, + "column": 38 }, "end": { - "line": 40, - "column": 27 + "line": 35, + "column": 46 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1117, - "end": 1119, + "start": 1069, + "end": 1070, "loc": { "start": { - "line": 40, - "column": 28 + "line": 35, + "column": 46 }, "end": { - "line": 40, - "column": 30 + "line": 35, + "column": 47 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8758,23 +8580,23 @@ "postfix": false, "binop": null }, - "start": 1120, - "end": 1121, + "start": 1070, + "end": 1071, "loc": { "start": { - "line": 40, - "column": 31 + "line": 35, + "column": 47 }, "end": { - "line": 40, - "column": 32 + "line": 35, + "column": 48 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -8783,23 +8605,23 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1128, - "end": 1134, + "start": 1072, + "end": 1073, "loc": { "start": { - "line": 41, - "column": 6 + "line": 35, + "column": 49 }, "end": { - "line": 41, - "column": 12 + "line": 35, + "column": 50 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8810,16 +8632,17 @@ "binop": null, "updateContext": null }, - "start": 1134, - "end": 1135, + "value": "const", + "start": 1080, + "end": 1085, "loc": { "start": { - "line": 41, - "column": 12 + "line": 36, + "column": 6 }, "end": { - "line": 41, - "column": 13 + "line": 36, + "column": 11 } } }, @@ -8835,50 +8658,52 @@ "postfix": false, "binop": null }, - "value": "reload", - "start": 1135, - "end": 1141, + "value": "name", + "start": 1086, + "end": 1090, "loc": { "start": { - "line": 41, - "column": 13 + "line": 36, + "column": 12 }, "end": { - "line": 41, - "column": 19 + "line": 36, + "column": 16 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1141, - "end": 1142, + "value": "=", + "start": 1091, + "end": 1092, "loc": { "start": { - "line": 41, - "column": 19 + "line": 36, + "column": 17 }, "end": { - "line": 41, - "column": 20 + "line": 36, + "column": 18 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8886,24 +8711,25 @@ "postfix": false, "binop": null }, - "start": 1142, - "end": 1143, + "value": "task", + "start": 1093, + "end": 1097, "loc": { "start": { - "line": 41, - "column": 20 + "line": 36, + "column": 19 }, "end": { - "line": 41, - "column": 21 + "line": 36, + "column": 23 } } }, { "type": { - "label": ";", + "label": "[", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -8912,47 +8738,49 @@ "binop": null, "updateContext": null }, - "start": 1143, - "end": 1144, + "start": 1097, + "end": 1098, "loc": { "start": { - "line": 41, - "column": 21 + "line": 36, + "column": 23 }, "end": { - "line": 41, - "column": 22 + "line": 36, + "column": 24 } } }, { "type": { - "label": "}", + "label": "num", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1149, - "end": 1150, + "value": 0, + "start": 1098, + "end": 1099, "loc": { "start": { - "line": 42, - "column": 4 + "line": 36, + "column": 24 }, "end": { - "line": 42, - "column": 5 + "line": 36, + "column": 25 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -8960,18 +8788,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1150, - "end": 1151, + "start": 1099, + "end": 1100, "loc": { "start": { - "line": 42, - "column": 5 + "line": 36, + "column": 25 }, "end": { - "line": 42, - "column": 6 + "line": 36, + "column": 26 } } }, @@ -8988,42 +8817,44 @@ "binop": null, "updateContext": null }, - "start": 1151, - "end": 1152, + "start": 1100, + "end": 1101, "loc": { "start": { - "line": 42, - "column": 6 + "line": 36, + "column": 26 }, "end": { - "line": 42, - "column": 7 + "line": 36, + "column": 27 } } }, { "type": { - "label": "name", + "label": "const", + "keyword": "const", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "await", - "start": 1157, - "end": 1162, + "value": "const", + "start": 1108, + "end": 1113, "loc": { "start": { - "line": 43, - "column": 4 + "line": 37, + "column": 6 }, "end": { - "line": 43, - "column": 9 + "line": 37, + "column": 11 } } }, @@ -9039,43 +8870,44 @@ "postfix": false, "binop": null }, - "value": "watcher", - "start": 1163, - "end": 1170, + "value": "enabled", + "start": 1114, + "end": 1121, "loc": { "start": { - "line": 43, - "column": 10 + "line": 37, + "column": 12 }, "end": { - "line": 43, - "column": 17 + "line": 37, + "column": 19 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": "=", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "start": 1170, - "end": 1171, + "value": "=", + "start": 1122, + "end": 1123, "loc": { "start": { - "line": 43, - "column": 17 + "line": 37, + "column": 20 }, "end": { - "line": 43, - "column": 18 + "line": 37, + "column": 21 } } }, @@ -9091,23 +8923,23 @@ "postfix": false, "binop": null }, - "value": "watch", - "start": 1171, - "end": 1176, + "value": "task", + "start": 1124, + "end": 1128, "loc": { "start": { - "line": 43, - "column": 18 + "line": 37, + "column": 22 }, "end": { - "line": 43, - "column": 23 + "line": 37, + "column": 26 } } }, { "type": { - "label": "(", + "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -9115,24 +8947,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1176, - "end": 1177, + "start": 1128, + "end": 1129, "loc": { "start": { - "line": 43, - "column": 23 + "line": 37, + "column": 26 }, "end": { - "line": 43, - "column": 24 + "line": 37, + "column": 27 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -9140,25 +8973,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1177, - "end": 1183, + "value": 1, + "start": 1129, + "end": 1130, "loc": { "start": { - "line": 43, - "column": 24 + "line": 37, + "column": 27 }, "end": { - "line": 43, - "column": 30 + "line": 37, + "column": 28 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9166,18 +9000,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1183, - "end": 1184, + "start": 1130, + "end": 1131, "loc": { "start": { - "line": 43, - "column": 30 + "line": 37, + "column": 28 }, "end": { - "line": 43, - "column": 31 + "line": 37, + "column": 29 } } }, @@ -9194,41 +9029,16 @@ "binop": null, "updateContext": null }, - "start": 1184, - "end": 1185, - "loc": { - "start": { - "line": 43, - "column": 31 - }, - "end": { - "line": 43, - "column": 32 - } - } - }, - { - "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 1188, - "end": 1189, + "start": 1131, + "end": 1132, "loc": { "start": { - "line": 44, - "column": 2 + "line": 37, + "column": 29 }, "end": { - "line": 44, - "column": 3 + "line": 37, + "column": 30 } } }, @@ -9247,16 +9057,16 @@ "updateContext": null }, "value": "if", - "start": 1193, - "end": 1195, + "start": 1139, + "end": 1141, "loc": { "start": { - "line": 46, - "column": 2 + "line": 38, + "column": 6 }, "end": { - "line": 46, - "column": 4 + "line": 38, + "column": 8 } } }, @@ -9272,16 +9082,16 @@ "postfix": false, "binop": null }, - "start": 1196, - "end": 1197, + "start": 1142, + "end": 1143, "loc": { "start": { - "line": 46, - "column": 5 + "line": 38, + "column": 9 }, "end": { - "line": 46, - "column": 6 + "line": 38, + "column": 10 } } }, @@ -9297,17 +9107,17 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 1197, - "end": 1202, + "value": "enabled", + "start": 1143, + "end": 1150, "loc": { "start": { - "line": 46, - "column": 6 + "line": 38, + "column": 10 }, "end": { - "line": 46, - "column": 11 + "line": 38, + "column": 17 } } }, @@ -9323,16 +9133,16 @@ "postfix": false, "binop": null }, - "start": 1202, - "end": 1203, + "start": 1150, + "end": 1151, "loc": { "start": { - "line": 46, - "column": 11 + "line": 38, + "column": 17 }, "end": { - "line": 46, - "column": 12 + "line": 38, + "column": 18 } } }, @@ -9348,49 +9158,51 @@ "postfix": false, "binop": null }, - "start": 1204, - "end": 1205, + "start": 1152, + "end": 1153, "loc": { "start": { - "line": 46, - "column": 13 + "line": 38, + "column": 19 }, "end": { - "line": 46, - "column": 14 + "line": 38, + "column": 20 } } }, { "type": { - "label": "name", + "label": "try", + "keyword": "try", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "await", - "start": 1210, - "end": 1215, + "value": "try", + "start": 1162, + "end": 1165, "loc": { "start": { - "line": 47, - "column": 4 + "line": 39, + "column": 8 }, "end": { - "line": 47, - "column": 9 + "line": 39, + "column": 11 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9399,23 +9211,23 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1216, - "end": 1222, + "start": 1166, + "end": 1167, "loc": { "start": { - "line": 47, - "column": 10 + "line": 39, + "column": 12 }, "end": { - "line": 47, - "column": 16 + "line": 39, + "column": 13 } } }, { "type": { - "label": ".", + "label": "const", + "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9426,16 +9238,17 @@ "binop": null, "updateContext": null }, - "start": 1222, - "end": 1223, + "value": "const", + "start": 1178, + "end": 1183, "loc": { "start": { - "line": 47, - "column": 16 + "line": 40, + "column": 10 }, "end": { - "line": 47, - "column": 17 + "line": 40, + "column": 15 } } }, @@ -9451,24 +9264,51 @@ "postfix": false, "binop": null }, - "value": "serve", - "start": 1223, - "end": 1228, + "value": "done", + "start": 1184, + "end": 1188, "loc": { "start": { - "line": 47, - "column": 17 + "line": 40, + "column": 16 }, "end": { - "line": 47, - "column": 22 + "line": 40, + "column": 20 } } }, { "type": { - "label": "(", + "label": "=", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 1189, + "end": 1190, + "loc": { + "start": { + "line": 40, + "column": 21 + }, + "end": { + "line": 40, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9477,16 +9317,17 @@ "postfix": false, "binop": null }, - "start": 1228, - "end": 1229, + "value": "await", + "start": 1191, + "end": 1196, "loc": { - "start": { - "line": 47, - "column": 22 + "start": { + "line": 40, + "column": 23 }, "end": { - "line": 47, - "column": 23 + "line": 40, + "column": 28 } } }, @@ -9502,25 +9343,25 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1229, - "end": 1235, + "value": "tasks", + "start": 1197, + "end": 1202, "loc": { "start": { - "line": 47, - "column": 23 + "line": 40, + "column": 29 }, "end": { - "line": 47, - "column": 29 + "line": 40, + "column": 34 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "[", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9529,16 +9370,16 @@ "binop": null, "updateContext": null }, - "start": 1235, - "end": 1236, + "start": 1202, + "end": 1203, "loc": { "start": { - "line": 47, - "column": 29 + "line": 40, + "column": 34 }, "end": { - "line": 47, - "column": 30 + "line": 40, + "column": 35 } } }, @@ -9554,23 +9395,23 @@ "postfix": false, "binop": null }, - "value": "server", - "start": 1236, - "end": 1242, + "value": "name", + "start": 1203, + "end": 1207, "loc": { "start": { - "line": 47, - "column": 30 + "line": 40, + "column": 35 }, "end": { - "line": 47, - "column": 36 + "line": 40, + "column": 39 } } }, { "type": { - "label": ")", + "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9578,52 +9419,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1242, - "end": 1243, + "start": 1207, + "end": 1208, "loc": { "start": { - "line": 47, - "column": 36 + "line": 40, + "column": 39 }, "end": { - "line": 47, - "column": 37 + "line": 40, + "column": 40 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1243, - "end": 1244, + "start": 1208, + "end": 1209, "loc": { "start": { - "line": 47, - "column": 37 + "line": 40, + "column": 40 }, "end": { - "line": 47, - "column": 38 + "line": 40, + "column": 41 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9631,22 +9472,23 @@ "postfix": false, "binop": null }, - "start": 1247, - "end": 1248, + "value": "config", + "start": 1209, + "end": 1215, "loc": { "start": { - "line": 48, - "column": 2 + "line": 40, + "column": 41 }, "end": { - "line": 48, - "column": 3 + "line": 40, + "column": 47 } } }, { "type": { - "label": "}", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -9656,25 +9498,24 @@ "postfix": false, "binop": null }, - "start": 1249, - "end": 1250, + "start": 1215, + "end": 1216, "loc": { "start": { - "line": 49, - "column": 0 + "line": 40, + "column": 47 }, "end": { - "line": 49, - "column": 1 + "line": 40, + "column": 48 } } }, { "type": { - "label": "new", - "keyword": "new", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9683,25 +9524,24 @@ "binop": null, "updateContext": null }, - "value": "new", - "start": 1252, - "end": 1255, + "start": 1216, + "end": 1217, "loc": { "start": { - "line": 51, - "column": 0 + "line": 40, + "column": 48 }, "end": { - "line": 51, - "column": 3 + "line": 40, + "column": 49 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9709,50 +9549,52 @@ "postfix": false, "binop": null }, - "value": "Config", - "start": 1256, - "end": 1262, + "start": 1226, + "end": 1227, "loc": { "start": { - "line": 51, - "column": 4 + "line": 41, + "column": 8 }, "end": { - "line": 51, - "column": 10 + "line": 41, + "column": 9 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": "catch", + "keyword": "catch", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 1262, - "end": 1263, + "value": "catch", + "start": 1228, + "end": 1233, "loc": { "start": { - "line": 51, + "line": 41, "column": 10 }, "end": { - "line": 51, - "column": 11 + "line": 41, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9760,50 +9602,50 @@ "postfix": false, "binop": null }, - "start": 1263, - "end": 1264, + "start": 1234, + "end": 1235, "loc": { "start": { - "line": 51, - "column": 11 + "line": 41, + "column": 16 }, "end": { - "line": 51, - "column": 12 + "line": 41, + "column": 17 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1264, - "end": 1265, + "value": "e", + "start": 1235, + "end": 1236, "loc": { "start": { - "line": 51, - "column": 12 + "line": 41, + "column": 17 }, "end": { - "line": 51, - "column": 13 + "line": 41, + "column": 18 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -9811,23 +9653,22 @@ "postfix": false, "binop": null }, - "value": "then", - "start": 1265, - "end": 1269, + "start": 1236, + "end": 1237, "loc": { "start": { - "line": 51, - "column": 13 + "line": 41, + "column": 18 }, "end": { - "line": 51, - "column": 17 + "line": 41, + "column": 19 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -9837,16 +9678,16 @@ "postfix": false, "binop": null }, - "start": 1269, - "end": 1270, + "start": 1238, + "end": 1239, "loc": { "start": { - "line": 51, - "column": 17 + "line": 41, + "column": 20 }, "end": { - "line": 51, - "column": 18 + "line": 41, + "column": 21 } } }, @@ -9862,24 +9703,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1270, - "end": 1276, + "value": "logger", + "start": 1250, + "end": 1256, "loc": { "start": { - "line": 51, - "column": 18 + "line": 42, + "column": 10 }, "end": { - "line": 51, - "column": 24 + "line": 42, + "column": 16 } } }, { "type": { - "label": "=>", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -9889,23 +9730,23 @@ "binop": null, "updateContext": null }, - "start": 1277, - "end": 1279, + "start": 1256, + "end": 1257, "loc": { "start": { - "line": 51, - "column": 25 + "line": 42, + "column": 16 }, "end": { - "line": 51, - "column": 27 + "line": 42, + "column": 17 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9914,23 +9755,24 @@ "postfix": false, "binop": null }, - "start": 1280, - "end": 1281, + "value": "warn", + "start": 1257, + "end": 1261, "loc": { "start": { - "line": 51, - "column": 28 + "line": 42, + "column": 17 }, "end": { - "line": 51, - "column": 29 + "line": 42, + "column": 21 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -9939,96 +9781,93 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 1284, - "end": 1290, + "start": 1261, + "end": 1262, "loc": { "start": { - "line": 52, - "column": 2 + "line": 42, + "column": 21 }, "end": { - "line": 52, - "column": 8 + "line": 42, + "column": 22 } } }, { "type": { - "label": ".", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1290, - "end": 1291, + "start": 1262, + "end": 1263, "loc": { "start": { - "line": 52, - "column": 8 + "line": 42, + "column": 22 }, "end": { - "line": 52, - "column": 9 + "line": 42, + "column": 23 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "debug", - "start": 1291, - "end": 1296, + "value": "task::function ", + "start": 1263, + "end": 1278, "loc": { "start": { - "line": 52, - "column": 9 + "line": 42, + "column": 23 }, "end": { - "line": 52, - "column": 14 + "line": 42, + "column": 38 } } }, { "type": { - "label": "=", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 1297, - "end": 1298, + "start": 1278, + "end": 1280, "loc": { "start": { - "line": 52, - "column": 15 + "line": 42, + "column": 38 }, "end": { - "line": 52, - "column": 16 + "line": 42, + "column": 40 } } }, @@ -10044,23 +9883,23 @@ "postfix": false, "binop": null }, - "value": "commander", - "start": 1299, - "end": 1308, + "value": "name", + "start": 1280, + "end": 1284, "loc": { "start": { - "line": 52, - "column": 17 + "line": 42, + "column": 40 }, "end": { - "line": 52, - "column": 26 + "line": 42, + "column": 44 } } }, { "type": { - "label": ".", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10068,80 +9907,78 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1308, - "end": 1309, + "start": 1284, + "end": 1285, "loc": { "start": { - "line": 52, - "column": 26 + "line": 42, + "column": 44 }, "end": { - "line": 52, - "column": 27 + "line": 42, + "column": 45 } } }, { "type": { - "label": "name", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "debug", - "start": 1309, - "end": 1314, + "value": " is undefined", + "start": 1285, + "end": 1298, "loc": { "start": { - "line": 52, - "column": 27 + "line": 42, + "column": 45 }, "end": { - "line": 52, - "column": 32 + "line": 42, + "column": 58 } } }, { "type": { - "label": "||", - "beforeExpr": true, - "startsExpr": false, + "label": "`", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 1315, - "end": 1317, + "start": 1298, + "end": 1299, "loc": { "start": { - "line": 52, - "column": 33 + "line": 42, + "column": 58 }, "end": { - "line": 52, - "column": 35 + "line": 42, + "column": 59 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10149,24 +9986,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 1318, - "end": 1324, + "start": 1299, + "end": 1300, "loc": { "start": { - "line": 52, - "column": 36 + "line": 42, + "column": 59 }, "end": { - "line": 52, - "column": 42 + "line": 42, + "column": 60 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -10176,24 +10012,24 @@ "binop": null, "updateContext": null }, - "start": 1324, - "end": 1325, + "start": 1300, + "end": 1301, "loc": { "start": { - "line": 52, - "column": 42 + "line": 42, + "column": 60 }, "end": { - "line": 52, - "column": 43 + "line": 42, + "column": 61 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10201,50 +10037,47 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 1325, - "end": 1330, + "start": 1310, + "end": 1311, "loc": { "start": { - "line": 52, - "column": 43 + "line": 43, + "column": 8 }, "end": { - "line": 52, - "column": 48 + "line": 43, + "column": 9 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1330, - "end": 1331, + "start": 1318, + "end": 1319, "loc": { "start": { - "line": 52, - "column": 48 + "line": 44, + "column": 6 }, "end": { - "line": 52, - "column": 49 + "line": 44, + "column": 7 } } }, { "type": { - "label": "let", - "keyword": "let", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -10252,19 +10085,17 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "let", - "start": 1334, - "end": 1337, + "start": 1324, + "end": 1325, "loc": { "start": { - "line": 53, - "column": 2 + "line": 45, + "column": 4 }, "end": { - "line": 53, + "line": 45, "column": 5 } } @@ -10281,44 +10112,43 @@ "postfix": false, "binop": null }, - "value": "it", - "start": 1338, - "end": 1340, + "value": "process", + "start": 1330, + "end": 1337, "loc": { "start": { - "line": 53, - "column": 6 + "line": 46, + "column": 4 }, "end": { - "line": 53, - "column": 8 + "line": 46, + "column": 11 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 1341, - "end": 1342, + "start": 1337, + "end": 1338, "loc": { "start": { - "line": 53, - "column": 9 + "line": 46, + "column": 11 }, "end": { - "line": 53, - "column": 10 + "line": 46, + "column": 12 } } }, @@ -10334,17 +10164,17 @@ "postfix": false, "binop": null }, - "value": "run", - "start": 1343, - "end": 1346, + "value": "exit", + "start": 1338, + "end": 1342, "loc": { "start": { - "line": 53, - "column": 11 + "line": 46, + "column": 12 }, "end": { - "line": 53, - "column": 14 + "line": 46, + "column": 16 } } }, @@ -10360,22 +10190,22 @@ "postfix": false, "binop": null }, - "start": 1346, - "end": 1347, + "start": 1342, + "end": 1343, "loc": { "start": { - "line": 53, - "column": 14 + "line": 46, + "column": 16 }, "end": { - "line": 53, - "column": 15 + "line": 46, + "column": 17 } } }, { "type": { - "label": "name", + "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -10383,19 +10213,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "config", - "start": 1347, - "end": 1353, + "value": 0, + "start": 1343, + "end": 1344, "loc": { "start": { - "line": 53, - "column": 15 + "line": 46, + "column": 17 }, "end": { - "line": 53, - "column": 21 + "line": 46, + "column": 18 } } }, @@ -10411,16 +10242,16 @@ "postfix": false, "binop": null }, - "start": 1353, - "end": 1354, + "start": 1344, + "end": 1345, "loc": { "start": { - "line": 53, - "column": 21 + "line": 46, + "column": 18 }, "end": { - "line": 53, - "column": 22 + "line": 46, + "column": 19 } } }, @@ -10437,24 +10268,24 @@ "binop": null, "updateContext": null }, - "start": 1354, - "end": 1355, + "start": 1345, + "end": 1346, "loc": { "start": { - "line": 53, - "column": 22 + "line": 46, + "column": 19 }, "end": { - "line": 53, - "column": 23 + "line": 46, + "column": 20 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -10462,50 +10293,49 @@ "postfix": false, "binop": null }, - "value": "it", - "start": 1358, - "end": 1360, + "start": 1349, + "end": 1350, "loc": { "start": { - "line": 54, + "line": 47, "column": 2 }, "end": { - "line": 54, - "column": 4 + "line": 47, + "column": 3 } } }, { "type": { - "label": ".", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 1360, - "end": 1361, + "value": "run", + "start": 1353, + "end": 1356, "loc": { "start": { - "line": 54, - "column": 4 + "line": 48, + "column": 2 }, "end": { - "line": 54, + "line": 48, "column": 5 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10514,24 +10344,23 @@ "postfix": false, "binop": null }, - "value": "next", - "start": 1361, - "end": 1365, + "start": 1356, + "end": 1357, "loc": { "start": { - "line": 54, + "line": 48, "column": 5 }, "end": { - "line": 54, - "column": 9 + "line": 48, + "column": 6 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -10540,16 +10369,17 @@ "postfix": false, "binop": null }, - "start": 1365, - "end": 1366, + "value": "config", + "start": 1357, + "end": 1363, "loc": { "start": { - "line": 54, - "column": 9 + "line": 48, + "column": 6 }, "end": { - "line": 54, - "column": 10 + "line": 48, + "column": 12 } } }, @@ -10565,16 +10395,16 @@ "postfix": false, "binop": null }, - "start": 1366, - "end": 1367, + "start": 1363, + "end": 1364, "loc": { "start": { - "line": 54, - "column": 10 + "line": 48, + "column": 12 }, "end": { - "line": 54, - "column": 11 + "line": 48, + "column": 13 } } }, @@ -10591,16 +10421,16 @@ "binop": null, "updateContext": null }, - "start": 1367, - "end": 1368, + "start": 1364, + "end": 1365, "loc": { "start": { - "line": 54, - "column": 11 + "line": 48, + "column": 13 }, "end": { - "line": 54, - "column": 12 + "line": 48, + "column": 14 } } }, @@ -10616,15 +10446,15 @@ "postfix": false, "binop": null }, - "start": 1369, - "end": 1370, + "start": 1366, + "end": 1367, "loc": { "start": { - "line": 55, + "line": 49, "column": 0 }, "end": { - "line": 55, + "line": 49, "column": 1 } } @@ -10641,15 +10471,15 @@ "postfix": false, "binop": null }, - "start": 1370, - "end": 1371, + "start": 1367, + "end": 1368, "loc": { "start": { - "line": 55, + "line": 49, "column": 1 }, "end": { - "line": 55, + "line": 49, "column": 2 } } @@ -10667,15 +10497,15 @@ "binop": null, "updateContext": null }, - "start": 1371, - "end": 1372, + "start": 1368, + "end": 1369, "loc": { "start": { - "line": 55, + "line": 49, "column": 2 }, "end": { - "line": 55, + "line": 49, "column": 3 } } @@ -10693,15 +10523,15 @@ "binop": null, "updateContext": null }, - "start": 1373, - "end": 1373, + "start": 1370, + "end": 1370, "loc": { "start": { - "line": 56, + "line": 50, "column": 0 }, "end": { - "line": 56, + "line": 50, "column": 0 } } diff --git a/docs/ast/source/config.js.json b/docs/ast/source/config.js.json index c803d90..fdc77c9 100644 --- a/docs/ast/source/config.js.json +++ b/docs/ast/source/config.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 5063, + "end": 5816, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 183, + "line": 212, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 5063, + "end": 5816, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 183, + "line": 212, "column": 0 } }, @@ -575,28 +575,28 @@ { "type": "ExportDefaultDeclaration", "start": 911, - "end": 5062, + "end": 5815, "loc": { "start": { "line": 18, "column": 0 }, "end": { - "line": 182, + "line": 211, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 926, - "end": 5062, + "end": 5815, "loc": { "start": { "line": 18, "column": 15 }, "end": { - "line": 182, + "line": 211, "column": 1 } }, @@ -622,14 +622,14 @@ "body": { "type": "ClassBody", "start": 939, - "end": 5062, + "end": 5815, "loc": { "start": { "line": 18, "column": 28 }, "end": { - "line": 182, + "line": 211, "column": 1 } }, @@ -637,7 +637,7 @@ { "type": "ClassMethod", "start": 943, - "end": 1399, + "end": 1408, "loc": { "start": { "line": 19, @@ -676,7 +676,7 @@ "body": { "type": "BlockStatement", "start": 957, - "end": 1399, + "end": 1408, "loc": { "start": { "line": 19, @@ -691,7 +691,7 @@ { "type": "ReturnStatement", "start": 963, - "end": 1395, + "end": 1404, "loc": { "start": { "line": 20, @@ -705,7 +705,7 @@ "argument": { "type": "NewExpression", "start": 970, - "end": 1394, + "end": 1403, "loc": { "start": { "line": 20, @@ -737,7 +737,7 @@ { "type": "ArrowFunctionExpression", "start": 982, - "end": 1393, + "end": 1402, "loc": { "start": { "line": 20, @@ -791,7 +791,7 @@ "body": { "type": "BlockStatement", "start": 1003, - "end": 1393, + "end": 1402, "loc": { "start": { "line": 20, @@ -806,7 +806,7 @@ { "type": "ExpressionStatement", "start": 1011, - "end": 1387, + "end": 1396, "loc": { "start": { "line": 21, @@ -820,7 +820,7 @@ "expression": { "type": "CallExpression", "start": 1011, - "end": 1386, + "end": 1395, "loc": { "start": { "line": 21, @@ -932,7 +932,7 @@ { "type": "ArrowFunctionExpression", "start": 1036, - "end": 1385, + "end": 1394, "loc": { "start": { "line": 21, @@ -969,7 +969,7 @@ "body": { "type": "BlockStatement", "start": 1046, - "end": 1385, + "end": 1394, "loc": { "start": { "line": 21, @@ -1435,7 +1435,7 @@ { "type": "IfStatement", "start": 1179, - "end": 1333, + "end": 1335, "loc": { "start": { "line": 25, @@ -1499,7 +1499,7 @@ "consequent": { "type": "BlockStatement", "start": 1199, - "end": 1333, + "end": 1335, "loc": { "start": { "line": 25, @@ -1514,7 +1514,7 @@ { "type": "ForOfStatement", "start": 1211, - "end": 1323, + "end": 1325, "loc": { "start": { "line": 26, @@ -1629,7 +1629,7 @@ "body": { "type": "BlockStatement", "start": 1246, - "end": 1323, + "end": 1325, "loc": { "start": { "line": 26, @@ -1644,7 +1644,7 @@ { "type": "ExpressionStatement", "start": 1260, - "end": 1311, + "end": 1313, "loc": { "start": { "line": 27, @@ -1652,13 +1652,13 @@ }, "end": { "line": 27, - "column": 63 + "column": 65 } }, "expression": { "type": "AssignmentExpression", "start": 1260, - "end": 1310, + "end": 1312, "loc": { "start": { "line": 27, @@ -1666,7 +1666,7 @@ }, "end": { "line": 27, - "column": 62 + "column": 64 } }, "operator": "=", @@ -1723,7 +1723,7 @@ "right": { "type": "CallExpression", "start": 1277, - "end": 1310, + "end": 1312, "loc": { "start": { "line": 27, @@ -1731,13 +1731,13 @@ }, "end": { "line": 27, - "column": 62 + "column": 64 } }, "callee": { "type": "MemberExpression", "start": 1277, - "end": 1294, + "end": 1296, "loc": { "start": { "line": 27, @@ -1745,7 +1745,7 @@ }, "end": { "line": 27, - "column": 46 + "column": 48 } }, "object": { @@ -1766,7 +1766,7 @@ "property": { "type": "Identifier", "start": 1282, - "end": 1294, + "end": 1296, "loc": { "start": { "line": 27, @@ -1774,41 +1774,41 @@ }, "end": { "line": 27, - "column": 46 + "column": 48 }, - "identifierName": "setupPlugins" + "identifierName": "defaultPlugins" }, - "name": "setupPlugins" + "name": "defaultPlugins" }, "computed": false }, "arguments": [ { "type": "MemberExpression", - "start": 1295, - "end": 1309, + "start": 1297, + "end": 1311, "loc": { "start": { "line": 27, - "column": 47 + "column": 49 }, "end": { "line": 27, - "column": 61 + "column": 63 } }, "object": { "type": "Identifier", - "start": 1295, - "end": 1301, + "start": 1297, + "end": 1303, "loc": { "start": { "line": 27, - "column": 47 + "column": 49 }, "end": { "line": 27, - "column": 53 + "column": 55 }, "identifierName": "bundle" }, @@ -1816,16 +1816,16 @@ }, "property": { "type": "Identifier", - "start": 1302, - "end": 1309, + "start": 1304, + "end": 1311, "loc": { "start": { "line": 27, - "column": 54 + "column": 56 }, "end": { "line": 27, - "column": 61 + "column": 63 }, "identifierName": "plugins" }, @@ -1847,9 +1847,9 @@ "alternate": null }, { - "type": "ExpressionStatement", - "start": 1342, - "end": 1377, + "type": "ReturnStatement", + "start": 1344, + "end": 1386, "loc": { "start": { "line": 30, @@ -1857,35 +1857,35 @@ }, "end": { "line": 30, - "column": 43 + "column": 50 } }, - "expression": { + "argument": { "type": "CallExpression", - "start": 1342, - "end": 1376, + "start": 1351, + "end": 1385, "loc": { "start": { "line": 30, - "column": 8 + "column": 15 }, "end": { "line": 30, - "column": 42 + "column": 49 } }, "callee": { "type": "Identifier", - "start": 1342, - "end": 1349, + "start": 1351, + "end": 1358, "loc": { "start": { "line": 30, - "column": 8 + "column": 15 }, "end": { "line": 30, - "column": 15 + "column": 22 }, "identifierName": "resolve" }, @@ -1894,59 +1894,59 @@ "arguments": [ { "type": "CallExpression", - "start": 1350, - "end": 1375, + "start": 1359, + "end": 1384, "loc": { "start": { "line": 30, - "column": 16 + "column": 23 }, "end": { "line": 30, - "column": 41 + "column": 48 } }, "callee": { "type": "MemberExpression", - "start": 1350, - "end": 1367, + "start": 1359, + "end": 1376, "loc": { "start": { "line": 30, - "column": 16 + "column": 23 }, "end": { "line": 30, - "column": 33 + "column": 40 } }, "object": { "type": "ThisExpression", - "start": 1350, - "end": 1354, + "start": 1359, + "end": 1363, "loc": { "start": { "line": 30, - "column": 16 + "column": 23 }, "end": { "line": 30, - "column": 20 + "column": 27 } } }, "property": { "type": "Identifier", - "start": 1355, - "end": 1367, + "start": 1364, + "end": 1376, "loc": { "start": { "line": 30, - "column": 21 + "column": 28 }, "end": { "line": 30, - "column": 33 + "column": 40 }, "identifierName": "updateConfig" }, @@ -1957,16 +1957,16 @@ "arguments": [ { "type": "Identifier", - "start": 1368, - "end": 1374, + "start": 1377, + "end": 1383, "loc": { "start": { "line": 30, - "column": 34 + "column": 41 }, "end": { "line": 30, - "column": 40 + "column": 47 }, "identifierName": "config" }, @@ -1992,40 +1992,60 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {array} plugins\n ", + "start": 1412, + "end": 1449, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 37, + "column": 5 + } + } + } + ] }, { "type": "ClassMethod", - "start": 1403, - "end": 1609, + "start": 1452, + "end": 1662, "loc": { "start": { - "line": 35, + "line": 38, "column": 2 }, "end": { - "line": 43, + "line": 46, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1403, - "end": 1415, + "start": 1452, + "end": 1466, "loc": { "start": { - "line": 35, + "line": 38, "column": 2 }, "end": { - "line": 35, - "column": 14 + "line": 38, + "column": 16 }, - "identifierName": "setupPlugins" + "identifierName": "defaultPlugins" }, - "name": "setupPlugins" + "name": "defaultPlugins", + "leadingComments": null }, "static": false, "kind": "method", @@ -2036,30 +2056,30 @@ "params": [ { "type": "AssignmentPattern", - "start": 1416, - "end": 1426, + "start": 1467, + "end": 1479, "loc": { "start": { - "line": 35, - "column": 15 + "line": 38, + "column": 17 }, "end": { - "line": 35, - "column": 25 + "line": 38, + "column": 29 } }, "left": { "type": "Identifier", - "start": 1416, - "end": 1423, + "start": 1467, + "end": 1474, "loc": { "start": { - "line": 35, - "column": 15 + "line": 38, + "column": 17 }, "end": { - "line": 35, - "column": 22 + "line": 38, + "column": 24 }, "identifierName": "plugins" }, @@ -2067,16 +2087,16 @@ }, "right": { "type": "ObjectExpression", - "start": 1424, - "end": 1426, + "start": 1477, + "end": 1479, "loc": { "start": { - "line": 35, - "column": 23 + "line": 38, + "column": 27 }, "end": { - "line": 35, - "column": 25 + "line": 38, + "column": 29 } }, "properties": [] @@ -2085,59 +2105,59 @@ ], "body": { "type": "BlockStatement", - "start": 1428, - "end": 1609, + "start": 1481, + "end": 1662, "loc": { "start": { - "line": 35, - "column": 27 + "line": 38, + "column": 31 }, "end": { - "line": 43, + "line": 46, "column": 3 } }, "body": [ { "type": "VariableDeclaration", - "start": 1434, - "end": 1472, + "start": 1487, + "end": 1525, "loc": { "start": { - "line": 36, + "line": 39, "column": 4 }, "end": { - "line": 36, + "line": 39, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1440, - "end": 1471, + "start": 1493, + "end": 1524, "loc": { "start": { - "line": 36, + "line": 39, "column": 10 }, "end": { - "line": 36, + "line": 39, "column": 41 } }, "id": { "type": "Identifier", - "start": 1440, - "end": 1448, + "start": 1493, + "end": 1501, "loc": { "start": { - "line": 36, + "line": 39, "column": 10 }, "end": { - "line": 36, + "line": 39, "column": 18 }, "identifierName": "defaults" @@ -2146,30 +2166,30 @@ }, "init": { "type": "ArrayExpression", - "start": 1451, - "end": 1471, + "start": 1504, + "end": 1524, "loc": { "start": { - "line": 36, + "line": 39, "column": 21 }, "end": { - "line": 36, + "line": 39, "column": 41 } }, "elements": [ { "type": "StringLiteral", - "start": 1452, - "end": 1459, + "start": 1505, + "end": 1512, "loc": { "start": { - "line": 36, + "line": 39, "column": 22 }, "end": { - "line": 36, + "line": 39, "column": 29 } }, @@ -2181,15 +2201,15 @@ }, { "type": "StringLiteral", - "start": 1461, - "end": 1470, + "start": 1514, + "end": 1523, "loc": { "start": { - "line": 36, + "line": 39, "column": 31 }, "end": { - "line": 36, + "line": 39, "column": 40 } }, @@ -2207,58 +2227,58 @@ }, { "type": "ForOfStatement", - "start": 1477, - "end": 1585, + "start": 1530, + "end": 1638, "loc": { "start": { - "line": 37, + "line": 40, "column": 4 }, "end": { - "line": 41, + "line": 44, "column": 5 } }, "left": { "type": "VariableDeclaration", - "start": 1482, - "end": 1489, + "start": 1535, + "end": 1542, "loc": { "start": { - "line": 37, + "line": 40, "column": 9 }, "end": { - "line": 37, + "line": 40, "column": 16 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 1486, - "end": 1489, + "start": 1539, + "end": 1542, "loc": { "start": { - "line": 37, + "line": 40, "column": 13 }, "end": { - "line": 37, + "line": 40, "column": 16 } }, "id": { "type": "Identifier", - "start": 1486, - "end": 1489, + "start": 1539, + "end": 1542, "loc": { "start": { - "line": 37, + "line": 40, "column": 13 }, "end": { - "line": 37, + "line": 40, "column": 16 }, "identifierName": "key" @@ -2272,15 +2292,15 @@ }, "right": { "type": "Identifier", - "start": 1493, - "end": 1501, + "start": 1546, + "end": 1554, "loc": { "start": { - "line": 37, + "line": 40, "column": 20 }, "end": { - "line": 37, + "line": 40, "column": 28 }, "identifierName": "defaults" @@ -2289,87 +2309,87 @@ }, "body": { "type": "BlockStatement", - "start": 1503, - "end": 1585, + "start": 1556, + "end": 1638, "loc": { "start": { - "line": 37, + "line": 40, "column": 30 }, "end": { - "line": 41, + "line": 44, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 1511, - "end": 1579, + "start": 1564, + "end": 1632, "loc": { "start": { - "line": 38, + "line": 41, "column": 6 }, "end": { - "line": 40, + "line": 43, "column": 7 } }, "test": { "type": "LogicalExpression", - "start": 1515, - "end": 1541, + "start": 1568, + "end": 1594, "loc": { "start": { - "line": 38, + "line": 41, "column": 10 }, "end": { - "line": 38, + "line": 41, "column": 36 } }, "left": { "type": "MemberExpression", - "start": 1515, - "end": 1524, + "start": 1568, + "end": 1577, "loc": { "start": { - "line": 38, + "line": 41, "column": 10 }, "end": { - "line": 38, + "line": 41, "column": 19 } }, "object": { "type": "ThisExpression", - "start": 1515, - "end": 1519, + "start": 1568, + "end": 1572, "loc": { "start": { - "line": 38, + "line": 41, "column": 10 }, "end": { - "line": 38, + "line": 41, "column": 14 } } }, "property": { "type": "Identifier", - "start": 1520, - "end": 1523, + "start": 1573, + "end": 1576, "loc": { "start": { - "line": 38, + "line": 41, "column": 15 }, "end": { - "line": 38, + "line": 41, "column": 18 }, "identifierName": "key" @@ -2381,15 +2401,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 1528, - "end": 1541, + "start": 1581, + "end": 1594, "loc": { "start": { - "line": 38, + "line": 41, "column": 23 }, "end": { - "line": 38, + "line": 41, "column": 36 } }, @@ -2397,29 +2417,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 1529, - "end": 1541, + "start": 1582, + "end": 1594, "loc": { "start": { - "line": 38, + "line": 41, "column": 24 }, "end": { - "line": 38, + "line": 41, "column": 36 } }, "object": { "type": "Identifier", - "start": 1529, - "end": 1536, + "start": 1582, + "end": 1589, "loc": { "start": { - "line": 38, + "line": 41, "column": 24 }, "end": { - "line": 38, + "line": 41, "column": 31 }, "identifierName": "plugins" @@ -2428,15 +2448,15 @@ }, "property": { "type": "Identifier", - "start": 1537, - "end": 1540, + "start": 1590, + "end": 1593, "loc": { "start": { - "line": 38, + "line": 41, "column": 32 }, "end": { - "line": 38, + "line": 41, "column": 35 }, "identifierName": "key" @@ -2452,73 +2472,73 @@ }, "consequent": { "type": "BlockStatement", - "start": 1543, - "end": 1579, + "start": 1596, + "end": 1632, "loc": { "start": { - "line": 38, + "line": 41, "column": 38 }, "end": { - "line": 40, + "line": 43, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 1553, - "end": 1571, + "start": 1606, + "end": 1624, "loc": { "start": { - "line": 39, + "line": 42, "column": 8 }, "end": { - "line": 39, + "line": 42, "column": 26 } }, "expression": { "type": "AssignmentExpression", - "start": 1553, - "end": 1570, + "start": 1606, + "end": 1623, "loc": { "start": { - "line": 39, + "line": 42, "column": 8 }, "end": { - "line": 39, + "line": 42, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 1553, - "end": 1565, + "start": 1606, + "end": 1618, "loc": { "start": { - "line": 39, + "line": 42, "column": 8 }, "end": { - "line": 39, + "line": 42, "column": 20 } }, "object": { "type": "Identifier", - "start": 1553, - "end": 1560, + "start": 1606, + "end": 1613, "loc": { "start": { - "line": 39, + "line": 42, "column": 8 }, "end": { - "line": 39, + "line": 42, "column": 15 }, "identifierName": "plugins" @@ -2527,15 +2547,15 @@ }, "property": { "type": "Identifier", - "start": 1561, - "end": 1564, + "start": 1614, + "end": 1617, "loc": { "start": { - "line": 39, + "line": 42, "column": 16 }, "end": { - "line": 39, + "line": 42, "column": 19 }, "identifierName": "key" @@ -2546,15 +2566,15 @@ }, "right": { "type": "ObjectExpression", - "start": 1568, - "end": 1570, + "start": 1621, + "end": 1623, "loc": { "start": { - "line": 39, + "line": 42, "column": 23 }, "end": { - "line": 39, + "line": 42, "column": 25 } }, @@ -2573,29 +2593,29 @@ }, { "type": "ReturnStatement", - "start": 1590, - "end": 1605, + "start": 1643, + "end": 1658, "loc": { "start": { - "line": 42, + "line": 45, "column": 4 }, "end": { - "line": 42, + "line": 45, "column": 19 } }, "argument": { "type": "Identifier", - "start": 1597, - "end": 1604, + "start": 1650, + "end": 1657, "loc": { "start": { - "line": 42, + "line": 45, "column": 11 }, "end": { - "line": 42, + "line": 45, "column": 18 }, "identifierName": "plugins" @@ -2604,35 +2624,72 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * @param {array} plugins\n ", + "start": 1412, + "end": 1449, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 37, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default bundles config\n *\n * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}\n ", + "start": 1666, + "end": 1794, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ] }, { "type": "ClassMethod", - "start": 1613, - "end": 1762, + "start": 1797, + "end": 1947, "loc": { "start": { - "line": 45, + "line": 53, "column": 2 }, "end": { - "line": 53, + "line": 61, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1617, - "end": 1624, + "start": 1801, + "end": 1808, "loc": { "start": { - "line": 45, + "line": 53, "column": 6 }, "end": { - "line": 45, + "line": 53, "column": 13 }, "identifierName": "bundles" @@ -2648,74 +2705,74 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1627, - "end": 1762, + "start": 1811, + "end": 1947, "loc": { "start": { - "line": 45, + "line": 53, "column": 16 }, "end": { - "line": 53, + "line": 61, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1633, - "end": 1758, + "start": 1817, + "end": 1943, "loc": { "start": { - "line": 46, + "line": 54, "column": 4 }, "end": { - "line": 52, - "column": 5 + "line": 60, + "column": 6 } }, "argument": { "type": "ArrayExpression", - "start": 1640, - "end": 1758, + "start": 1824, + "end": 1942, "loc": { "start": { - "line": 46, + "line": 54, "column": 11 }, "end": { - "line": 52, + "line": 60, "column": 5 } }, "elements": [ { "type": "ObjectExpression", - "start": 1648, - "end": 1752, + "start": 1832, + "end": 1936, "loc": { "start": { - "line": 47, + "line": 55, "column": 6 }, "end": { - "line": 51, + "line": 59, "column": 7 } }, "properties": [ { "type": "ObjectProperty", - "start": 1658, - "end": 1684, + "start": 1842, + "end": 1868, "loc": { "start": { - "line": 48, + "line": 56, "column": 8 }, "end": { - "line": 48, + "line": 56, "column": 34 } }, @@ -2724,15 +2781,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1658, - "end": 1661, + "start": 1842, + "end": 1845, "loc": { "start": { - "line": 48, + "line": 56, "column": 8 }, "end": { - "line": 48, + "line": 56, "column": 11 }, "identifierName": "src" @@ -2741,59 +2798,59 @@ }, "value": { "type": "TemplateLiteral", - "start": 1663, - "end": 1684, + "start": 1847, + "end": 1868, "loc": { "start": { - "line": 48, + "line": 56, "column": 13 }, "end": { - "line": 48, + "line": 56, "column": 34 } }, "expressions": [ { "type": "MemberExpression", - "start": 1670, - "end": 1679, + "start": 1854, + "end": 1863, "loc": { "start": { - "line": 48, + "line": 56, "column": 20 }, "end": { - "line": 48, + "line": 56, "column": 29 } }, "object": { "type": "ThisExpression", - "start": 1670, - "end": 1674, + "start": 1854, + "end": 1858, "loc": { "start": { - "line": 48, + "line": 56, "column": 20 }, "end": { - "line": 48, + "line": 56, "column": 24 } } }, "property": { "type": "Identifier", - "start": 1675, - "end": 1679, + "start": 1859, + "end": 1863, "loc": { "start": { - "line": 48, + "line": 56, "column": 25 }, "end": { - "line": 48, + "line": 56, "column": 29 }, "identifierName": "name" @@ -2806,15 +2863,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 1664, - "end": 1668, + "start": 1848, + "end": 1852, "loc": { "start": { - "line": 48, + "line": 56, "column": 14 }, "end": { - "line": 48, + "line": 56, "column": 18 } }, @@ -2826,15 +2883,15 @@ }, { "type": "TemplateElement", - "start": 1680, - "end": 1683, + "start": 1864, + "end": 1867, "loc": { "start": { - "line": 48, + "line": 56, "column": 30 }, "end": { - "line": 48, + "line": 56, "column": 33 } }, @@ -2849,15 +2906,15 @@ }, { "type": "ObjectProperty", - "start": 1694, - "end": 1722, + "start": 1878, + "end": 1906, "loc": { "start": { - "line": 49, + "line": 57, "column": 8 }, "end": { - "line": 49, + "line": 57, "column": 36 } }, @@ -2866,15 +2923,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1694, - "end": 1698, + "start": 1878, + "end": 1882, "loc": { "start": { - "line": 49, + "line": 57, "column": 8 }, "end": { - "line": 49, + "line": 57, "column": 12 }, "identifierName": "dest" @@ -2883,59 +2940,59 @@ }, "value": { "type": "TemplateLiteral", - "start": 1700, - "end": 1722, + "start": 1884, + "end": 1906, "loc": { "start": { - "line": 49, + "line": 57, "column": 14 }, "end": { - "line": 49, + "line": 57, "column": 36 } }, "expressions": [ { "type": "MemberExpression", - "start": 1708, - "end": 1717, + "start": 1892, + "end": 1901, "loc": { "start": { - "line": 49, + "line": 57, "column": 22 }, "end": { - "line": 49, + "line": 57, "column": 31 } }, "object": { "type": "ThisExpression", - "start": 1708, - "end": 1712, + "start": 1892, + "end": 1896, "loc": { "start": { - "line": 49, + "line": 57, "column": 22 }, "end": { - "line": 49, + "line": 57, "column": 26 } } }, "property": { "type": "Identifier", - "start": 1713, - "end": 1717, + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 49, + "line": 57, "column": 27 }, "end": { - "line": 49, + "line": 57, "column": 31 }, "identifierName": "name" @@ -2948,15 +3005,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 1701, - "end": 1706, + "start": 1885, + "end": 1890, "loc": { "start": { - "line": 49, + "line": 57, "column": 15 }, "end": { - "line": 49, + "line": 57, "column": 20 } }, @@ -2968,15 +3025,15 @@ }, { "type": "TemplateElement", - "start": 1718, - "end": 1721, + "start": 1902, + "end": 1905, "loc": { "start": { - "line": 49, + "line": 57, "column": 32 }, "end": { - "line": 49, + "line": 57, "column": 35 } }, @@ -2991,15 +3048,15 @@ }, { "type": "ObjectProperty", - "start": 1732, - "end": 1744, + "start": 1916, + "end": 1928, "loc": { "start": { - "line": 50, + "line": 58, "column": 8 }, "end": { - "line": 50, + "line": 58, "column": 20 } }, @@ -3008,15 +3065,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1732, - "end": 1738, + "start": 1916, + "end": 1922, "loc": { "start": { - "line": 50, + "line": 58, "column": 8 }, "end": { - "line": 50, + "line": 58, "column": 14 }, "identifierName": "format" @@ -3025,15 +3082,15 @@ }, "value": { "type": "StringLiteral", - "start": 1740, - "end": 1744, + "start": 1924, + "end": 1928, "loc": { "start": { - "line": 50, + "line": 58, "column": 16 }, "end": { - "line": 50, + "line": 58, "column": 20 } }, @@ -3050,35 +3107,72 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default bundles config\n *\n * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}\n ", + "start": 1666, + "end": 1794, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default server config\n *\n * @return {object} {\n * port: 3000,\n * entry: '/',\n * demo: 'demo',\n * docs: 'docs',\n * bowerPath: 'bower_components',\n * nodeModulesPath: 'node_modules',\n * index: null\n * }\n ", + "start": 1951, + "end": 2337, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + } + } + } + ] }, { "type": "ClassMethod", - "start": 1766, - "end": 1969, + "start": 2340, + "end": 2543, "loc": { "start": { - "line": 55, + "line": 76, "column": 2 }, "end": { - "line": 64, + "line": 85, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1770, - "end": 1776, + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 55, + "line": 76, "column": 6 }, "end": { - "line": 55, + "line": 76, "column": 12 }, "identifierName": "server" @@ -3094,59 +3188,59 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1779, - "end": 1969, + "start": 2353, + "end": 2543, "loc": { "start": { - "line": 55, + "line": 76, "column": 15 }, "end": { - "line": 64, + "line": 85, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1785, - "end": 1965, + "start": 2359, + "end": 2539, "loc": { "start": { - "line": 56, + "line": 77, "column": 4 }, "end": { - "line": 63, + "line": 84, "column": 19 } }, "argument": { "type": "ObjectExpression", - "start": 1792, - "end": 1964, + "start": 2366, + "end": 2538, "loc": { "start": { - "line": 56, + "line": 77, "column": 11 }, "end": { - "line": 63, + "line": 84, "column": 18 } }, "properties": [ { "type": "ObjectProperty", - "start": 1800, - "end": 1810, + "start": 2374, + "end": 2384, "loc": { "start": { - "line": 57, + "line": 78, "column": 6 }, "end": { - "line": 57, + "line": 78, "column": 16 } }, @@ -3155,15 +3249,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1800, - "end": 1804, + "start": 2374, + "end": 2378, "loc": { "start": { - "line": 57, + "line": 78, "column": 6 }, "end": { - "line": 57, + "line": 78, "column": 10 }, "identifierName": "port" @@ -3172,15 +3266,15 @@ }, "value": { "type": "NumericLiteral", - "start": 1806, - "end": 1810, + "start": 2380, + "end": 2384, "loc": { "start": { - "line": 57, + "line": 78, "column": 12 }, "end": { - "line": 57, + "line": 78, "column": 16 } }, @@ -3193,15 +3287,15 @@ }, { "type": "ObjectProperty", - "start": 1818, - "end": 1828, + "start": 2392, + "end": 2402, "loc": { "start": { - "line": 58, + "line": 79, "column": 6 }, "end": { - "line": 58, + "line": 79, "column": 16 } }, @@ -3210,15 +3304,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1818, - "end": 1823, + "start": 2392, + "end": 2397, "loc": { "start": { - "line": 58, + "line": 79, "column": 6 }, "end": { - "line": 58, + "line": 79, "column": 11 }, "identifierName": "entry" @@ -3227,15 +3321,15 @@ }, "value": { "type": "StringLiteral", - "start": 1825, - "end": 1828, + "start": 2399, + "end": 2402, "loc": { "start": { - "line": 58, + "line": 79, "column": 13 }, "end": { - "line": 58, + "line": 79, "column": 16 } }, @@ -3248,15 +3342,15 @@ }, { "type": "ObjectProperty", - "start": 1836, - "end": 1848, + "start": 2410, + "end": 2422, "loc": { "start": { - "line": 59, + "line": 80, "column": 6 }, "end": { - "line": 59, + "line": 80, "column": 18 } }, @@ -3265,15 +3359,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1836, - "end": 1840, + "start": 2410, + "end": 2414, "loc": { "start": { - "line": 59, + "line": 80, "column": 6 }, "end": { - "line": 59, + "line": 80, "column": 10 }, "identifierName": "demo" @@ -3282,15 +3376,15 @@ }, "value": { "type": "StringLiteral", - "start": 1842, - "end": 1848, + "start": 2416, + "end": 2422, "loc": { "start": { - "line": 59, + "line": 80, "column": 12 }, "end": { - "line": 59, + "line": 80, "column": 18 } }, @@ -3303,15 +3397,15 @@ }, { "type": "ObjectProperty", - "start": 1856, - "end": 1868, + "start": 2430, + "end": 2442, "loc": { "start": { - "line": 60, + "line": 81, "column": 6 }, "end": { - "line": 60, + "line": 81, "column": 18 } }, @@ -3320,15 +3414,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1856, - "end": 1860, + "start": 2430, + "end": 2434, "loc": { "start": { - "line": 60, + "line": 81, "column": 6 }, "end": { - "line": 60, + "line": 81, "column": 10 }, "identifierName": "docs" @@ -3337,15 +3431,15 @@ }, "value": { "type": "StringLiteral", - "start": 1862, - "end": 1868, + "start": 2436, + "end": 2442, "loc": { "start": { - "line": 60, + "line": 81, "column": 12 }, "end": { - "line": 60, + "line": 81, "column": 18 } }, @@ -3358,15 +3452,15 @@ }, { "type": "ObjectProperty", - "start": 1876, - "end": 1905, + "start": 2450, + "end": 2479, "loc": { "start": { - "line": 61, + "line": 82, "column": 6 }, "end": { - "line": 61, + "line": 82, "column": 35 } }, @@ -3375,15 +3469,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1876, - "end": 1885, + "start": 2450, + "end": 2459, "loc": { "start": { - "line": 61, + "line": 82, "column": 6 }, "end": { - "line": 61, + "line": 82, "column": 15 }, "identifierName": "bowerPath" @@ -3392,15 +3486,15 @@ }, "value": { "type": "StringLiteral", - "start": 1887, - "end": 1905, + "start": 2461, + "end": 2479, "loc": { "start": { - "line": 61, + "line": 82, "column": 17 }, "end": { - "line": 61, + "line": 82, "column": 35 } }, @@ -3413,15 +3507,15 @@ }, { "type": "ObjectProperty", - "start": 1913, - "end": 1944, + "start": 2487, + "end": 2518, "loc": { "start": { - "line": 62, + "line": 83, "column": 6 }, "end": { - "line": 62, + "line": 83, "column": 37 } }, @@ -3430,15 +3524,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1913, - "end": 1928, + "start": 2487, + "end": 2502, "loc": { "start": { - "line": 62, + "line": 83, "column": 6 }, "end": { - "line": 62, + "line": 83, "column": 21 }, "identifierName": "nodeModulesPath" @@ -3447,15 +3541,15 @@ }, "value": { "type": "StringLiteral", - "start": 1930, - "end": 1944, + "start": 2504, + "end": 2518, "loc": { "start": { - "line": 62, + "line": 83, "column": 23 }, "end": { - "line": 62, + "line": 83, "column": 37 } }, @@ -3468,15 +3562,15 @@ }, { "type": "ObjectProperty", - "start": 1952, - "end": 1963, + "start": 2526, + "end": 2537, "loc": { "start": { - "line": 63, + "line": 84, "column": 6 }, "end": { - "line": 63, + "line": 84, "column": 17 } }, @@ -3485,15 +3579,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 1952, - "end": 1957, + "start": 2526, + "end": 2531, "loc": { "start": { - "line": 63, + "line": 84, "column": 6 }, "end": { - "line": 63, + "line": 84, "column": 11 }, "identifierName": "index" @@ -3502,15 +3596,15 @@ }, "value": { "type": "NullLiteral", - "start": 1959, - "end": 1963, + "start": 2533, + "end": 2537, "loc": { "start": { - "line": 63, + "line": 84, "column": 13 }, "end": { - "line": 63, + "line": 84, "column": 17 } } @@ -3520,35 +3614,72 @@ } } ], - "directives": [] - } + "directives": [], + "trailingComments": null + }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default server config\n *\n * @return {object} {\n * port: 3000,\n * entry: '/',\n * demo: 'demo',\n * docs: 'docs',\n * bowerPath: 'bower_components',\n * nodeModulesPath: 'node_modules',\n * index: null\n * }\n ", + "start": 1951, + "end": 2337, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + } + } + } + ], + "trailingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default watcher config\n *\n * @return {array} [{task: 'build', src: ['./src'], options: {}}\n ", + "start": 2547, + "end": 2657, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + } + ] }, { "type": "ClassMethod", - "start": 1973, - "end": 2073, + "start": 2660, + "end": 2760, "loc": { "start": { - "line": 66, + "line": 92, "column": 2 }, "end": { - "line": 72, + "line": 98, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 1977, - "end": 1982, + "start": 2664, + "end": 2669, "loc": { "start": { - "line": 66, + "line": 92, "column": 6 }, "end": { - "line": 66, + "line": 92, "column": 11 }, "identifierName": "watch" @@ -3564,74 +3695,74 @@ "params": [], "body": { "type": "BlockStatement", - "start": 1985, - "end": 2073, + "start": 2672, + "end": 2760, "loc": { "start": { - "line": 66, + "line": 92, "column": 14 }, "end": { - "line": 72, + "line": 98, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 1991, - "end": 2069, + "start": 2678, + "end": 2756, "loc": { "start": { - "line": 67, + "line": 93, "column": 4 }, "end": { - "line": 71, + "line": 97, "column": 7 } }, "argument": { "type": "ArrayExpression", - "start": 1998, - "end": 2068, + "start": 2685, + "end": 2755, "loc": { "start": { - "line": 67, + "line": 93, "column": 11 }, "end": { - "line": 71, + "line": 97, "column": 6 } }, "elements": [ { "type": "ObjectExpression", - "start": 1999, - "end": 2067, + "start": 2686, + "end": 2754, "loc": { "start": { - "line": 67, + "line": 93, "column": 12 }, "end": { - "line": 71, + "line": 97, "column": 5 } }, "properties": [ { "type": "ObjectProperty", - "start": 2007, - "end": 2020, + "start": 2694, + "end": 2707, "loc": { "start": { - "line": 68, + "line": 94, "column": 6 }, "end": { - "line": 68, + "line": 94, "column": 19 } }, @@ -3640,15 +3771,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2007, - "end": 2011, + "start": 2694, + "end": 2698, "loc": { "start": { - "line": 68, + "line": 94, "column": 6 }, "end": { - "line": 68, + "line": 94, "column": 10 }, "identifierName": "task" @@ -3657,15 +3788,15 @@ }, "value": { "type": "StringLiteral", - "start": 2013, - "end": 2020, + "start": 2700, + "end": 2707, "loc": { "start": { - "line": 68, + "line": 94, "column": 12 }, "end": { - "line": 68, + "line": 94, "column": 19 } }, @@ -3678,15 +3809,15 @@ }, { "type": "ObjectProperty", - "start": 2028, - "end": 2042, + "start": 2715, + "end": 2729, "loc": { "start": { - "line": 69, + "line": 95, "column": 6 }, "end": { - "line": 69, + "line": 95, "column": 20 } }, @@ -3695,15 +3826,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2028, - "end": 2031, + "start": 2715, + "end": 2718, "loc": { "start": { - "line": 69, + "line": 95, "column": 6 }, "end": { - "line": 69, + "line": 95, "column": 9 }, "identifierName": "src" @@ -3712,30 +3843,30 @@ }, "value": { "type": "ArrayExpression", - "start": 2033, - "end": 2042, + "start": 2720, + "end": 2729, "loc": { "start": { - "line": 69, + "line": 95, "column": 11 }, "end": { - "line": 69, + "line": 95, "column": 20 } }, "elements": [ { "type": "StringLiteral", - "start": 2034, - "end": 2041, + "start": 2721, + "end": 2728, "loc": { "start": { - "line": 69, + "line": 95, "column": 12 }, "end": { - "line": 69, + "line": 95, "column": 19 } }, @@ -3750,15 +3881,15 @@ }, { "type": "ObjectProperty", - "start": 2050, - "end": 2061, + "start": 2737, + "end": 2748, "loc": { "start": { - "line": 70, + "line": 96, "column": 6 }, "end": { - "line": 70, + "line": 96, "column": 17 } }, @@ -3767,15 +3898,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 2050, - "end": 2057, + "start": 2737, + "end": 2744, "loc": { "start": { - "line": 70, + "line": 96, "column": 6 }, "end": { - "line": 70, + "line": 96, "column": 13 }, "identifierName": "options" @@ -3784,15 +3915,15 @@ }, "value": { "type": "ObjectExpression", - "start": 2059, - "end": 2061, + "start": 2746, + "end": 2748, "loc": { "start": { - "line": 70, + "line": 96, "column": 15 }, "end": { - "line": 70, + "line": 96, "column": 17 } }, @@ -3808,19 +3939,37 @@ "directives": [], "trailingComments": null }, + "leadingComments": [ + { + "type": "CommentBlock", + "value": "*\n * Default watcher config\n *\n * @return {array} [{task: 'build', src: ['./src'], options: {}}\n ", + "start": 2547, + "end": 2657, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + } + ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n ", - "start": 2077, - "end": 2277, + "start": 2764, + "end": 2964, "loc": { "start": { - "line": 74, + "line": 100, "column": 2 }, "end": { - "line": 79, + "line": 105, "column": 5 } } @@ -3829,30 +3978,30 @@ }, { "type": "ClassMethod", - "start": 2280, - "end": 2543, + "start": 2967, + "end": 3230, "loc": { "start": { - "line": 80, + "line": 106, "column": 2 }, "end": { - "line": 91, + "line": 117, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 2280, - "end": 2287, + "start": 2967, + "end": 2974, "loc": { "start": { - "line": 80, + "line": 106, "column": 2 }, "end": { - "line": 80, + "line": 106, "column": 9 }, "identifierName": "require" @@ -3869,15 +4018,15 @@ "params": [ { "type": "Identifier", - "start": 2288, - "end": 2292, + "start": 2975, + "end": 2979, "loc": { "start": { - "line": 80, + "line": 106, "column": 10 }, "end": { - "line": 80, + "line": 106, "column": 14 }, "identifierName": "path" @@ -3887,58 +4036,58 @@ ], "body": { "type": "BlockStatement", - "start": 2294, - "end": 2543, + "start": 2981, + "end": 3230, "loc": { "start": { - "line": 80, + "line": 106, "column": 16 }, "end": { - "line": 91, + "line": 117, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2300, - "end": 2539, + "start": 2987, + "end": 3226, "loc": { "start": { - "line": 81, + "line": 107, "column": 4 }, "end": { - "line": 90, + "line": 116, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 2307, - "end": 2538, + "start": 2994, + "end": 3225, "loc": { "start": { - "line": 81, + "line": 107, "column": 11 }, "end": { - "line": 90, + "line": 116, "column": 6 } }, "callee": { "type": "Identifier", - "start": 2311, - "end": 2318, + "start": 2998, + "end": 3005, "loc": { "start": { - "line": 81, + "line": 107, "column": 15 }, "end": { - "line": 81, + "line": 107, "column": 22 }, "identifierName": "Promise" @@ -3948,15 +4097,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2319, - "end": 2537, + "start": 3006, + "end": 3224, "loc": { "start": { - "line": 81, + "line": 107, "column": 23 }, "end": { - "line": 90, + "line": 116, "column": 5 } }, @@ -3967,15 +4116,15 @@ "params": [ { "type": "Identifier", - "start": 2320, - "end": 2327, + "start": 3007, + "end": 3014, "loc": { "start": { - "line": 81, + "line": 107, "column": 24 }, "end": { - "line": 81, + "line": 107, "column": 31 }, "identifierName": "resolve" @@ -3984,15 +4133,15 @@ }, { "type": "Identifier", - "start": 2329, - "end": 2335, + "start": 3016, + "end": 3022, "loc": { "start": { - "line": 81, + "line": 107, "column": 33 }, "end": { - "line": 81, + "line": 107, "column": 39 }, "identifierName": "reject" @@ -4002,59 +4151,59 @@ ], "body": { "type": "BlockStatement", - "start": 2340, - "end": 2537, + "start": 3027, + "end": 3224, "loc": { "start": { - "line": 81, + "line": 107, "column": 44 }, "end": { - "line": 90, + "line": 116, "column": 5 } }, "body": [ { "type": "VariableDeclaration", - "start": 2348, - "end": 2373, + "start": 3035, + "end": 3060, "loc": { "start": { - "line": 82, + "line": 108, "column": 6 }, "end": { - "line": 82, + "line": 108, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2352, - "end": 2372, + "start": 3039, + "end": 3059, "loc": { "start": { - "line": 82, + "line": 108, "column": 10 }, "end": { - "line": 82, + "line": 108, "column": 30 } }, "id": { "type": "Identifier", - "start": 2352, - "end": 2356, + "start": 3039, + "end": 3043, "loc": { "start": { - "line": 82, + "line": 108, "column": 10 }, "end": { - "line": 82, + "line": 108, "column": 14 }, "identifierName": "root" @@ -4063,43 +4212,43 @@ }, "init": { "type": "CallExpression", - "start": 2359, - "end": 2372, + "start": 3046, + "end": 3059, "loc": { "start": { - "line": 82, + "line": 108, "column": 17 }, "end": { - "line": 82, + "line": 108, "column": 30 } }, "callee": { "type": "MemberExpression", - "start": 2359, - "end": 2370, + "start": 3046, + "end": 3057, "loc": { "start": { - "line": 82, + "line": 108, "column": 17 }, "end": { - "line": 82, + "line": 108, "column": 28 } }, "object": { "type": "Identifier", - "start": 2359, - "end": 2366, + "start": 3046, + "end": 3053, "loc": { "start": { - "line": 82, + "line": 108, "column": 17 }, "end": { - "line": 82, + "line": 108, "column": 24 }, "identifierName": "process" @@ -4108,15 +4257,15 @@ }, "property": { "type": "Identifier", - "start": 2367, - "end": 2370, + "start": 3054, + "end": 3057, "loc": { "start": { - "line": 82, + "line": 108, "column": 25 }, "end": { - "line": 82, + "line": 108, "column": 28 }, "identifierName": "cwd" @@ -4133,44 +4282,44 @@ }, { "type": "ExpressionStatement", - "start": 2380, - "end": 2399, + "start": 3067, + "end": 3086, "loc": { "start": { - "line": 83, + "line": 109, "column": 6 }, "end": { - "line": 83, + "line": 109, "column": 25 } }, "expression": { "type": "AssignmentExpression", - "start": 2380, - "end": 2398, + "start": 3067, + "end": 3085, "loc": { "start": { - "line": 83, + "line": 109, "column": 6 }, "end": { - "line": 83, + "line": 109, "column": 24 } }, "operator": "+=", "left": { "type": "Identifier", - "start": 2380, - "end": 2384, + "start": 3067, + "end": 3071, "loc": { "start": { - "line": 83, + "line": 109, "column": 6 }, "end": { - "line": 83, + "line": 109, "column": 10 }, "identifierName": "root" @@ -4179,30 +4328,30 @@ }, "right": { "type": "TemplateLiteral", - "start": 2388, - "end": 2398, + "start": 3075, + "end": 3085, "loc": { "start": { - "line": 83, + "line": 109, "column": 14 }, "end": { - "line": 83, + "line": 109, "column": 24 } }, "expressions": [ { "type": "Identifier", - "start": 2392, - "end": 2396, + "start": 3079, + "end": 3083, "loc": { "start": { - "line": 83, + "line": 109, "column": 18 }, "end": { - "line": 83, + "line": 109, "column": 22 }, "identifierName": "path" @@ -4213,15 +4362,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 2389, - "end": 2390, + "start": 3076, + "end": 3077, "loc": { "start": { - "line": 83, + "line": 109, "column": 15 }, "end": { - "line": 83, + "line": 109, "column": 16 } }, @@ -4233,15 +4382,15 @@ }, { "type": "TemplateElement", - "start": 2397, - "end": 2397, + "start": 3084, + "end": 3084, "loc": { "start": { - "line": 83, + "line": 109, "column": 23 }, "end": { - "line": 83, + "line": 109, "column": 23 } }, @@ -4257,73 +4406,73 @@ }, { "type": "TryStatement", - "start": 2406, - "end": 2531, + "start": 3093, + "end": 3218, "loc": { "start": { - "line": 84, + "line": 110, "column": 6 }, "end": { - "line": 89, + "line": 115, "column": 7 } }, "block": { "type": "BlockStatement", - "start": 2410, - "end": 2484, + "start": 3097, + "end": 3171, "loc": { "start": { - "line": 84, + "line": 110, "column": 10 }, "end": { - "line": 87, + "line": 113, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 2420, - "end": 2449, + "start": 3107, + "end": 3136, "loc": { "start": { - "line": 85, + "line": 111, "column": 8 }, "end": { - "line": 85, + "line": 111, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2424, - "end": 2448, + "start": 3111, + "end": 3135, "loc": { "start": { - "line": 85, + "line": 111, "column": 12 }, "end": { - "line": 85, + "line": 111, "column": 36 } }, "id": { "type": "Identifier", - "start": 2424, - "end": 2432, + "start": 3111, + "end": 3119, "loc": { "start": { - "line": 85, + "line": 111, "column": 12 }, "end": { - "line": 85, + "line": 111, "column": 20 }, "identifierName": "required" @@ -4332,29 +4481,29 @@ }, "init": { "type": "CallExpression", - "start": 2435, - "end": 2448, + "start": 3122, + "end": 3135, "loc": { "start": { - "line": 85, + "line": 111, "column": 23 }, "end": { - "line": 85, + "line": 111, "column": 36 } }, "callee": { "type": "Identifier", - "start": 2435, - "end": 2442, + "start": 3122, + "end": 3129, "loc": { "start": { - "line": 85, + "line": 111, "column": 23 }, "end": { - "line": 85, + "line": 111, "column": 30 }, "identifierName": "require" @@ -4364,15 +4513,15 @@ "arguments": [ { "type": "Identifier", - "start": 2443, - "end": 2447, + "start": 3130, + "end": 3134, "loc": { "start": { - "line": 85, + "line": 111, "column": 31 }, "end": { - "line": 85, + "line": 111, "column": 35 }, "identifierName": "root" @@ -4387,43 +4536,43 @@ }, { "type": "ExpressionStatement", - "start": 2458, - "end": 2476, + "start": 3145, + "end": 3163, "loc": { "start": { - "line": 86, + "line": 112, "column": 8 }, "end": { - "line": 86, + "line": 112, "column": 26 } }, "expression": { "type": "CallExpression", - "start": 2458, - "end": 2475, + "start": 3145, + "end": 3162, "loc": { "start": { - "line": 86, + "line": 112, "column": 8 }, "end": { - "line": 86, + "line": 112, "column": 25 } }, "callee": { "type": "Identifier", - "start": 2458, - "end": 2465, + "start": 3145, + "end": 3152, "loc": { "start": { - "line": 86, + "line": 112, "column": 8 }, "end": { - "line": 86, + "line": 112, "column": 15 }, "identifierName": "resolve" @@ -4433,15 +4582,15 @@ "arguments": [ { "type": "Identifier", - "start": 2466, - "end": 2474, + "start": 3153, + "end": 3161, "loc": { "start": { - "line": 86, + "line": 112, "column": 16 }, "end": { - "line": 86, + "line": 112, "column": 24 }, "identifierName": "required" @@ -4456,29 +4605,29 @@ }, "handler": { "type": "CatchClause", - "start": 2485, - "end": 2531, + "start": 3172, + "end": 3218, "loc": { "start": { - "line": 87, + "line": 113, "column": 8 }, "end": { - "line": 89, + "line": 115, "column": 7 } }, "param": { "type": "Identifier", - "start": 2492, - "end": 2497, + "start": 3179, + "end": 3184, "loc": { "start": { - "line": 87, + "line": 113, "column": 15 }, "end": { - "line": 87, + "line": 113, "column": 20 }, "identifierName": "error" @@ -4487,58 +4636,58 @@ }, "body": { "type": "BlockStatement", - "start": 2499, - "end": 2531, + "start": 3186, + "end": 3218, "loc": { "start": { - "line": 87, + "line": 113, "column": 22 }, "end": { - "line": 89, + "line": 115, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 2509, - "end": 2523, + "start": 3196, + "end": 3210, "loc": { "start": { - "line": 88, + "line": 114, "column": 8 }, "end": { - "line": 88, + "line": 114, "column": 22 } }, "expression": { "type": "CallExpression", - "start": 2509, - "end": 2522, + "start": 3196, + "end": 3209, "loc": { "start": { - "line": 88, + "line": 114, "column": 8 }, "end": { - "line": 88, + "line": 114, "column": 21 } }, "callee": { "type": "Identifier", - "start": 2509, - "end": 2515, + "start": 3196, + "end": 3202, "loc": { "start": { - "line": 88, + "line": 114, "column": 8 }, "end": { - "line": 88, + "line": 114, "column": 14 }, "identifierName": "reject" @@ -4548,15 +4697,15 @@ "arguments": [ { "type": "Identifier", - "start": 2516, - "end": 2521, + "start": 3203, + "end": 3208, "loc": { "start": { - "line": 88, + "line": 114, "column": 15 }, "end": { - "line": 88, + "line": 114, "column": 20 }, "identifierName": "error" @@ -4588,15 +4737,15 @@ { "type": "CommentBlock", "value": "*\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n ", - "start": 2077, - "end": 2277, + "start": 2764, + "end": 2964, "loc": { "start": { - "line": 74, + "line": 100, "column": 2 }, "end": { - "line": 79, + "line": 105, "column": 5 } } @@ -4606,15 +4755,15 @@ { "type": "CommentBlock", "value": "*\n * @return {object} value of 'backed.json'\n ", - "start": 2547, - "end": 2601, + "start": 3234, + "end": 3288, "loc": { "start": { - "line": 93, + "line": 119, "column": 2 }, "end": { - "line": 95, + "line": 121, "column": 5 } } @@ -4623,30 +4772,30 @@ }, { "type": "ClassMethod", - "start": 2604, - "end": 3740, + "start": 3291, + "end": 4401, "loc": { "start": { - "line": 96, + "line": 122, "column": 2 }, "end": { - "line": 128, + "line": 153, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 2604, - "end": 2616, + "start": 3291, + "end": 3303, "loc": { "start": { - "line": 96, + "line": 122, "column": 2 }, "end": { - "line": 96, + "line": 122, "column": 14 }, "identifierName": "importConfig" @@ -4663,58 +4812,58 @@ "params": [], "body": { "type": "BlockStatement", - "start": 2619, - "end": 3740, + "start": 3306, + "end": 4401, "loc": { "start": { - "line": 96, + "line": 122, "column": 17 }, "end": { - "line": 128, + "line": 153, "column": 3 } }, "body": [ { "type": "ReturnStatement", - "start": 2625, - "end": 3736, + "start": 3312, + "end": 4397, "loc": { "start": { - "line": 97, + "line": 123, "column": 4 }, "end": { - "line": 127, + "line": 152, "column": 7 } }, "argument": { "type": "NewExpression", - "start": 2632, - "end": 3735, + "start": 3319, + "end": 4396, "loc": { "start": { - "line": 97, + "line": 123, "column": 11 }, "end": { - "line": 127, + "line": 152, "column": 6 } }, "callee": { "type": "Identifier", - "start": 2636, - "end": 2643, + "start": 3323, + "end": 3330, "loc": { "start": { - "line": 97, + "line": 123, "column": 15 }, "end": { - "line": 97, + "line": 123, "column": 22 }, "identifierName": "Promise" @@ -4724,15 +4873,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2644, - "end": 3734, + "start": 3331, + "end": 4395, "loc": { "start": { - "line": 97, + "line": 123, "column": 23 }, "end": { - "line": 127, + "line": 152, "column": 5 } }, @@ -4743,15 +4892,15 @@ "params": [ { "type": "Identifier", - "start": 2645, - "end": 2652, + "start": 3332, + "end": 3339, "loc": { "start": { - "line": 97, + "line": 123, "column": 24 }, "end": { - "line": 97, + "line": 123, "column": 31 }, "identifierName": "resolve" @@ -4760,15 +4909,15 @@ }, { "type": "Identifier", - "start": 2654, - "end": 2660, + "start": 3341, + "end": 3347, "loc": { "start": { - "line": 97, + "line": 123, "column": 33 }, "end": { - "line": 97, + "line": 123, "column": 39 }, "identifierName": "reject" @@ -4778,66 +4927,66 @@ ], "body": { "type": "BlockStatement", - "start": 2665, - "end": 3734, + "start": 3352, + "end": 4395, "loc": { "start": { - "line": 97, + "line": 123, "column": 44 }, "end": { - "line": 127, + "line": 152, "column": 5 } }, "body": [ { "type": "FunctionDeclaration", - "start": 2673, - "end": 3669, + "start": 3360, + "end": 4358, "loc": { "start": { - "line": 98, + "line": 124, "column": 6 }, "end": { - "line": 124, + "line": 150, "column": 7 } }, "id": { "type": "Identifier", - "start": 2690, - "end": 2699, + "start": 3375, + "end": 3384, "loc": { "start": { - "line": 98, - "column": 23 + "line": 124, + "column": 21 }, "end": { - "line": 98, - "column": 32 + "line": 124, + "column": 30 }, "identifierName": "generator" }, "name": "generator" }, - "generator": true, + "generator": false, "expression": false, "async": true, "params": [ { "type": "Identifier", - "start": 2700, - "end": 2702, + "start": 3385, + "end": 3387, "loc": { "start": { - "line": 98, - "column": 33 + "line": 124, + "column": 31 }, "end": { - "line": 98, - "column": 35 + "line": 124, + "column": 33 }, "identifierName": "fn" }, @@ -4846,59 +4995,59 @@ ], "body": { "type": "BlockStatement", - "start": 2704, - "end": 3669, + "start": 3389, + "end": 4358, "loc": { "start": { - "line": 98, - "column": 37 + "line": 124, + "column": 35 }, "end": { - "line": 124, + "line": 150, "column": 7 } }, "body": [ { "type": "VariableDeclaration", - "start": 2714, - "end": 2853, + "start": 3399, + "end": 3539, "loc": { "start": { - "line": 99, + "line": 125, "column": 8 }, "end": { - "line": 103, + "line": 129, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2720, - "end": 2852, + "start": 3405, + "end": 3538, "loc": { "start": { - "line": 99, + "line": 125, "column": 14 }, "end": { - "line": 103, + "line": 129, "column": 10 } }, "id": { "type": "Identifier", - "start": 2720, - "end": 2723, + "start": 3405, + "end": 3408, "loc": { "start": { - "line": 99, + "line": 125, "column": 14 }, "end": { - "line": 99, + "line": 125, "column": 17 }, "identifierName": "pkg" @@ -4907,71 +5056,71 @@ }, "init": { "type": "AwaitExpression", - "start": 2726, - "end": 2852, + "start": 3411, + "end": 3538, "loc": { "start": { - "line": 99, + "line": 125, "column": 20 }, "end": { - "line": 103, + "line": 129, "column": 10 } }, "argument": { "type": "CallExpression", - "start": 2732, - "end": 2852, + "start": 3417, + "end": 3538, "loc": { "start": { - "line": 99, + "line": 125, "column": 26 }, "end": { - "line": 103, + "line": 129, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 2732, - "end": 2756, + "start": 3417, + "end": 3441, "loc": { "start": { - "line": 99, + "line": 125, "column": 26 }, "end": { - "line": 99, + "line": 125, "column": 50 } }, "object": { "type": "CallExpression", - "start": 2732, - "end": 2750, + "start": 3417, + "end": 3435, "loc": { "start": { - "line": 99, + "line": 125, "column": 26 }, "end": { - "line": 99, + "line": 125, "column": 44 } }, "callee": { "type": "Identifier", - "start": 2732, - "end": 2734, + "start": 3417, + "end": 3419, "loc": { "start": { - "line": 99, + "line": 125, "column": 26 }, "end": { - "line": 99, + "line": 125, "column": 28 }, "identifierName": "fn" @@ -4981,15 +5130,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2735, - "end": 2749, + "start": 3420, + "end": 3434, "loc": { "start": { - "line": 99, + "line": 125, "column": 29 }, "end": { - "line": 99, + "line": 125, "column": 43 } }, @@ -5003,15 +5152,15 @@ }, "property": { "type": "Identifier", - "start": 2751, - "end": 2756, + "start": 3436, + "end": 3441, "loc": { "start": { - "line": 99, + "line": 125, "column": 45 }, "end": { - "line": 99, + "line": 125, "column": 50 }, "identifierName": "catch" @@ -5023,15 +5172,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2757, - "end": 2851, + "start": 3442, + "end": 3537, "loc": { "start": { - "line": 99, + "line": 125, "column": 51 }, "end": { - "line": 103, + "line": 129, "column": 9 } }, @@ -5042,15 +5191,15 @@ "params": [ { "type": "Identifier", - "start": 2757, - "end": 2762, + "start": 3442, + "end": 3447, "loc": { "start": { - "line": 99, + "line": 125, "column": 51 }, "end": { - "line": 99, + "line": 125, "column": 56 }, "identifierName": "error" @@ -5060,58 +5209,58 @@ ], "body": { "type": "BlockStatement", - "start": 2766, - "end": 2851, + "start": 3451, + "end": 3537, "loc": { "start": { - "line": 99, + "line": 125, "column": 60 }, "end": { - "line": 103, + "line": 129, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 2778, - "end": 2841, + "start": 3463, + "end": 3527, "loc": { "start": { - "line": 100, + "line": 126, "column": 10 }, "end": { - "line": 102, + "line": 128, "column": 11 } }, "test": { "type": "MemberExpression", - "start": 2782, - "end": 2794, + "start": 3467, + "end": 3479, "loc": { "start": { - "line": 100, + "line": 126, "column": 14 }, "end": { - "line": 100, + "line": 126, "column": 26 } }, "object": { "type": "Identifier", - "start": 2782, - "end": 2788, + "start": 3467, + "end": 3473, "loc": { "start": { - "line": 100, + "line": 126, "column": 14 }, "end": { - "line": 100, + "line": 126, "column": 20 }, "identifierName": "global" @@ -5120,15 +5269,15 @@ }, "property": { "type": "Identifier", - "start": 2789, - "end": 2794, + "start": 3474, + "end": 3479, "loc": { "start": { - "line": 100, + "line": 126, "column": 21 }, "end": { - "line": 100, + "line": 126, "column": 26 }, "identifierName": "debug" @@ -5139,72 +5288,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 2796, - "end": 2841, + "start": 3481, + "end": 3527, "loc": { "start": { - "line": 100, + "line": 126, "column": 28 }, "end": { - "line": 102, + "line": 128, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 2810, - "end": 2829, + "start": 3495, + "end": 3515, "loc": { "start": { - "line": 101, + "line": 127, "column": 12 }, "end": { - "line": 101, - "column": 31 + "line": 127, + "column": 32 } }, "expression": { "type": "CallExpression", - "start": 2810, - "end": 2829, + "start": 3495, + "end": 3514, "loc": { "start": { - "line": 101, + "line": 127, "column": 12 }, "end": { - "line": 101, + "line": 127, "column": 31 } }, "callee": { "type": "MemberExpression", - "start": 2810, - "end": 2822, + "start": 3495, + "end": 3507, "loc": { "start": { - "line": 101, + "line": 127, "column": 12 }, "end": { - "line": 101, + "line": 127, "column": 24 } }, "object": { "type": "Identifier", - "start": 2810, - "end": 2816, + "start": 3495, + "end": 3501, "loc": { "start": { - "line": 101, + "line": 127, "column": 12 }, "end": { - "line": 101, + "line": 127, "column": 18 }, "identifierName": "logger" @@ -5213,15 +5362,15 @@ }, "property": { "type": "Identifier", - "start": 2817, - "end": 2822, + "start": 3502, + "end": 3507, "loc": { "start": { - "line": 101, + "line": 127, "column": 19 }, "end": { - "line": 101, + "line": 127, "column": 24 }, "identifierName": "error" @@ -5233,15 +5382,15 @@ "arguments": [ { "type": "Identifier", - "start": 2823, - "end": 2828, + "start": 3508, + "end": 3513, "loc": { "start": { - "line": 101, + "line": 127, "column": 25 }, "end": { - "line": 101, + "line": 127, "column": 30 }, "identifierName": "error" @@ -5269,44 +5418,44 @@ }, { "type": "VariableDeclaration", - "start": 2862, - "end": 3068, + "start": 3548, + "end": 3755, "loc": { "start": { - "line": 104, + "line": 130, "column": 8 }, "end": { - "line": 108, + "line": 134, "column": 11 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 2868, - "end": 3067, + "start": 3554, + "end": 3754, "loc": { "start": { - "line": 104, + "line": 130, "column": 14 }, "end": { - "line": 108, + "line": 134, "column": 10 } }, "id": { "type": "Identifier", - "start": 2868, - "end": 2874, + "start": 3554, + "end": 3560, "loc": { "start": { - "line": 104, + "line": 130, "column": 14 }, "end": { - "line": 104, + "line": 130, "column": 20 }, "identifierName": "config" @@ -5315,71 +5464,71 @@ }, "init": { "type": "AwaitExpression", - "start": 2877, - "end": 3067, + "start": 3563, + "end": 3754, "loc": { "start": { - "line": 104, + "line": 130, "column": 23 }, "end": { - "line": 108, + "line": 134, "column": 10 } }, "argument": { "type": "CallExpression", - "start": 2883, - "end": 3067, + "start": 3569, + "end": 3754, "loc": { "start": { - "line": 104, + "line": 130, "column": 29 }, "end": { - "line": 108, + "line": 134, "column": 10 } }, "callee": { "type": "MemberExpression", - "start": 2883, - "end": 2906, + "start": 3569, + "end": 3592, "loc": { "start": { - "line": 104, + "line": 130, "column": 29 }, "end": { - "line": 104, + "line": 130, "column": 52 } }, "object": { "type": "CallExpression", - "start": 2883, - "end": 2900, + "start": 3569, + "end": 3586, "loc": { "start": { - "line": 104, + "line": 130, "column": 29 }, "end": { - "line": 104, + "line": 130, "column": 46 } }, "callee": { "type": "Identifier", - "start": 2883, - "end": 2885, + "start": 3569, + "end": 3571, "loc": { "start": { - "line": 104, + "line": 130, "column": 29 }, "end": { - "line": 104, + "line": 130, "column": 31 }, "identifierName": "fn" @@ -5389,15 +5538,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2886, - "end": 2899, + "start": 3572, + "end": 3585, "loc": { "start": { - "line": 104, + "line": 130, "column": 32 }, "end": { - "line": 104, + "line": 130, "column": 45 } }, @@ -5411,15 +5560,15 @@ }, "property": { "type": "Identifier", - "start": 2901, - "end": 2906, + "start": 3587, + "end": 3592, "loc": { "start": { - "line": 104, + "line": 130, "column": 47 }, "end": { - "line": 104, + "line": 130, "column": 52 }, "identifierName": "catch" @@ -5431,15 +5580,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 2907, - "end": 3066, + "start": 3593, + "end": 3753, "loc": { "start": { - "line": 104, + "line": 130, "column": 53 }, "end": { - "line": 108, + "line": 134, "column": 9 } }, @@ -5450,15 +5599,15 @@ "params": [ { "type": "Identifier", - "start": 2907, - "end": 2912, + "start": 3593, + "end": 3598, "loc": { "start": { - "line": 104, + "line": 130, "column": 53 }, "end": { - "line": 104, + "line": 130, "column": 58 }, "identifierName": "error" @@ -5468,58 +5617,58 @@ ], "body": { "type": "BlockStatement", - "start": 2916, - "end": 3066, + "start": 3602, + "end": 3753, "loc": { "start": { - "line": 104, + "line": 130, "column": 62 }, "end": { - "line": 108, + "line": 134, "column": 9 } }, "body": [ { "type": "IfStatement", - "start": 2928, - "end": 3056, + "start": 3614, + "end": 3743, "loc": { "start": { - "line": 105, + "line": 131, "column": 10 }, "end": { - "line": 107, + "line": 133, "column": 11 } }, "test": { "type": "MemberExpression", - "start": 2932, - "end": 2944, + "start": 3618, + "end": 3630, "loc": { "start": { - "line": 105, + "line": 131, "column": 14 }, "end": { - "line": 105, + "line": 131, "column": 26 } }, "object": { "type": "Identifier", - "start": 2932, - "end": 2938, + "start": 3618, + "end": 3624, "loc": { "start": { - "line": 105, + "line": 131, "column": 14 }, "end": { - "line": 105, + "line": 131, "column": 20 }, "identifierName": "global" @@ -5528,15 +5677,15 @@ }, "property": { "type": "Identifier", - "start": 2939, - "end": 2944, + "start": 3625, + "end": 3630, "loc": { "start": { - "line": 105, + "line": 131, "column": 21 }, "end": { - "line": 105, + "line": 131, "column": 26 }, "identifierName": "debug" @@ -5547,72 +5696,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 2946, - "end": 3056, + "start": 3632, + "end": 3743, "loc": { "start": { - "line": 105, + "line": 131, "column": 28 }, "end": { - "line": 107, + "line": 133, "column": 11 } }, "body": [ { "type": "ExpressionStatement", - "start": 2960, - "end": 3044, + "start": 3646, + "end": 3731, "loc": { "start": { - "line": 106, + "line": 132, "column": 12 }, "end": { - "line": 106, - "column": 96 + "line": 132, + "column": 97 } }, "expression": { "type": "CallExpression", - "start": 2960, - "end": 3044, + "start": 3646, + "end": 3730, "loc": { "start": { - "line": 106, + "line": 132, "column": 12 }, "end": { - "line": 106, + "line": 132, "column": 96 } }, "callee": { "type": "MemberExpression", - "start": 2960, - "end": 2971, + "start": 3646, + "end": 3657, "loc": { "start": { - "line": 106, + "line": 132, "column": 12 }, "end": { - "line": 106, + "line": 132, "column": 23 } }, "object": { "type": "Identifier", - "start": 2960, - "end": 2966, + "start": 3646, + "end": 3652, "loc": { "start": { - "line": 106, + "line": 132, "column": 12 }, "end": { - "line": 106, + "line": 132, "column": 18 }, "identifierName": "logger" @@ -5621,15 +5770,15 @@ }, "property": { "type": "Identifier", - "start": 2967, - "end": 2971, + "start": 3653, + "end": 3657, "loc": { "start": { - "line": 106, + "line": 132, "column": 19 }, "end": { - "line": 106, + "line": 132, "column": 23 }, "identifierName": "warn" @@ -5641,15 +5790,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 2972, - "end": 3043, + "start": 3658, + "end": 3729, "loc": { "start": { - "line": 106, + "line": 132, "column": 24 }, "end": { - "line": 106, + "line": 132, "column": 95 } }, @@ -5680,43 +5829,43 @@ }, { "type": "IfStatement", - "start": 3077, - "end": 3257, + "start": 3764, + "end": 3944, "loc": { "start": { - "line": 109, + "line": 135, "column": 8 }, "end": { - "line": 112, + "line": 138, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 3081, - "end": 3096, + "start": 3768, + "end": 3783, "loc": { "start": { - "line": 109, + "line": 135, "column": 12 }, "end": { - "line": 109, + "line": 135, "column": 27 } }, "left": { "type": "UnaryExpression", - "start": 3081, - "end": 3088, + "start": 3768, + "end": 3775, "loc": { "start": { - "line": 109, + "line": 135, "column": 12 }, "end": { - "line": 109, + "line": 135, "column": 19 } }, @@ -5724,15 +5873,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3082, - "end": 3088, + "start": 3769, + "end": 3775, "loc": { "start": { - "line": 109, + "line": 135, "column": 13 }, "end": { - "line": 109, + "line": 135, "column": 19 }, "identifierName": "config" @@ -5746,15 +5895,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3092, - "end": 3096, + "start": 3779, + "end": 3783, "loc": { "start": { - "line": 109, + "line": 135, "column": 23 }, "end": { - "line": 109, + "line": 135, "column": 27 } }, @@ -5762,15 +5911,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3093, - "end": 3096, + "start": 3780, + "end": 3783, "loc": { "start": { - "line": 109, + "line": 135, "column": 24 }, "end": { - "line": 109, + "line": 135, "column": 27 }, "identifierName": "pkg" @@ -5784,72 +5933,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 3098, - "end": 3257, + "start": 3785, + "end": 3944, "loc": { "start": { - "line": 109, + "line": 135, "column": 29 }, "end": { - "line": 112, + "line": 138, "column": 9 } }, "body": [ { "type": "ExpressionStatement", - "start": 3110, - "end": 3198, + "start": 3797, + "end": 3885, "loc": { "start": { - "line": 110, + "line": 136, "column": 10 }, "end": { - "line": 110, + "line": 136, "column": 98 } }, "expression": { "type": "CallExpression", - "start": 3110, - "end": 3197, + "start": 3797, + "end": 3884, "loc": { "start": { - "line": 110, + "line": 136, "column": 10 }, "end": { - "line": 110, + "line": 136, "column": 97 } }, "callee": { "type": "MemberExpression", - "start": 3110, - "end": 3121, + "start": 3797, + "end": 3808, "loc": { "start": { - "line": 110, + "line": 136, "column": 10 }, "end": { - "line": 110, + "line": 136, "column": 21 } }, "object": { "type": "Identifier", - "start": 3110, - "end": 3116, + "start": 3797, + "end": 3803, "loc": { "start": { - "line": 110, + "line": 136, "column": 10 }, "end": { - "line": 110, + "line": 136, "column": 16 }, "identifierName": "logger" @@ -5858,15 +6007,15 @@ }, "property": { "type": "Identifier", - "start": 3117, - "end": 3121, + "start": 3804, + "end": 3808, "loc": { "start": { - "line": 110, + "line": 136, "column": 17 }, "end": { - "line": 110, + "line": 136, "column": 21 }, "identifierName": "warn" @@ -5878,15 +6027,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3122, - "end": 3196, + "start": 3809, + "end": 3883, "loc": { "start": { - "line": 110, + "line": 136, "column": 22 }, "end": { - "line": 110, + "line": 136, "column": 96 } }, @@ -5901,43 +6050,43 @@ }, { "type": "ReturnStatement", - "start": 3209, - "end": 3247, + "start": 3896, + "end": 3934, "loc": { "start": { - "line": 111, + "line": 137, "column": 10 }, "end": { - "line": 111, + "line": 137, "column": 48 } }, "argument": { "type": "CallExpression", - "start": 3216, - "end": 3246, + "start": 3903, + "end": 3933, "loc": { "start": { - "line": 111, + "line": 137, "column": 17 }, "end": { - "line": 111, + "line": 137, "column": 47 } }, "callee": { "type": "Identifier", - "start": 3216, - "end": 3223, + "start": 3903, + "end": 3910, "loc": { "start": { - "line": 111, + "line": 137, "column": 17 }, "end": { - "line": 111, + "line": 137, "column": 24 }, "identifierName": "resolve" @@ -5947,30 +6096,30 @@ "arguments": [ { "type": "ObjectExpression", - "start": 3224, - "end": 3245, + "start": 3911, + "end": 3932, "loc": { "start": { - "line": 111, + "line": 137, "column": 25 }, "end": { - "line": 111, + "line": 137, "column": 46 } }, "properties": [ { "type": "ObjectProperty", - "start": 3225, - "end": 3244, + "start": 3912, + "end": 3931, "loc": { "start": { - "line": 111, + "line": 137, "column": 26 }, "end": { - "line": 111, + "line": 137, "column": 45 } }, @@ -5979,15 +6128,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3225, - "end": 3229, + "start": 3912, + "end": 3916, "loc": { "start": { - "line": 111, + "line": 137, "column": 26 }, "end": { - "line": 111, + "line": 137, "column": 30 }, "identifierName": "name" @@ -5996,43 +6145,43 @@ }, "value": { "type": "CallExpression", - "start": 3231, - "end": 3244, + "start": 3918, + "end": 3931, "loc": { "start": { - "line": 111, + "line": 137, "column": 32 }, "end": { - "line": 111, + "line": 137, "column": 45 } }, "callee": { "type": "MemberExpression", - "start": 3231, - "end": 3242, + "start": 3918, + "end": 3929, "loc": { "start": { - "line": 111, + "line": 137, "column": 32 }, "end": { - "line": 111, + "line": 137, "column": 43 } }, "object": { "type": "Identifier", - "start": 3231, - "end": 3238, + "start": 3918, + "end": 3925, "loc": { "start": { - "line": 111, + "line": 137, "column": 32 }, "end": { - "line": 111, + "line": 137, "column": 39 }, "identifierName": "process" @@ -6041,15 +6190,15 @@ }, "property": { "type": "Identifier", - "start": 3239, - "end": 3242, + "start": 3926, + "end": 3929, "loc": { "start": { - "line": 111, + "line": 137, "column": 40 }, "end": { - "line": 111, + "line": 137, "column": 43 }, "identifierName": "cwd" @@ -6073,29 +6222,29 @@ }, { "type": "IfStatement", - "start": 3266, - "end": 3556, + "start": 3953, + "end": 4244, "loc": { "start": { - "line": 113, + "line": 139, "column": 8 }, "end": { - "line": 120, + "line": 146, "column": 9 } }, "test": { "type": "Identifier", - "start": 3270, - "end": 3276, + "start": 3957, + "end": 3963, "loc": { "start": { - "line": 113, + "line": 139, "column": 12 }, "end": { - "line": 113, + "line": 139, "column": 18 }, "identifierName": "config" @@ -6104,59 +6253,59 @@ }, "consequent": { "type": "BlockStatement", - "start": 3278, - "end": 3556, + "start": 3965, + "end": 4244, "loc": { "start": { - "line": 113, + "line": 139, "column": 20 }, "end": { - "line": 120, + "line": 146, "column": 9 } }, "body": [ { "type": "VariableDeclaration", - "start": 3290, - "end": 3313, + "start": 3977, + "end": 4000, "loc": { "start": { - "line": 114, + "line": 140, "column": 10 }, "end": { - "line": 114, + "line": 140, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 3294, - "end": 3312, + "start": 3981, + "end": 3999, "loc": { "start": { - "line": 114, + "line": 140, "column": 14 }, "end": { - "line": 114, + "line": 140, "column": 32 } }, "id": { "type": "Identifier", - "start": 3294, - "end": 3298, + "start": 3981, + "end": 3985, "loc": { "start": { - "line": 114, + "line": 140, "column": 14 }, "end": { - "line": 114, + "line": 140, "column": 18 }, "identifierName": "name" @@ -6165,29 +6314,29 @@ }, "init": { "type": "MemberExpression", - "start": 3301, - "end": 3312, + "start": 3988, + "end": 3999, "loc": { "start": { - "line": 114, + "line": 140, "column": 21 }, "end": { - "line": 114, + "line": 140, "column": 32 } }, "object": { "type": "Identifier", - "start": 3301, - "end": 3307, + "start": 3988, + "end": 3994, "loc": { "start": { - "line": 114, + "line": 140, "column": 21 }, "end": { - "line": 114, + "line": 140, "column": 27 }, "identifierName": "config" @@ -6196,15 +6345,15 @@ }, "property": { "type": "Identifier", - "start": 3308, - "end": 3312, + "start": 3995, + "end": 3999, "loc": { "start": { - "line": 114, + "line": 140, "column": 28 }, "end": { - "line": 114, + "line": 140, "column": 32 }, "identifierName": "name" @@ -6219,71 +6368,71 @@ }, { "type": "IfStatement", - "start": 3324, - "end": 3546, + "start": 4011, + "end": 4234, "loc": { "start": { - "line": 115, + "line": 141, "column": 10 }, "end": { - "line": 119, + "line": 145, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 3328, - "end": 3367, + "start": 4015, + "end": 4054, "loc": { "start": { - "line": 115, + "line": 141, "column": 14 }, "end": { - "line": 115, + "line": 141, "column": 53 } }, "left": { "type": "LogicalExpression", - "start": 3328, - "end": 3352, + "start": 4015, + "end": 4039, "loc": { "start": { - "line": 115, + "line": 141, "column": 14 }, "end": { - "line": 115, + "line": 141, "column": 38 } }, "left": { "type": "LogicalExpression", - "start": 3328, - "end": 3340, + "start": 4015, + "end": 4027, "loc": { "start": { - "line": 115, + "line": 141, "column": 14 }, "end": { - "line": 115, + "line": 141, "column": 26 } }, "left": { "type": "UnaryExpression", - "start": 3328, - "end": 3333, + "start": 4015, + "end": 4020, "loc": { "start": { - "line": 115, + "line": 141, "column": 14 }, "end": { - "line": 115, + "line": 141, "column": 19 } }, @@ -6291,15 +6440,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3329, - "end": 3333, + "start": 4016, + "end": 4020, "loc": { "start": { - "line": 115, + "line": 141, "column": 15 }, "end": { - "line": 115, + "line": 141, "column": 19 }, "identifierName": "name" @@ -6313,15 +6462,15 @@ "operator": "&&", "right": { "type": "Identifier", - "start": 3337, - "end": 3340, + "start": 4024, + "end": 4027, "loc": { "start": { - "line": 115, + "line": 141, "column": 23 }, "end": { - "line": 115, + "line": 141, "column": 26 }, "identifierName": "pkg" @@ -6332,29 +6481,29 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 3344, - "end": 3352, + "start": 4031, + "end": 4039, "loc": { "start": { - "line": 115, + "line": 141, "column": 30 }, "end": { - "line": 115, + "line": 141, "column": 38 } }, "object": { "type": "Identifier", - "start": 3344, - "end": 3347, + "start": 4031, + "end": 4034, "loc": { "start": { - "line": 115, + "line": 141, "column": 30 }, "end": { - "line": 115, + "line": 141, "column": 33 }, "identifierName": "pkg" @@ -6363,15 +6512,15 @@ }, "property": { "type": "Identifier", - "start": 3348, - "end": 3352, + "start": 4035, + "end": 4039, "loc": { "start": { - "line": 115, + "line": 141, "column": 34 }, "end": { - "line": 115, + "line": 141, "column": 38 }, "identifierName": "name" @@ -6384,15 +6533,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3356, - "end": 3367, + "start": 4043, + "end": 4054, "loc": { "start": { - "line": 115, + "line": 141, "column": 42 }, "end": { - "line": 115, + "line": 141, "column": 53 } }, @@ -6400,29 +6549,29 @@ "prefix": true, "argument": { "type": "MemberExpression", - "start": 3357, - "end": 3367, + "start": 4044, + "end": 4054, "loc": { "start": { - "line": 115, + "line": 141, "column": 43 }, "end": { - "line": 115, + "line": 141, "column": 53 } }, "object": { "type": "Identifier", - "start": 3357, - "end": 3360, + "start": 4044, + "end": 4047, "loc": { "start": { - "line": 115, + "line": 141, "column": 43 }, "end": { - "line": 115, + "line": 141, "column": 46 }, "identifierName": "pkg" @@ -6431,15 +6580,15 @@ }, "property": { "type": "Identifier", - "start": 3361, - "end": 3367, + "start": 4048, + "end": 4054, "loc": { "start": { - "line": 115, + "line": 141, "column": 47 }, "end": { - "line": 115, + "line": 141, "column": 53 }, "identifierName": "backed" @@ -6455,58 +6604,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 3369, - "end": 3443, + "start": 4056, + "end": 4130, "loc": { "start": { - "line": 115, + "line": 141, "column": 55 }, "end": { - "line": 117, + "line": 143, "column": 11 } }, "body": [ { "type": "ReturnStatement", - "start": 3383, - "end": 3431, + "start": 4070, + "end": 4118, "loc": { "start": { - "line": 116, + "line": 142, "column": 12 }, "end": { - "line": 116, + "line": 142, "column": 60 } }, "argument": { "type": "CallExpression", - "start": 3390, - "end": 3430, + "start": 4077, + "end": 4117, "loc": { "start": { - "line": 116, + "line": 142, "column": 19 }, "end": { - "line": 116, + "line": 142, "column": 59 } }, "callee": { "type": "Identifier", - "start": 3390, - "end": 3397, + "start": 4077, + "end": 4084, "loc": { "start": { - "line": 116, + "line": 142, "column": 19 }, "end": { - "line": 116, + "line": 142, "column": 26 }, "identifierName": "resolve" @@ -6516,29 +6665,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3398, - "end": 3429, + "start": 4085, + "end": 4116, "loc": { "start": { - "line": 116, + "line": 142, "column": 27 }, "end": { - "line": 116, + "line": 142, "column": 58 } }, "callee": { "type": "Identifier", - "start": 3398, - "end": 3403, + "start": 4085, + "end": 4090, "loc": { "start": { - "line": 116, + "line": 142, "column": 27 }, "end": { - "line": 116, + "line": 142, "column": 32 }, "identifierName": "merge" @@ -6548,15 +6697,15 @@ "arguments": [ { "type": "Identifier", - "start": 3404, - "end": 3410, + "start": 4091, + "end": 4097, "loc": { "start": { - "line": 116, + "line": 142, "column": 33 }, "end": { - "line": 116, + "line": 142, "column": 39 }, "identifierName": "config" @@ -6565,30 +6714,30 @@ }, { "type": "ObjectExpression", - "start": 3412, - "end": 3428, + "start": 4099, + "end": 4115, "loc": { "start": { - "line": 116, + "line": 142, "column": 41 }, "end": { - "line": 116, + "line": 142, "column": 57 } }, "properties": [ { "type": "ObjectProperty", - "start": 3413, - "end": 3427, + "start": 4100, + "end": 4114, "loc": { "start": { - "line": 116, + "line": 142, "column": 42 }, "end": { - "line": 116, + "line": 142, "column": 56 } }, @@ -6597,15 +6746,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3413, - "end": 3417, + "start": 4100, + "end": 4104, "loc": { "start": { - "line": 116, + "line": 142, "column": 42 }, "end": { - "line": 116, + "line": 142, "column": 46 }, "identifierName": "name" @@ -6614,29 +6763,29 @@ }, "value": { "type": "MemberExpression", - "start": 3419, - "end": 3427, + "start": 4106, + "end": 4114, "loc": { "start": { - "line": 116, + "line": 142, "column": 48 }, "end": { - "line": 116, + "line": 142, "column": 56 } }, "object": { "type": "Identifier", - "start": 3419, - "end": 3422, + "start": 4106, + "end": 4109, "loc": { "start": { - "line": 116, + "line": 142, "column": 48 }, "end": { - "line": 116, + "line": 142, "column": 51 }, "identifierName": "pkg" @@ -6645,15 +6794,15 @@ }, "property": { "type": "Identifier", - "start": 3423, - "end": 3427, + "start": 4110, + "end": 4114, "loc": { "start": { - "line": 116, + "line": 142, "column": 52 }, "end": { - "line": 116, + "line": 142, "column": 56 }, "identifierName": "name" @@ -6675,43 +6824,43 @@ }, "alternate": { "type": "IfStatement", - "start": 3449, - "end": 3546, + "start": 4136, + "end": 4234, "loc": { "start": { - "line": 117, + "line": 143, "column": 17 }, "end": { - "line": 119, + "line": 145, "column": 11 } }, "test": { "type": "LogicalExpression", - "start": 3453, - "end": 3466, + "start": 4140, + "end": 4153, "loc": { "start": { - "line": 117, + "line": 143, "column": 21 }, "end": { - "line": 117, + "line": 143, "column": 34 } }, "left": { "type": "UnaryExpression", - "start": 3453, - "end": 3458, + "start": 4140, + "end": 4145, "loc": { "start": { - "line": 117, + "line": 143, "column": 21 }, "end": { - "line": 117, + "line": 143, "column": 26 } }, @@ -6719,15 +6868,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3454, - "end": 3458, + "start": 4141, + "end": 4145, "loc": { "start": { - "line": 117, + "line": 143, "column": 22 }, "end": { - "line": 117, + "line": 143, "column": 26 }, "identifierName": "name" @@ -6741,15 +6890,15 @@ "operator": "&&", "right": { "type": "UnaryExpression", - "start": 3462, - "end": 3466, + "start": 4149, + "end": 4153, "loc": { "start": { - "line": 117, + "line": 143, "column": 30 }, "end": { - "line": 117, + "line": 143, "column": 34 } }, @@ -6757,15 +6906,15 @@ "prefix": true, "argument": { "type": "Identifier", - "start": 3463, - "end": 3466, + "start": 4150, + "end": 4153, "loc": { "start": { - "line": 117, + "line": 143, "column": 31 }, "end": { - "line": 117, + "line": 143, "column": 34 }, "identifierName": "pkg" @@ -6779,58 +6928,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 3468, - "end": 3546, + "start": 4155, + "end": 4234, "loc": { "start": { - "line": 117, + "line": 143, "column": 36 }, "end": { - "line": 119, + "line": 145, "column": 11 } }, "body": [ { "type": "ReturnStatement", - "start": 3482, - "end": 3534, + "start": 4169, + "end": 4222, "loc": { "start": { - "line": 118, + "line": 144, "column": 12 }, "end": { - "line": 118, - "column": 64 + "line": 144, + "column": 65 } }, "argument": { "type": "CallExpression", - "start": 3489, - "end": 3534, + "start": 4176, + "end": 4221, "loc": { "start": { - "line": 118, + "line": 144, "column": 19 }, "end": { - "line": 118, + "line": 144, "column": 64 } }, "callee": { "type": "Identifier", - "start": 3489, - "end": 3496, + "start": 4176, + "end": 4183, "loc": { "start": { - "line": 118, + "line": 144, "column": 19 }, "end": { - "line": 118, + "line": 144, "column": 26 }, "identifierName": "resolve" @@ -6840,29 +6989,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3497, - "end": 3533, + "start": 4184, + "end": 4220, "loc": { "start": { - "line": 118, + "line": 144, "column": 27 }, "end": { - "line": 118, + "line": 144, "column": 63 } }, "callee": { "type": "Identifier", - "start": 3497, - "end": 3502, + "start": 4184, + "end": 4189, "loc": { "start": { - "line": 118, + "line": 144, "column": 27 }, "end": { - "line": 118, + "line": 144, "column": 32 }, "identifierName": "merge" @@ -6872,15 +7021,15 @@ "arguments": [ { "type": "Identifier", - "start": 3503, - "end": 3509, + "start": 4190, + "end": 4196, "loc": { "start": { - "line": 118, + "line": 144, "column": 33 }, "end": { - "line": 118, + "line": 144, "column": 39 }, "identifierName": "config" @@ -6889,30 +7038,30 @@ }, { "type": "ObjectExpression", - "start": 3511, - "end": 3532, + "start": 4198, + "end": 4219, "loc": { "start": { - "line": 118, + "line": 144, "column": 41 }, "end": { - "line": 118, + "line": 144, "column": 62 } }, "properties": [ { "type": "ObjectProperty", - "start": 3512, - "end": 3531, + "start": 4199, + "end": 4218, "loc": { "start": { - "line": 118, + "line": 144, "column": 42 }, "end": { - "line": 118, + "line": 144, "column": 61 } }, @@ -6921,15 +7070,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3512, - "end": 3516, + "start": 4199, + "end": 4203, "loc": { "start": { - "line": 118, + "line": 144, "column": 42 }, "end": { - "line": 118, + "line": 144, "column": 46 }, "identifierName": "name" @@ -6938,43 +7087,43 @@ }, "value": { "type": "CallExpression", - "start": 3518, - "end": 3531, + "start": 4205, + "end": 4218, "loc": { "start": { - "line": 118, + "line": 144, "column": 48 }, "end": { - "line": 118, + "line": 144, "column": 61 } }, "callee": { "type": "MemberExpression", - "start": 3518, - "end": 3529, + "start": 4205, + "end": 4216, "loc": { "start": { - "line": 118, + "line": 144, "column": 48 }, "end": { - "line": 118, + "line": 144, "column": 59 } }, "object": { "type": "Identifier", - "start": 3518, - "end": 3525, + "start": 4205, + "end": 4212, "loc": { "start": { - "line": 118, + "line": 144, "column": 48 }, "end": { - "line": 118, + "line": 144, "column": 55 }, "identifierName": "process" @@ -6983,15 +7132,15 @@ }, "property": { "type": "Identifier", - "start": 3526, - "end": 3529, + "start": 4213, + "end": 4216, "loc": { "start": { - "line": 118, + "line": 144, "column": 56 }, "end": { - "line": 118, + "line": 144, "column": 59 }, "identifierName": "cwd" @@ -7023,44 +7172,44 @@ }, { "type": "IfStatement", - "start": 3565, - "end": 3661, + "start": 4253, + "end": 4350, "loc": { "start": { - "line": 121, + "line": 147, "column": 8 }, "end": { - "line": 123, + "line": 149, "column": 9 } }, "test": { "type": "LogicalExpression", - "start": 3568, - "end": 3585, + "start": 4257, + "end": 4274, "loc": { "start": { - "line": 121, - "column": 11 + "line": 147, + "column": 12 }, "end": { - "line": 121, - "column": 28 + "line": 147, + "column": 29 } }, "left": { "type": "Identifier", - "start": 3568, - "end": 3571, + "start": 4257, + "end": 4260, "loc": { "start": { - "line": 121, - "column": 11 + "line": 147, + "column": 12 }, "end": { - "line": 121, - "column": 14 + "line": 147, + "column": 15 }, "identifierName": "pkg" }, @@ -7069,30 +7218,30 @@ "operator": "&&", "right": { "type": "MemberExpression", - "start": 3575, - "end": 3585, + "start": 4264, + "end": 4274, "loc": { "start": { - "line": 121, - "column": 18 + "line": 147, + "column": 19 }, "end": { - "line": 121, - "column": 28 + "line": 147, + "column": 29 } }, "object": { "type": "Identifier", - "start": 3575, - "end": 3578, + "start": 4264, + "end": 4267, "loc": { "start": { - "line": 121, - "column": 18 + "line": 147, + "column": 19 }, "end": { - "line": 121, - "column": 21 + "line": 147, + "column": 22 }, "identifierName": "pkg" }, @@ -7100,16 +7249,16 @@ }, "property": { "type": "Identifier", - "start": 3579, - "end": 3585, + "start": 4268, + "end": 4274, "loc": { "start": { - "line": 121, - "column": 22 + "line": 147, + "column": 23 }, "end": { - "line": 121, - "column": 28 + "line": 147, + "column": 29 }, "identifierName": "backed" }, @@ -7120,58 +7269,58 @@ }, "consequent": { "type": "BlockStatement", - "start": 3587, - "end": 3661, + "start": 4276, + "end": 4350, "loc": { "start": { - "line": 121, - "column": 30 + "line": 147, + "column": 31 }, "end": { - "line": 123, + "line": 149, "column": 9 } }, "body": [ { "type": "ReturnStatement", - "start": 3599, - "end": 3651, + "start": 4288, + "end": 4340, "loc": { "start": { - "line": 122, + "line": 148, "column": 10 }, "end": { - "line": 122, + "line": 148, "column": 62 } }, "argument": { "type": "CallExpression", - "start": 3606, - "end": 3650, + "start": 4295, + "end": 4339, "loc": { "start": { - "line": 122, + "line": 148, "column": 17 }, "end": { - "line": 122, + "line": 148, "column": 61 } }, "callee": { "type": "Identifier", - "start": 3606, - "end": 3613, + "start": 4295, + "end": 4302, "loc": { "start": { - "line": 122, + "line": 148, "column": 17 }, "end": { - "line": 122, + "line": 148, "column": 24 }, "identifierName": "resolve" @@ -7181,29 +7330,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3614, - "end": 3649, + "start": 4303, + "end": 4338, "loc": { "start": { - "line": 122, + "line": 148, "column": 25 }, "end": { - "line": 122, + "line": 148, "column": 60 } }, "callee": { "type": "Identifier", - "start": 3614, - "end": 3619, + "start": 4303, + "end": 4308, "loc": { "start": { - "line": 122, + "line": 148, "column": 25 }, "end": { - "line": 122, + "line": 148, "column": 30 }, "identifierName": "merge" @@ -7213,29 +7362,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 3620, - "end": 3630, + "start": 4309, + "end": 4319, "loc": { "start": { - "line": 122, + "line": 148, "column": 31 }, "end": { - "line": 122, + "line": 148, "column": 41 } }, "object": { "type": "Identifier", - "start": 3620, - "end": 3623, + "start": 4309, + "end": 4312, "loc": { "start": { - "line": 122, + "line": 148, "column": 31 }, "end": { - "line": 122, + "line": 148, "column": 34 }, "identifierName": "pkg" @@ -7244,15 +7393,15 @@ }, "property": { "type": "Identifier", - "start": 3624, - "end": 3630, + "start": 4313, + "end": 4319, "loc": { "start": { - "line": 122, + "line": 148, "column": 35 }, "end": { - "line": 122, + "line": 148, "column": 41 }, "identifierName": "backed" @@ -7263,30 +7412,30 @@ }, { "type": "ObjectExpression", - "start": 3632, - "end": 3648, + "start": 4321, + "end": 4337, "loc": { "start": { - "line": 122, + "line": 148, "column": 43 }, "end": { - "line": 122, + "line": 148, "column": 59 } }, "properties": [ { "type": "ObjectProperty", - "start": 3633, - "end": 3647, + "start": 4322, + "end": 4336, "loc": { "start": { - "line": 122, + "line": 148, "column": 44 }, "end": { - "line": 122, + "line": 148, "column": 58 } }, @@ -7295,15 +7444,15 @@ "computed": false, "key": { "type": "Identifier", - "start": 3633, - "end": 3637, + "start": 4322, + "end": 4326, "loc": { "start": { - "line": 122, + "line": 148, "column": 44 }, "end": { - "line": 122, + "line": 148, "column": 48 }, "identifierName": "name" @@ -7312,29 +7461,29 @@ }, "value": { "type": "MemberExpression", - "start": 3639, - "end": 3647, + "start": 4328, + "end": 4336, "loc": { "start": { - "line": 122, + "line": 148, "column": 50 }, "end": { - "line": 122, + "line": 148, "column": 58 } }, "object": { "type": "Identifier", - "start": 3639, - "end": 3642, + "start": 4328, + "end": 4331, "loc": { "start": { - "line": 122, + "line": 148, "column": 50 }, "end": { - "line": 122, + "line": 148, "column": 53 }, "identifierName": "pkg" @@ -7343,15 +7492,15 @@ }, "property": { "type": "Identifier", - "start": 3643, - "end": 3647, + "start": 4332, + "end": 4336, "loc": { "start": { - "line": 122, + "line": 148, "column": 54 }, "end": { - "line": 122, + "line": 148, "column": 58 }, "identifierName": "name" @@ -7377,217 +7526,101 @@ "directives": [] } }, - { - "type": "VariableDeclaration", - "start": 3676, - "end": 3711, - "loc": { - "start": { - "line": 125, - "column": 6 - }, - "end": { - "line": 125, - "column": 41 - } - }, - "declarations": [ - { - "type": "VariableDeclarator", - "start": 3682, - "end": 3710, - "loc": { - "start": { - "line": 125, - "column": 12 - }, - "end": { - "line": 125, - "column": 40 - } - }, - "id": { - "type": "Identifier", - "start": 3682, - "end": 3684, - "loc": { - "start": { - "line": 125, - "column": 12 - }, - "end": { - "line": 125, - "column": 14 - }, - "identifierName": "it" - }, - "name": "it" - }, - "init": { - "type": "CallExpression", - "start": 3687, - "end": 3710, - "loc": { - "start": { - "line": 125, - "column": 17 - }, - "end": { - "line": 125, - "column": 40 - } - }, - "callee": { - "type": "Identifier", - "start": 3687, - "end": 3696, - "loc": { - "start": { - "line": 125, - "column": 17 - }, - "end": { - "line": 125, - "column": 26 - }, - "identifierName": "generator" - }, - "name": "generator" - }, - "arguments": [ - { - "type": "MemberExpression", - "start": 3697, - "end": 3709, - "loc": { - "start": { - "line": 125, - "column": 27 - }, - "end": { - "line": 125, - "column": 39 - } - }, - "object": { - "type": "ThisExpression", - "start": 3697, - "end": 3701, - "loc": { - "start": { - "line": 125, - "column": 27 - }, - "end": { - "line": 125, - "column": 31 - } - } - }, - "property": { - "type": "Identifier", - "start": 3702, - "end": 3709, - "loc": { - "start": { - "line": 125, - "column": 32 - }, - "end": { - "line": 125, - "column": 39 - }, - "identifierName": "require" - }, - "name": "require" - }, - "computed": false - } - ] - } - } - ], - "kind": "const" - }, { "type": "ExpressionStatement", - "start": 3718, - "end": 3728, + "start": 4365, + "end": 4389, "loc": { "start": { - "line": 126, + "line": 151, "column": 6 }, "end": { - "line": 126, - "column": 16 + "line": 151, + "column": 30 } }, "expression": { "type": "CallExpression", - "start": 3718, - "end": 3727, + "start": 4365, + "end": 4388, "loc": { "start": { - "line": 126, + "line": 151, "column": 6 }, "end": { - "line": 126, - "column": 15 + "line": 151, + "column": 29 } }, "callee": { - "type": "MemberExpression", - "start": 3718, - "end": 3725, + "type": "Identifier", + "start": 4365, + "end": 4374, "loc": { "start": { - "line": 126, + "line": 151, "column": 6 }, "end": { - "line": 126, - "column": 13 - } - }, - "object": { - "type": "Identifier", - "start": 3718, - "end": 3720, - "loc": { - "start": { - "line": 126, - "column": 6 - }, - "end": { - "line": 126, - "column": 8 - }, - "identifierName": "it" + "line": 151, + "column": 15 }, - "name": "it" + "identifierName": "generator" }, - "property": { - "type": "Identifier", - "start": 3721, - "end": 3725, + "name": "generator" + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 4375, + "end": 4387, "loc": { "start": { - "line": 126, - "column": 9 + "line": 151, + "column": 16 }, "end": { - "line": 126, - "column": 13 + "line": 151, + "column": 28 + } + }, + "object": { + "type": "ThisExpression", + "start": 4375, + "end": 4379, + "loc": { + "start": { + "line": 151, + "column": 16 + }, + "end": { + "line": 151, + "column": 20 + } + } + }, + "property": { + "type": "Identifier", + "start": 4380, + "end": 4387, + "loc": { + "start": { + "line": 151, + "column": 21 + }, + "end": { + "line": 151, + "column": 28 + }, + "identifierName": "require" }, - "identifierName": "next" + "name": "require" }, - "name": "next" - }, - "computed": false - }, - "arguments": [] + "computed": false + } + ] } } ], @@ -7605,15 +7638,15 @@ { "type": "CommentBlock", "value": "*\n * @return {object} value of 'backed.json'\n ", - "start": 2547, - "end": 2601, + "start": 3234, + "end": 3288, "loc": { "start": { - "line": 93, + "line": 119, "column": 2 }, "end": { - "line": 95, + "line": 121, "column": 5 } } @@ -7623,15 +7656,15 @@ { "type": "CommentBlock", "value": "*\n * @return {string} name from 'package.json'\n ", - "start": 3744, - "end": 3800, + "start": 4405, + "end": 4461, "loc": { "start": { - "line": 130, + "line": 155, "column": 2 }, "end": { - "line": 132, + "line": 157, "column": 5 } } @@ -7640,30 +7673,30 @@ }, { "type": "ClassMethod", - "start": 3803, - "end": 4041, + "start": 4464, + "end": 4702, "loc": { "start": { - "line": 133, + "line": 158, "column": 2 }, "end": { - "line": 142, + "line": 167, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 3803, - "end": 3820, + "start": 4464, + "end": 4481, "loc": { "start": { - "line": 133, + "line": 158, "column": 2 }, "end": { - "line": 133, + "line": 158, "column": 19 }, "identifierName": "importPackageName" @@ -7680,115 +7713,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 3823, - "end": 4041, + "start": 4484, + "end": 4702, "loc": { "start": { - "line": 133, + "line": 158, "column": 22 }, "end": { - "line": 142, + "line": 167, "column": 3 } }, "body": [ { "type": "TryStatement", - "start": 3829, - "end": 4015, + "start": 4490, + "end": 4676, "loc": { "start": { - "line": 134, + "line": 159, "column": 4 }, "end": { - "line": 140, + "line": 165, "column": 5 } }, "block": { "type": "BlockStatement", - "start": 3833, - "end": 3917, + "start": 4494, + "end": 4578, "loc": { "start": { - "line": 134, + "line": 159, "column": 8 }, "end": { - "line": 136, + "line": 161, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 3841, - "end": 3911, + "start": 4502, + "end": 4572, "loc": { "start": { - "line": 135, + "line": 160, "column": 6 }, "end": { - "line": 135, + "line": 160, "column": 76 } }, "argument": { "type": "MemberExpression", - "start": 3848, - "end": 3910, + "start": 4509, + "end": 4571, "loc": { "start": { - "line": 135, + "line": 160, "column": 13 }, "end": { - "line": 135, + "line": 160, "column": 75 } }, "object": { "type": "CallExpression", - "start": 3848, - "end": 3905, + "start": 4509, + "end": 4566, "loc": { "start": { - "line": 135, + "line": 160, "column": 13 }, "end": { - "line": 135, + "line": 160, "column": 70 } }, "callee": { "type": "MemberExpression", - "start": 3848, - "end": 3858, + "start": 4509, + "end": 4519, "loc": { "start": { - "line": 135, + "line": 160, "column": 13 }, "end": { - "line": 135, + "line": 160, "column": 23 } }, "object": { "type": "Identifier", - "start": 3848, - "end": 3852, + "start": 4509, + "end": 4513, "loc": { "start": { - "line": 135, + "line": 160, "column": 13 }, "end": { - "line": 135, + "line": 160, "column": 17 }, "identifierName": "JSON" @@ -7797,15 +7830,15 @@ }, "property": { "type": "Identifier", - "start": 3853, - "end": 3858, + "start": 4514, + "end": 4519, "loc": { "start": { - "line": 135, + "line": 160, "column": 18 }, "end": { - "line": 135, + "line": 160, "column": 23 }, "identifierName": "parse" @@ -7817,29 +7850,29 @@ "arguments": [ { "type": "CallExpression", - "start": 3859, - "end": 3904, + "start": 4520, + "end": 4565, "loc": { "start": { - "line": 135, + "line": 160, "column": 24 }, "end": { - "line": 135, + "line": 160, "column": 69 } }, "callee": { "type": "Identifier", - "start": 3859, - "end": 3871, + "start": 4520, + "end": 4532, "loc": { "start": { - "line": 135, + "line": 160, "column": 24 }, "end": { - "line": 135, + "line": 160, "column": 36 }, "identifierName": "readFileSync" @@ -7849,58 +7882,58 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 3872, - "end": 3903, + "start": 4533, + "end": 4564, "loc": { "start": { - "line": 135, + "line": 160, "column": 37 }, "end": { - "line": 135, + "line": 160, "column": 68 } }, "expressions": [ { "type": "CallExpression", - "start": 3875, - "end": 3888, + "start": 4536, + "end": 4549, "loc": { "start": { - "line": 135, + "line": 160, "column": 40 }, "end": { - "line": 135, + "line": 160, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 3875, - "end": 3886, + "start": 4536, + "end": 4547, "loc": { "start": { - "line": 135, + "line": 160, "column": 40 }, "end": { - "line": 135, + "line": 160, "column": 51 } }, "object": { "type": "Identifier", - "start": 3875, - "end": 3882, + "start": 4536, + "end": 4543, "loc": { "start": { - "line": 135, + "line": 160, "column": 40 }, "end": { - "line": 135, + "line": 160, "column": 47 }, "identifierName": "process" @@ -7909,15 +7942,15 @@ }, "property": { "type": "Identifier", - "start": 3883, - "end": 3886, + "start": 4544, + "end": 4547, "loc": { "start": { - "line": 135, + "line": 160, "column": 48 }, "end": { - "line": 135, + "line": 160, "column": 51 }, "identifierName": "cwd" @@ -7932,15 +7965,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 3873, - "end": 3873, + "start": 4534, + "end": 4534, "loc": { "start": { - "line": 135, + "line": 160, "column": 38 }, "end": { - "line": 135, + "line": 160, "column": 38 } }, @@ -7952,15 +7985,15 @@ }, { "type": "TemplateElement", - "start": 3889, - "end": 3902, + "start": 4550, + "end": 4563, "loc": { "start": { - "line": 135, + "line": 160, "column": 54 }, "end": { - "line": 135, + "line": 160, "column": 67 } }, @@ -7978,15 +8011,15 @@ }, "property": { "type": "Identifier", - "start": 3906, - "end": 3910, + "start": 4567, + "end": 4571, "loc": { "start": { - "line": 135, + "line": 160, "column": 71 }, "end": { - "line": 135, + "line": 160, "column": 75 }, "identifierName": "name" @@ -8001,29 +8034,29 @@ }, "handler": { "type": "CatchClause", - "start": 3918, - "end": 4015, + "start": 4579, + "end": 4676, "loc": { "start": { - "line": 136, + "line": 161, "column": 6 }, "end": { - "line": 140, + "line": 165, "column": 5 } }, "param": { "type": "Identifier", - "start": 3925, - "end": 3926, + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 136, + "line": 161, "column": 13 }, "end": { - "line": 136, + "line": 161, "column": 14 }, "identifierName": "e" @@ -8032,58 +8065,58 @@ }, "body": { "type": "BlockStatement", - "start": 3928, - "end": 4015, + "start": 4589, + "end": 4676, "loc": { "start": { - "line": 136, + "line": 161, "column": 16 }, "end": { - "line": 140, + "line": 165, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 3936, - "end": 4009, + "start": 4597, + "end": 4670, "loc": { "start": { - "line": 137, + "line": 162, "column": 6 }, "end": { - "line": 139, + "line": 164, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 3940, - "end": 3952, + "start": 4601, + "end": 4613, "loc": { "start": { - "line": 137, + "line": 162, "column": 10 }, "end": { - "line": 137, + "line": 162, "column": 22 } }, "object": { "type": "Identifier", - "start": 3940, - "end": 3946, + "start": 4601, + "end": 4607, "loc": { "start": { - "line": 137, + "line": 162, "column": 10 }, "end": { - "line": 137, + "line": 162, "column": 16 }, "identifierName": "global" @@ -8092,15 +8125,15 @@ }, "property": { "type": "Identifier", - "start": 3947, - "end": 3952, + "start": 4608, + "end": 4613, "loc": { "start": { - "line": 137, + "line": 162, "column": 17 }, "end": { - "line": 137, + "line": 162, "column": 22 }, "identifierName": "debug" @@ -8111,72 +8144,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 3954, - "end": 4009, + "start": 4615, + "end": 4670, "loc": { "start": { - "line": 137, + "line": 162, "column": 24 }, "end": { - "line": 139, + "line": 164, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 3964, - "end": 4001, + "start": 4625, + "end": 4662, "loc": { "start": { - "line": 138, + "line": 163, "column": 8 }, "end": { - "line": 138, + "line": 163, "column": 45 } }, "expression": { "type": "CallExpression", - "start": 3964, - "end": 4000, + "start": 4625, + "end": 4661, "loc": { "start": { - "line": 138, + "line": 163, "column": 8 }, "end": { - "line": 138, + "line": 163, "column": 44 } }, "callee": { "type": "MemberExpression", - "start": 3964, - "end": 3975, + "start": 4625, + "end": 4636, "loc": { "start": { - "line": 138, + "line": 163, "column": 8 }, "end": { - "line": 138, + "line": 163, "column": 19 } }, "object": { "type": "Identifier", - "start": 3964, - "end": 3970, + "start": 4625, + "end": 4631, "loc": { "start": { - "line": 138, + "line": 163, "column": 8 }, "end": { - "line": 138, + "line": 163, "column": 14 }, "identifierName": "logger" @@ -8185,15 +8218,15 @@ }, "property": { "type": "Identifier", - "start": 3971, - "end": 3975, + "start": 4632, + "end": 4636, "loc": { "start": { - "line": 138, + "line": 163, "column": 15 }, "end": { - "line": 138, + "line": 163, "column": 19 }, "identifierName": "warn" @@ -8205,15 +8238,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 3976, - "end": 3999, + "start": 4637, + "end": 4660, "loc": { "start": { - "line": 138, + "line": 163, "column": 20 }, "end": { - "line": 138, + "line": 163, "column": 43 } }, @@ -8240,29 +8273,29 @@ }, { "type": "ReturnStatement", - "start": 4020, - "end": 4037, + "start": 4681, + "end": 4698, "loc": { "start": { - "line": 141, + "line": 166, "column": 4 }, "end": { - "line": 141, + "line": 166, "column": 21 } }, "argument": { "type": "Identifier", - "start": 4027, - "end": 4036, + "start": 4688, + "end": 4697, "loc": { "start": { - "line": 141, + "line": 166, "column": 11 }, "end": { - "line": 141, + "line": 166, "column": 20 }, "identifierName": "undefined" @@ -8278,15 +8311,15 @@ { "type": "CommentBlock", "value": "*\n * @return {string} name from 'package.json'\n ", - "start": 3744, - "end": 3800, + "start": 4405, + "end": 4461, "loc": { "start": { - "line": 130, + "line": 155, "column": 2 }, "end": { - "line": 132, + "line": 157, "column": 5 } } @@ -8296,15 +8329,15 @@ { "type": "CommentBlock", "value": "*\n * @return {string} name from 'bower.json'\n ", - "start": 4045, - "end": 4099, + "start": 4706, + "end": 4760, "loc": { "start": { - "line": 144, + "line": 169, "column": 2 }, "end": { - "line": 146, + "line": 171, "column": 5 } } @@ -8313,30 +8346,30 @@ }, { "type": "ClassMethod", - "start": 4102, - "end": 4334, + "start": 4763, + "end": 4995, "loc": { "start": { - "line": 147, + "line": 172, "column": 2 }, "end": { - "line": 156, + "line": 181, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 4102, - "end": 4117, + "start": 4763, + "end": 4778, "loc": { "start": { - "line": 147, + "line": 172, "column": 2 }, "end": { - "line": 147, + "line": 172, "column": 17 }, "identifierName": "importBowerName" @@ -8353,115 +8386,115 @@ "params": [], "body": { "type": "BlockStatement", - "start": 4120, - "end": 4334, + "start": 4781, + "end": 4995, "loc": { "start": { - "line": 147, + "line": 172, "column": 20 }, "end": { - "line": 156, + "line": 181, "column": 3 } }, "body": [ { "type": "TryStatement", - "start": 4126, - "end": 4308, + "start": 4787, + "end": 4969, "loc": { "start": { - "line": 148, + "line": 173, "column": 4 }, "end": { - "line": 154, + "line": 179, "column": 5 } }, "block": { "type": "BlockStatement", - "start": 4130, - "end": 4212, + "start": 4791, + "end": 4873, "loc": { "start": { - "line": 148, + "line": 173, "column": 8 }, "end": { - "line": 150, + "line": 175, "column": 5 } }, "body": [ { "type": "ReturnStatement", - "start": 4138, - "end": 4206, + "start": 4799, + "end": 4867, "loc": { "start": { - "line": 149, + "line": 174, "column": 6 }, "end": { - "line": 149, + "line": 174, "column": 74 } }, "argument": { "type": "MemberExpression", - "start": 4145, - "end": 4205, + "start": 4806, + "end": 4866, "loc": { "start": { - "line": 149, + "line": 174, "column": 13 }, "end": { - "line": 149, + "line": 174, "column": 73 } }, "object": { "type": "CallExpression", - "start": 4145, - "end": 4200, + "start": 4806, + "end": 4861, "loc": { "start": { - "line": 149, + "line": 174, "column": 13 }, "end": { - "line": 149, + "line": 174, "column": 68 } }, "callee": { "type": "MemberExpression", - "start": 4145, - "end": 4155, + "start": 4806, + "end": 4816, "loc": { "start": { - "line": 149, + "line": 174, "column": 13 }, "end": { - "line": 149, + "line": 174, "column": 23 } }, "object": { "type": "Identifier", - "start": 4145, - "end": 4149, + "start": 4806, + "end": 4810, "loc": { "start": { - "line": 149, + "line": 174, "column": 13 }, "end": { - "line": 149, + "line": 174, "column": 17 }, "identifierName": "JSON" @@ -8470,15 +8503,15 @@ }, "property": { "type": "Identifier", - "start": 4150, - "end": 4155, + "start": 4811, + "end": 4816, "loc": { "start": { - "line": 149, + "line": 174, "column": 18 }, "end": { - "line": 149, + "line": 174, "column": 23 }, "identifierName": "parse" @@ -8490,29 +8523,29 @@ "arguments": [ { "type": "CallExpression", - "start": 4156, - "end": 4199, + "start": 4817, + "end": 4860, "loc": { "start": { - "line": 149, + "line": 174, "column": 24 }, "end": { - "line": 149, + "line": 174, "column": 67 } }, "callee": { "type": "Identifier", - "start": 4156, - "end": 4168, + "start": 4817, + "end": 4829, "loc": { "start": { - "line": 149, + "line": 174, "column": 24 }, "end": { - "line": 149, + "line": 174, "column": 36 }, "identifierName": "readFileSync" @@ -8522,58 +8555,58 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 4169, - "end": 4198, + "start": 4830, + "end": 4859, "loc": { "start": { - "line": 149, + "line": 174, "column": 37 }, "end": { - "line": 149, + "line": 174, "column": 66 } }, "expressions": [ { "type": "CallExpression", - "start": 4172, - "end": 4185, + "start": 4833, + "end": 4846, "loc": { "start": { - "line": 149, + "line": 174, "column": 40 }, "end": { - "line": 149, + "line": 174, "column": 53 } }, "callee": { "type": "MemberExpression", - "start": 4172, - "end": 4183, + "start": 4833, + "end": 4844, "loc": { "start": { - "line": 149, + "line": 174, "column": 40 }, "end": { - "line": 149, + "line": 174, "column": 51 } }, "object": { "type": "Identifier", - "start": 4172, - "end": 4179, + "start": 4833, + "end": 4840, "loc": { "start": { - "line": 149, + "line": 174, "column": 40 }, "end": { - "line": 149, + "line": 174, "column": 47 }, "identifierName": "process" @@ -8582,15 +8615,15 @@ }, "property": { "type": "Identifier", - "start": 4180, - "end": 4183, + "start": 4841, + "end": 4844, "loc": { "start": { - "line": 149, + "line": 174, "column": 48 }, "end": { - "line": 149, + "line": 174, "column": 51 }, "identifierName": "cwd" @@ -8605,15 +8638,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 4170, - "end": 4170, + "start": 4831, + "end": 4831, "loc": { "start": { - "line": 149, + "line": 174, "column": 38 }, "end": { - "line": 149, + "line": 174, "column": 38 } }, @@ -8625,15 +8658,15 @@ }, { "type": "TemplateElement", - "start": 4186, - "end": 4197, + "start": 4847, + "end": 4858, "loc": { "start": { - "line": 149, + "line": 174, "column": 54 }, "end": { - "line": 149, + "line": 174, "column": 65 } }, @@ -8651,15 +8684,15 @@ }, "property": { "type": "Identifier", - "start": 4201, - "end": 4205, + "start": 4862, + "end": 4866, "loc": { "start": { - "line": 149, + "line": 174, "column": 69 }, "end": { - "line": 149, + "line": 174, "column": 73 }, "identifierName": "name" @@ -8674,29 +8707,29 @@ }, "handler": { "type": "CatchClause", - "start": 4213, - "end": 4308, + "start": 4874, + "end": 4969, "loc": { "start": { - "line": 150, + "line": 175, "column": 6 }, "end": { - "line": 154, + "line": 179, "column": 5 } }, "param": { "type": "Identifier", - "start": 4220, - "end": 4221, + "start": 4881, + "end": 4882, "loc": { "start": { - "line": 150, + "line": 175, "column": 13 }, "end": { - "line": 150, + "line": 175, "column": 14 }, "identifierName": "e" @@ -8705,58 +8738,58 @@ }, "body": { "type": "BlockStatement", - "start": 4223, - "end": 4308, + "start": 4884, + "end": 4969, "loc": { "start": { - "line": 150, + "line": 175, "column": 16 }, "end": { - "line": 154, + "line": 179, "column": 5 } }, "body": [ { "type": "IfStatement", - "start": 4231, - "end": 4302, + "start": 4892, + "end": 4963, "loc": { "start": { - "line": 151, + "line": 176, "column": 6 }, "end": { - "line": 153, + "line": 178, "column": 7 } }, "test": { "type": "MemberExpression", - "start": 4235, - "end": 4247, + "start": 4896, + "end": 4908, "loc": { "start": { - "line": 151, + "line": 176, "column": 10 }, "end": { - "line": 151, + "line": 176, "column": 22 } }, "object": { "type": "Identifier", - "start": 4235, - "end": 4241, + "start": 4896, + "end": 4902, "loc": { "start": { - "line": 151, + "line": 176, "column": 10 }, "end": { - "line": 151, + "line": 176, "column": 16 }, "identifierName": "global" @@ -8765,15 +8798,15 @@ }, "property": { "type": "Identifier", - "start": 4242, - "end": 4247, + "start": 4903, + "end": 4908, "loc": { "start": { - "line": 151, + "line": 176, "column": 17 }, "end": { - "line": 151, + "line": 176, "column": 22 }, "identifierName": "debug" @@ -8784,72 +8817,72 @@ }, "consequent": { "type": "BlockStatement", - "start": 4249, - "end": 4302, + "start": 4910, + "end": 4963, "loc": { "start": { - "line": 151, + "line": 176, "column": 24 }, "end": { - "line": 153, + "line": 178, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 4259, - "end": 4294, + "start": 4920, + "end": 4955, "loc": { "start": { - "line": 152, + "line": 177, "column": 8 }, "end": { - "line": 152, + "line": 177, "column": 43 } }, "expression": { "type": "CallExpression", - "start": 4259, - "end": 4293, + "start": 4920, + "end": 4954, "loc": { "start": { - "line": 152, + "line": 177, "column": 8 }, "end": { - "line": 152, + "line": 177, "column": 42 } }, "callee": { "type": "MemberExpression", - "start": 4259, - "end": 4270, + "start": 4920, + "end": 4931, "loc": { "start": { - "line": 152, + "line": 177, "column": 8 }, "end": { - "line": 152, + "line": 177, "column": 19 } }, "object": { "type": "Identifier", - "start": 4259, - "end": 4265, + "start": 4920, + "end": 4926, "loc": { "start": { - "line": 152, + "line": 177, "column": 8 }, "end": { - "line": 152, + "line": 177, "column": 14 }, "identifierName": "logger" @@ -8858,15 +8891,15 @@ }, "property": { "type": "Identifier", - "start": 4266, - "end": 4270, + "start": 4927, + "end": 4931, "loc": { "start": { - "line": 152, + "line": 177, "column": 15 }, "end": { - "line": 152, + "line": 177, "column": 19 }, "identifierName": "warn" @@ -8878,15 +8911,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 4271, - "end": 4292, + "start": 4932, + "end": 4953, "loc": { "start": { - "line": 152, + "line": 177, "column": 20 }, "end": { - "line": 152, + "line": 177, "column": 41 } }, @@ -8913,29 +8946,29 @@ }, { "type": "ReturnStatement", - "start": 4313, - "end": 4330, + "start": 4974, + "end": 4991, "loc": { "start": { - "line": 155, + "line": 180, "column": 4 }, "end": { - "line": 155, + "line": 180, "column": 21 } }, "argument": { "type": "Identifier", - "start": 4320, - "end": 4329, + "start": 4981, + "end": 4990, "loc": { "start": { - "line": 155, + "line": 180, "column": 11 }, "end": { - "line": 155, + "line": 180, "column": 20 }, "identifierName": "undefined" @@ -8951,15 +8984,15 @@ { "type": "CommentBlock", "value": "*\n * @return {string} name from 'bower.json'\n ", - "start": 4045, - "end": 4099, + "start": 4706, + "end": 4760, "loc": { "start": { - "line": 144, + "line": 169, "column": 2 }, "end": { - "line": 146, + "line": 171, "column": 5 } } @@ -8969,15 +9002,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n ", - "start": 4338, - "end": 4764, + "start": 4999, + "end": 5425, "loc": { "start": { - "line": 158, + "line": 183, "column": 2 }, "end": { - "line": 173, + "line": 198, "column": 5 } } @@ -8986,30 +9019,30 @@ }, { "type": "ClassMethod", - "start": 4767, - "end": 5060, + "start": 5428, + "end": 5813, "loc": { "start": { - "line": 174, + "line": 199, "column": 2 }, "end": { - "line": 181, + "line": 210, "column": 3 } }, "computed": false, "key": { "type": "Identifier", - "start": 4767, - "end": 4779, + "start": 5428, + "end": 5440, "loc": { "start": { - "line": 174, + "line": 199, "column": 2 }, "end": { - "line": 174, + "line": 199, "column": 14 }, "identifierName": "updateConfig" @@ -9026,15 +9059,15 @@ "params": [ { "type": "Identifier", - "start": 4780, - "end": 4786, + "start": 5441, + "end": 5447, "loc": { "start": { - "line": 174, + "line": 199, "column": 15 }, "end": { - "line": 174, + "line": 199, "column": 21 }, "identifierName": "config" @@ -9043,15 +9076,15 @@ }, { "type": "Identifier", - "start": 4788, - "end": 4792, + "start": 5449, + "end": 5453, "loc": { "start": { - "line": 174, + "line": 199, "column": 23 }, "end": { - "line": 174, + "line": 199, "column": 27 }, "identifierName": "name" @@ -9061,73 +9094,73 @@ ], "body": { "type": "BlockStatement", - "start": 4794, - "end": 5060, + "start": 5455, + "end": 5813, "loc": { "start": { - "line": 174, + "line": 199, "column": 29 }, "end": { - "line": 181, + "line": 210, "column": 3 } }, "body": [ { "type": "ExpressionStatement", - "start": 4800, - "end": 4844, + "start": 5461, + "end": 5505, "loc": { "start": { - "line": 175, + "line": 200, "column": 4 }, "end": { - "line": 175, + "line": 200, "column": 48 } }, "expression": { "type": "AssignmentExpression", - "start": 4800, - "end": 4843, + "start": 5461, + "end": 5504, "loc": { "start": { - "line": 175, + "line": 200, "column": 4 }, "end": { - "line": 175, + "line": 200, "column": 47 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4800, - "end": 4816, + "start": 5461, + "end": 5477, "loc": { "start": { - "line": 175, + "line": 200, "column": 4 }, "end": { - "line": 175, + "line": 200, "column": 20 } }, "object": { "type": "Identifier", - "start": 4800, - "end": 4806, + "start": 5461, + "end": 5467, "loc": { "start": { - "line": 175, + "line": 200, "column": 4 }, "end": { - "line": 175, + "line": 200, "column": 10 }, "identifierName": "config" @@ -9136,15 +9169,15 @@ }, "property": { "type": "Identifier", - "start": 4807, - "end": 4816, + "start": 5468, + "end": 5477, "loc": { "start": { - "line": 175, + "line": 200, "column": 11 }, "end": { - "line": 175, + "line": 200, "column": 20 }, "identifierName": "sourceMap" @@ -9155,43 +9188,43 @@ }, "right": { "type": "LogicalExpression", - "start": 4819, - "end": 4843, + "start": 5480, + "end": 5504, "loc": { "start": { - "line": 175, + "line": 200, "column": 23 }, "end": { - "line": 175, + "line": 200, "column": 47 } }, "left": { "type": "MemberExpression", - "start": 4819, - "end": 4835, + "start": 5480, + "end": 5496, "loc": { "start": { - "line": 175, + "line": 200, "column": 23 }, "end": { - "line": 175, + "line": 200, "column": 39 } }, "object": { "type": "Identifier", - "start": 4819, - "end": 4825, + "start": 5480, + "end": 5486, "loc": { "start": { - "line": 175, + "line": 200, "column": 23 }, "end": { - "line": 175, + "line": 200, "column": 29 }, "identifierName": "config" @@ -9200,15 +9233,15 @@ }, "property": { "type": "Identifier", - "start": 4826, - "end": 4835, + "start": 5487, + "end": 5496, "loc": { "start": { - "line": 175, + "line": 200, "column": 30 }, "end": { - "line": 175, + "line": 200, "column": 39 }, "identifierName": "sourceMap" @@ -9220,15 +9253,15 @@ "operator": "||", "right": { "type": "BooleanLiteral", - "start": 4839, - "end": 4843, + "start": 5500, + "end": 5504, "loc": { "start": { - "line": 175, + "line": 200, "column": 43 }, "end": { - "line": 175, + "line": 200, "column": 47 } }, @@ -9238,60 +9271,59 @@ } }, { - "type": "ExpressionStatement", - "start": 4849, - "end": 4902, + "type": "IfStatement", + "start": 5510, + "end": 5655, "loc": { "start": { - "line": 176, + "line": 201, "column": 4 }, "end": { - "line": 176, - "column": 57 + "line": 205, + "column": 5 } }, - "expression": { - "type": "AssignmentExpression", - "start": 4849, - "end": 4901, + "test": { + "type": "LogicalExpression", + "start": 5514, + "end": 5544, "loc": { "start": { - "line": 176, - "column": 4 + "line": 201, + "column": 8 }, "end": { - "line": 176, - "column": 56 + "line": 201, + "column": 38 } }, - "operator": "=", "left": { "type": "MemberExpression", - "start": 4849, - "end": 4863, + "start": 5514, + "end": 5526, "loc": { "start": { - "line": 176, - "column": 4 + "line": 201, + "column": 8 }, "end": { - "line": 176, - "column": 18 + "line": 201, + "column": 20 } }, "object": { "type": "Identifier", - "start": 4849, - "end": 4855, + "start": 5514, + "end": 5520, "loc": { "start": { - "line": 176, - "column": 4 + "line": 201, + "column": 8 }, "end": { - "line": 176, - "column": 10 + "line": 201, + "column": 14 }, "identifierName": "config" }, @@ -9299,211 +9331,464 @@ }, "property": { "type": "Identifier", - "start": 4856, - "end": 4863, + "start": 5521, + "end": 5526, "loc": { "start": { - "line": 176, - "column": 11 + "line": 201, + "column": 15 }, "end": { - "line": 176, - "column": 18 + "line": 201, + "column": 20 }, - "identifierName": "bundles" + "identifierName": "entry" }, - "name": "bundles" + "name": "entry" }, "computed": false }, + "operator": "&&", "right": { - "type": "CallExpression", - "start": 4866, - "end": 4901, + "type": "MemberExpression", + "start": 5530, + "end": 5544, "loc": { "start": { - "line": 176, - "column": 21 + "line": 201, + "column": 24 }, "end": { - "line": 176, - "column": 56 + "line": 201, + "column": 38 } }, - "callee": { + "object": { "type": "Identifier", - "start": 4866, - "end": 4871, + "start": 5530, + "end": 5536, "loc": { "start": { - "line": 176, - "column": 21 + "line": 201, + "column": 24 }, "end": { - "line": 176, - "column": 26 + "line": 201, + "column": 30 }, - "identifierName": "merge" + "identifierName": "config" }, - "name": "merge" + "name": "config" }, - "arguments": [ - { - "type": "MemberExpression", - "start": 4872, - "end": 4884, - "loc": { + "property": { + "type": "Identifier", + "start": 5537, + "end": 5544, + "loc": { + "start": { + "line": 201, + "column": 31 + }, + "end": { + "line": 201, + "column": 38 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 5546, + "end": 5582, + "loc": { + "start": { + "line": 201, + "column": 40 + }, + "end": { + "line": 203, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5554, + "end": 5576, + "loc": { + "start": { + "line": 202, + "column": 6 + }, + "end": { + "line": 202, + "column": 28 + } + }, + "expression": { + "type": "UnaryExpression", + "start": 5554, + "end": 5575, + "loc": { "start": { - "line": 176, - "column": 27 + "line": 202, + "column": 6 }, "end": { - "line": 176, - "column": 39 + "line": 202, + "column": 27 } }, - "object": { - "type": "ThisExpression", - "start": 4872, - "end": 4876, + "operator": "delete", + "prefix": true, + "argument": { + "type": "MemberExpression", + "start": 5561, + "end": 5575, "loc": { "start": { - "line": 176, - "column": 27 + "line": 202, + "column": 13 }, "end": { - "line": 176, - "column": 31 + "line": 202, + "column": 27 } - } - }, - "property": { - "type": "Identifier", - "start": 4877, - "end": 4884, - "loc": { - "start": { - "line": 176, - "column": 32 + }, + "object": { + "type": "Identifier", + "start": 5561, + "end": 5567, + "loc": { + "start": { + "line": 202, + "column": 13 + }, + "end": { + "line": 202, + "column": 19 + }, + "identifierName": "config" }, - "end": { - "line": 176, - "column": 39 + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 5568, + "end": 5575, + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 202, + "column": 27 + }, + "identifierName": "bundles" }, - "identifierName": "bundles" + "name": "bundles" }, - "name": "bundles" + "computed": false }, - "computed": false + "extra": { + "parenthesizedArgument": false + } + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 5588, + "end": 5655, + "loc": { + "start": { + "line": 203, + "column": 11 + }, + "end": { + "line": 205, + "column": 5 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 5596, + "end": 5649, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 59 + } }, - { - "type": "MemberExpression", - "start": 4886, - "end": 4900, + "expression": { + "type": "AssignmentExpression", + "start": 5596, + "end": 5648, "loc": { "start": { - "line": 176, - "column": 41 + "line": 204, + "column": 6 }, "end": { - "line": 176, - "column": 55 + "line": 204, + "column": 58 } }, - "object": { - "type": "Identifier", - "start": 4886, - "end": 4892, + "operator": "=", + "left": { + "type": "MemberExpression", + "start": 5596, + "end": 5610, "loc": { "start": { - "line": 176, - "column": 41 + "line": 204, + "column": 6 }, "end": { - "line": 176, - "column": 47 + "line": 204, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 5596, + "end": 5602, + "loc": { + "start": { + "line": 204, + "column": 6 + }, + "end": { + "line": 204, + "column": 12 + }, + "identifierName": "config" }, - "identifierName": "config" + "name": "config" }, - "name": "config" + "property": { + "type": "Identifier", + "start": 5603, + "end": 5610, + "loc": { + "start": { + "line": 204, + "column": 13 + }, + "end": { + "line": 204, + "column": 20 + }, + "identifierName": "bundles" + }, + "name": "bundles" + }, + "computed": false }, - "property": { - "type": "Identifier", - "start": 4893, - "end": 4900, + "right": { + "type": "CallExpression", + "start": 5613, + "end": 5648, "loc": { "start": { - "line": 176, - "column": 48 + "line": 204, + "column": 23 }, "end": { - "line": 176, - "column": 55 + "line": 204, + "column": 58 + } + }, + "callee": { + "type": "Identifier", + "start": 5613, + "end": 5618, + "loc": { + "start": { + "line": 204, + "column": 23 + }, + "end": { + "line": 204, + "column": 28 + }, + "identifierName": "merge" }, - "identifierName": "bundles" + "name": "merge" }, - "name": "bundles" - }, - "computed": false + "arguments": [ + { + "type": "MemberExpression", + "start": 5619, + "end": 5631, + "loc": { + "start": { + "line": 204, + "column": 29 + }, + "end": { + "line": 204, + "column": 41 + } + }, + "object": { + "type": "ThisExpression", + "start": 5619, + "end": 5623, + "loc": { + "start": { + "line": 204, + "column": 29 + }, + "end": { + "line": 204, + "column": 33 + } + } + }, + "property": { + "type": "Identifier", + "start": 5624, + "end": 5631, + "loc": { + "start": { + "line": 204, + "column": 34 + }, + "end": { + "line": 204, + "column": 41 + }, + "identifierName": "bundles" + }, + "name": "bundles" + }, + "computed": false + }, + { + "type": "MemberExpression", + "start": 5633, + "end": 5647, + "loc": { + "start": { + "line": 204, + "column": 43 + }, + "end": { + "line": 204, + "column": 57 + } + }, + "object": { + "type": "Identifier", + "start": 5633, + "end": 5639, + "loc": { + "start": { + "line": 204, + "column": 43 + }, + "end": { + "line": 204, + "column": 49 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 5640, + "end": 5647, + "loc": { + "start": { + "line": 204, + "column": 50 + }, + "end": { + "line": 204, + "column": 57 + }, + "identifierName": "bundles" + }, + "name": "bundles" + }, + "computed": false + } + ] + } } - ] - } + } + ], + "directives": [] } }, { "type": "ExpressionStatement", - "start": 4907, - "end": 4957, + "start": 5660, + "end": 5710, "loc": { "start": { - "line": 177, + "line": 206, "column": 4 }, "end": { - "line": 177, + "line": 206, "column": 54 } }, "expression": { "type": "AssignmentExpression", - "start": 4907, - "end": 4956, + "start": 5660, + "end": 5709, "loc": { "start": { - "line": 177, + "line": 206, "column": 4 }, "end": { - "line": 177, + "line": 206, "column": 53 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4907, - "end": 4920, + "start": 5660, + "end": 5673, "loc": { "start": { - "line": 177, + "line": 206, "column": 4 }, "end": { - "line": 177, + "line": 206, "column": 17 } }, "object": { "type": "Identifier", - "start": 4907, - "end": 4913, + "start": 5660, + "end": 5666, "loc": { "start": { - "line": 177, + "line": 206, "column": 4 }, "end": { - "line": 177, + "line": 206, "column": 10 }, "identifierName": "config" @@ -9512,15 +9797,15 @@ }, "property": { "type": "Identifier", - "start": 4914, - "end": 4920, + "start": 5667, + "end": 5673, "loc": { "start": { - "line": 177, + "line": 206, "column": 11 }, "end": { - "line": 177, + "line": 206, "column": 17 }, "identifierName": "server" @@ -9531,29 +9816,29 @@ }, "right": { "type": "CallExpression", - "start": 4923, - "end": 4956, + "start": 5676, + "end": 5709, "loc": { "start": { - "line": 177, + "line": 206, "column": 20 }, "end": { - "line": 177, + "line": 206, "column": 53 } }, "callee": { "type": "Identifier", - "start": 4923, - "end": 4928, + "start": 5676, + "end": 5681, "loc": { "start": { - "line": 177, + "line": 206, "column": 20 }, "end": { - "line": 177, + "line": 206, "column": 25 }, "identifierName": "merge" @@ -9563,44 +9848,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 4929, - "end": 4940, + "start": 5682, + "end": 5693, "loc": { "start": { - "line": 177, + "line": 206, "column": 26 }, "end": { - "line": 177, + "line": 206, "column": 37 } }, "object": { "type": "ThisExpression", - "start": 4929, - "end": 4933, + "start": 5682, + "end": 5686, "loc": { "start": { - "line": 177, + "line": 206, "column": 26 }, "end": { - "line": 177, + "line": 206, "column": 30 } } }, "property": { "type": "Identifier", - "start": 4934, - "end": 4940, + "start": 5687, + "end": 5693, "loc": { "start": { - "line": 177, + "line": 206, "column": 31 }, "end": { - "line": 177, + "line": 206, "column": 37 }, "identifierName": "server" @@ -9611,29 +9896,29 @@ }, { "type": "MemberExpression", - "start": 4942, - "end": 4955, + "start": 5695, + "end": 5708, "loc": { "start": { - "line": 177, + "line": 206, "column": 39 }, "end": { - "line": 177, + "line": 206, "column": 52 } }, "object": { "type": "Identifier", - "start": 4942, - "end": 4948, + "start": 5695, + "end": 5701, "loc": { "start": { - "line": 177, + "line": 206, "column": 39 }, "end": { - "line": 177, + "line": 206, "column": 45 }, "identifierName": "config" @@ -9642,15 +9927,15 @@ }, "property": { "type": "Identifier", - "start": 4949, - "end": 4955, + "start": 5702, + "end": 5708, "loc": { "start": { - "line": 177, + "line": 206, "column": 46 }, "end": { - "line": 177, + "line": 206, "column": 52 }, "identifierName": "server" @@ -9665,58 +9950,58 @@ }, { "type": "ExpressionStatement", - "start": 4962, - "end": 5009, + "start": 5715, + "end": 5762, "loc": { "start": { - "line": 178, + "line": 207, "column": 4 }, "end": { - "line": 178, + "line": 207, "column": 51 } }, "expression": { "type": "AssignmentExpression", - "start": 4962, - "end": 5008, + "start": 5715, + "end": 5761, "loc": { "start": { - "line": 178, + "line": 207, "column": 4 }, "end": { - "line": 178, + "line": 207, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 4962, - "end": 4974, + "start": 5715, + "end": 5727, "loc": { "start": { - "line": 178, + "line": 207, "column": 4 }, "end": { - "line": 178, + "line": 207, "column": 16 } }, "object": { "type": "Identifier", - "start": 4962, - "end": 4968, + "start": 5715, + "end": 5721, "loc": { "start": { - "line": 178, + "line": 207, "column": 4 }, "end": { - "line": 178, + "line": 207, "column": 10 }, "identifierName": "config" @@ -9725,15 +10010,15 @@ }, "property": { "type": "Identifier", - "start": 4969, - "end": 4974, + "start": 5722, + "end": 5727, "loc": { "start": { - "line": 178, + "line": 207, "column": 11 }, "end": { - "line": 178, + "line": 207, "column": 16 }, "identifierName": "watch" @@ -9744,29 +10029,29 @@ }, "right": { "type": "CallExpression", - "start": 4977, - "end": 5008, + "start": 5730, + "end": 5761, "loc": { "start": { - "line": 178, + "line": 207, "column": 19 }, "end": { - "line": 178, + "line": 207, "column": 50 } }, "callee": { "type": "Identifier", - "start": 4977, - "end": 4982, + "start": 5730, + "end": 5735, "loc": { "start": { - "line": 178, + "line": 207, "column": 19 }, "end": { - "line": 178, + "line": 207, "column": 24 }, "identifierName": "merge" @@ -9776,44 +10061,44 @@ "arguments": [ { "type": "MemberExpression", - "start": 4983, - "end": 4993, + "start": 5736, + "end": 5746, "loc": { "start": { - "line": 178, + "line": 207, "column": 25 }, "end": { - "line": 178, + "line": 207, "column": 35 } }, "object": { "type": "ThisExpression", - "start": 4983, - "end": 4987, + "start": 5736, + "end": 5740, "loc": { "start": { - "line": 178, + "line": 207, "column": 25 }, "end": { - "line": 178, + "line": 207, "column": 29 } } }, "property": { "type": "Identifier", - "start": 4988, - "end": 4993, + "start": 5741, + "end": 5746, "loc": { "start": { - "line": 178, + "line": 207, "column": 30 }, "end": { - "line": 178, + "line": 207, "column": 35 }, "identifierName": "watch" @@ -9824,29 +10109,29 @@ }, { "type": "MemberExpression", - "start": 4995, - "end": 5007, + "start": 5748, + "end": 5760, "loc": { "start": { - "line": 178, + "line": 207, "column": 37 }, "end": { - "line": 178, + "line": 207, "column": 49 } }, "object": { "type": "Identifier", - "start": 4995, - "end": 5001, + "start": 5748, + "end": 5754, "loc": { "start": { - "line": 178, + "line": 207, "column": 37 }, "end": { - "line": 178, + "line": 207, "column": 43 }, "identifierName": "config" @@ -9855,15 +10140,15 @@ }, "property": { "type": "Identifier", - "start": 5002, - "end": 5007, + "start": 5755, + "end": 5760, "loc": { "start": { - "line": 178, + "line": 207, "column": 44 }, "end": { - "line": 178, + "line": 207, "column": 49 }, "identifierName": "watch" @@ -9878,58 +10163,58 @@ }, { "type": "ExpressionStatement", - "start": 5014, - "end": 5037, + "start": 5767, + "end": 5790, "loc": { "start": { - "line": 179, + "line": 208, "column": 4 }, "end": { - "line": 179, + "line": 208, "column": 27 } }, "expression": { "type": "AssignmentExpression", - "start": 5014, - "end": 5036, + "start": 5767, + "end": 5789, "loc": { "start": { - "line": 179, + "line": 208, "column": 4 }, "end": { - "line": 179, + "line": 208, "column": 26 } }, "operator": "=", "left": { "type": "MemberExpression", - "start": 5014, - "end": 5027, + "start": 5767, + "end": 5780, "loc": { "start": { - "line": 179, + "line": 208, "column": 4 }, "end": { - "line": 179, + "line": 208, "column": 17 } }, "object": { "type": "Identifier", - "start": 5014, - "end": 5020, + "start": 5767, + "end": 5773, "loc": { "start": { - "line": 179, + "line": 208, "column": 4 }, "end": { - "line": 179, + "line": 208, "column": 10 }, "identifierName": "global" @@ -9938,15 +10223,15 @@ }, "property": { "type": "Identifier", - "start": 5021, - "end": 5027, + "start": 5774, + "end": 5780, "loc": { "start": { - "line": 179, + "line": 208, "column": 11 }, "end": { - "line": 179, + "line": 208, "column": 17 }, "identifierName": "config" @@ -9957,15 +10242,15 @@ }, "right": { "type": "Identifier", - "start": 5030, - "end": 5036, + "start": 5783, + "end": 5789, "loc": { "start": { - "line": 179, + "line": 208, "column": 20 }, "end": { - "line": 179, + "line": 208, "column": 26 }, "identifierName": "config" @@ -9976,29 +10261,29 @@ }, { "type": "ReturnStatement", - "start": 5042, - "end": 5056, + "start": 5795, + "end": 5809, "loc": { "start": { - "line": 180, + "line": 209, "column": 4 }, "end": { - "line": 180, + "line": 209, "column": 18 } }, "argument": { "type": "Identifier", - "start": 5049, - "end": 5055, + "start": 5802, + "end": 5808, "loc": { "start": { - "line": 180, + "line": 209, "column": 11 }, "end": { - "line": 180, + "line": 209, "column": 17 }, "identifierName": "config" @@ -10013,15 +10298,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n ", - "start": 4338, - "end": 4764, + "start": 4999, + "end": 5425, "loc": { "start": { - "line": 158, + "line": 183, "column": 2 }, "end": { - "line": 173, + "line": 198, "column": 5 } } @@ -10127,64 +10412,128 @@ }, { "type": "CommentBlock", - "value": "*\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n ", - "start": 2077, - "end": 2277, + "value": "*\n * @param {array} plugins\n ", + "start": 1412, + "end": 1449, "loc": { "start": { - "line": 74, + "line": 35, "column": 2 }, "end": { - "line": 79, + "line": 37, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @return {object} value of 'backed.json'\n ", - "start": 2547, - "end": 2601, + "value": "*\n * Default bundles config\n *\n * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}\n ", + "start": 1666, + "end": 1794, "loc": { "start": { - "line": 93, + "line": 48, "column": 2 }, "end": { - "line": 95, + "line": 52, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @return {string} name from 'package.json'\n ", - "start": 3744, - "end": 3800, + "value": "*\n * Default server config\n *\n * @return {object} {\n * port: 3000,\n * entry: '/',\n * demo: 'demo',\n * docs: 'docs',\n * bowerPath: 'bower_components',\n * nodeModulesPath: 'node_modules',\n * index: null\n * }\n ", + "start": 1951, + "end": 2337, "loc": { "start": { - "line": 130, + "line": 63, "column": 2 }, "end": { - "line": 132, + "line": 75, "column": 5 } } }, { "type": "CommentBlock", - "value": "*\n * @return {string} name from 'bower.json'\n ", - "start": 4045, - "end": 4099, + "value": "*\n * Default watcher config\n *\n * @return {array} [{task: 'build', src: ['./src'], options: {}}\n ", + "start": 2547, + "end": 2657, "loc": { "start": { - "line": 144, + "line": 87, "column": 2 }, "end": { - "line": 146, + "line": 91, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n ", + "start": 2764, + "end": 2964, + "loc": { + "start": { + "line": 100, + "column": 2 + }, + "end": { + "line": 105, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {object} value of 'backed.json'\n ", + "start": 3234, + "end": 3288, + "loc": { + "start": { + "line": 119, + "column": 2 + }, + "end": { + "line": 121, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {string} name from 'package.json'\n ", + "start": 4405, + "end": 4461, + "loc": { + "start": { + "line": 155, + "column": 2 + }, + "end": { + "line": 157, + "column": 5 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {string} name from 'bower.json'\n ", + "start": 4706, + "end": 4760, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 171, "column": 5 } } @@ -10192,15 +10541,15 @@ { "type": "CommentBlock", "value": "*\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n ", - "start": 4338, - "end": 4764, + "start": 4999, + "end": 5425, "loc": { "start": { - "line": 158, + "line": 183, "column": 2 }, "end": { - "line": 173, + "line": 198, "column": 5 } } @@ -13378,9 +13727,9 @@ "postfix": false, "binop": null }, - "value": "setupPlugins", + "value": "defaultPlugins", "start": 1282, - "end": 1294, + "end": 1296, "loc": { "start": { "line": 27, @@ -13388,7 +13737,7 @@ }, "end": { "line": 27, - "column": 46 + "column": 48 } } }, @@ -13404,16 +13753,16 @@ "postfix": false, "binop": null }, - "start": 1294, - "end": 1295, + "start": 1296, + "end": 1297, "loc": { "start": { "line": 27, - "column": 46 + "column": 48 }, "end": { "line": 27, - "column": 47 + "column": 49 } } }, @@ -13430,16 +13779,16 @@ "binop": null }, "value": "bundle", - "start": 1295, - "end": 1301, + "start": 1297, + "end": 1303, "loc": { "start": { "line": 27, - "column": 47 + "column": 49 }, "end": { "line": 27, - "column": 53 + "column": 55 } } }, @@ -13456,16 +13805,16 @@ "binop": null, "updateContext": null }, - "start": 1301, - "end": 1302, + "start": 1303, + "end": 1304, "loc": { "start": { "line": 27, - "column": 53 + "column": 55 }, "end": { "line": 27, - "column": 54 + "column": 56 } } }, @@ -13482,16 +13831,16 @@ "binop": null }, "value": "plugins", - "start": 1302, - "end": 1309, + "start": 1304, + "end": 1311, "loc": { "start": { "line": 27, - "column": 54 + "column": 56 }, "end": { "line": 27, - "column": 61 + "column": 63 } } }, @@ -13507,16 +13856,16 @@ "postfix": false, "binop": null }, - "start": 1309, - "end": 1310, + "start": 1311, + "end": 1312, "loc": { "start": { "line": 27, - "column": 61 + "column": 63 }, "end": { "line": 27, - "column": 62 + "column": 64 } } }, @@ -13533,16 +13882,16 @@ "binop": null, "updateContext": null }, - "start": 1310, - "end": 1311, + "start": 1312, + "end": 1313, "loc": { "start": { "line": 27, - "column": 62 + "column": 64 }, "end": { "line": 27, - "column": 63 + "column": 65 } } }, @@ -13558,8 +13907,8 @@ "postfix": false, "binop": null }, - "start": 1322, - "end": 1323, + "start": 1324, + "end": 1325, "loc": { "start": { "line": 28, @@ -13583,8 +13932,8 @@ "postfix": false, "binop": null }, - "start": 1332, - "end": 1333, + "start": 1334, + "end": 1335, "loc": { "start": { "line": 29, @@ -13596,6 +13945,34 @@ } } }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 1344, + "end": 1350, + "loc": { + "start": { + "line": 30, + "column": 8 + }, + "end": { + "line": 30, + "column": 14 + } + } + }, { "type": { "label": "name", @@ -13609,16 +13986,16 @@ "binop": null }, "value": "resolve", - "start": 1342, - "end": 1349, + "start": 1351, + "end": 1358, "loc": { "start": { "line": 30, - "column": 8 + "column": 15 }, "end": { "line": 30, - "column": 15 + "column": 22 } } }, @@ -13634,16 +14011,16 @@ "postfix": false, "binop": null }, - "start": 1349, - "end": 1350, + "start": 1358, + "end": 1359, "loc": { "start": { "line": 30, - "column": 15 + "column": 22 }, "end": { "line": 30, - "column": 16 + "column": 23 } } }, @@ -13662,16 +14039,16 @@ "updateContext": null }, "value": "this", - "start": 1350, - "end": 1354, + "start": 1359, + "end": 1363, "loc": { "start": { "line": 30, - "column": 16 + "column": 23 }, "end": { "line": 30, - "column": 20 + "column": 27 } } }, @@ -13688,16 +14065,16 @@ "binop": null, "updateContext": null }, - "start": 1354, - "end": 1355, + "start": 1363, + "end": 1364, "loc": { "start": { "line": 30, - "column": 20 + "column": 27 }, "end": { "line": 30, - "column": 21 + "column": 28 } } }, @@ -13714,16 +14091,16 @@ "binop": null }, "value": "updateConfig", - "start": 1355, - "end": 1367, + "start": 1364, + "end": 1376, "loc": { "start": { "line": 30, - "column": 21 + "column": 28 }, "end": { "line": 30, - "column": 33 + "column": 40 } } }, @@ -13739,16 +14116,16 @@ "postfix": false, "binop": null }, - "start": 1367, - "end": 1368, + "start": 1376, + "end": 1377, "loc": { "start": { "line": 30, - "column": 33 + "column": 40 }, "end": { "line": 30, - "column": 34 + "column": 41 } } }, @@ -13765,16 +14142,16 @@ "binop": null }, "value": "config", - "start": 1368, - "end": 1374, + "start": 1377, + "end": 1383, "loc": { "start": { "line": 30, - "column": 34 + "column": 41 }, "end": { "line": 30, - "column": 40 + "column": 47 } } }, @@ -13790,16 +14167,16 @@ "postfix": false, "binop": null }, - "start": 1374, - "end": 1375, + "start": 1383, + "end": 1384, "loc": { "start": { "line": 30, - "column": 40 + "column": 47 }, "end": { "line": 30, - "column": 41 + "column": 48 } } }, @@ -13815,16 +14192,16 @@ "postfix": false, "binop": null }, - "start": 1375, - "end": 1376, + "start": 1384, + "end": 1385, "loc": { "start": { "line": 30, - "column": 41 + "column": 48 }, "end": { "line": 30, - "column": 42 + "column": 49 } } }, @@ -13841,16 +14218,16 @@ "binop": null, "updateContext": null }, - "start": 1376, - "end": 1377, + "start": 1385, + "end": 1386, "loc": { "start": { "line": 30, - "column": 42 + "column": 49 }, "end": { "line": 30, - "column": 43 + "column": 50 } } }, @@ -13866,8 +14243,8 @@ "postfix": false, "binop": null }, - "start": 1384, - "end": 1385, + "start": 1393, + "end": 1394, "loc": { "start": { "line": 31, @@ -13891,8 +14268,8 @@ "postfix": false, "binop": null }, - "start": 1385, - "end": 1386, + "start": 1394, + "end": 1395, "loc": { "start": { "line": 31, @@ -13917,8 +14294,8 @@ "binop": null, "updateContext": null }, - "start": 1386, - "end": 1387, + "start": 1395, + "end": 1396, "loc": { "start": { "line": 31, @@ -13942,8 +14319,8 @@ "postfix": false, "binop": null }, - "start": 1392, - "end": 1393, + "start": 1401, + "end": 1402, "loc": { "start": { "line": 32, @@ -13967,8 +14344,8 @@ "postfix": false, "binop": null }, - "start": 1393, - "end": 1394, + "start": 1402, + "end": 1403, "loc": { "start": { "line": 32, @@ -13993,8 +14370,8 @@ "binop": null, "updateContext": null }, - "start": 1394, - "end": 1395, + "start": 1403, + "end": 1404, "loc": { "start": { "line": 32, @@ -14018,8 +14395,8 @@ "postfix": false, "binop": null }, - "start": 1398, - "end": 1399, + "start": 1407, + "end": 1408, "loc": { "start": { "line": 33, @@ -14031,6 +14408,22 @@ } } }, + { + "type": "CommentBlock", + "value": "*\n * @param {array} plugins\n ", + "start": 1412, + "end": 1449, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 37, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -14043,17 +14436,17 @@ "postfix": false, "binop": null }, - "value": "setupPlugins", - "start": 1403, - "end": 1415, + "value": "defaultPlugins", + "start": 1452, + "end": 1466, "loc": { "start": { - "line": 35, + "line": 38, "column": 2 }, "end": { - "line": 35, - "column": 14 + "line": 38, + "column": 16 } } }, @@ -14069,16 +14462,16 @@ "postfix": false, "binop": null }, - "start": 1415, - "end": 1416, + "start": 1466, + "end": 1467, "loc": { "start": { - "line": 35, - "column": 14 + "line": 38, + "column": 16 }, "end": { - "line": 35, - "column": 15 + "line": 38, + "column": 17 } } }, @@ -14095,16 +14488,16 @@ "binop": null }, "value": "plugins", - "start": 1416, - "end": 1423, + "start": 1467, + "end": 1474, "loc": { "start": { - "line": 35, - "column": 15 + "line": 38, + "column": 17 }, "end": { - "line": 35, - "column": 22 + "line": 38, + "column": 24 } } }, @@ -14122,16 +14515,16 @@ "updateContext": null }, "value": "=", - "start": 1423, - "end": 1424, + "start": 1475, + "end": 1476, "loc": { "start": { - "line": 35, - "column": 22 + "line": 38, + "column": 25 }, "end": { - "line": 35, - "column": 23 + "line": 38, + "column": 26 } } }, @@ -14147,16 +14540,16 @@ "postfix": false, "binop": null }, - "start": 1424, - "end": 1425, + "start": 1477, + "end": 1478, "loc": { "start": { - "line": 35, - "column": 23 + "line": 38, + "column": 27 }, "end": { - "line": 35, - "column": 24 + "line": 38, + "column": 28 } } }, @@ -14172,16 +14565,16 @@ "postfix": false, "binop": null }, - "start": 1425, - "end": 1426, + "start": 1478, + "end": 1479, "loc": { "start": { - "line": 35, - "column": 24 + "line": 38, + "column": 28 }, "end": { - "line": 35, - "column": 25 + "line": 38, + "column": 29 } } }, @@ -14197,16 +14590,16 @@ "postfix": false, "binop": null }, - "start": 1426, - "end": 1427, + "start": 1479, + "end": 1480, "loc": { "start": { - "line": 35, - "column": 25 + "line": 38, + "column": 29 }, "end": { - "line": 35, - "column": 26 + "line": 38, + "column": 30 } } }, @@ -14222,16 +14615,16 @@ "postfix": false, "binop": null }, - "start": 1428, - "end": 1429, + "start": 1481, + "end": 1482, "loc": { "start": { - "line": 35, - "column": 27 + "line": 38, + "column": 31 }, "end": { - "line": 35, - "column": 28 + "line": 38, + "column": 32 } } }, @@ -14250,15 +14643,15 @@ "updateContext": null }, "value": "const", - "start": 1434, - "end": 1439, + "start": 1487, + "end": 1492, "loc": { "start": { - "line": 36, + "line": 39, "column": 4 }, "end": { - "line": 36, + "line": 39, "column": 9 } } @@ -14276,15 +14669,15 @@ "binop": null }, "value": "defaults", - "start": 1440, - "end": 1448, + "start": 1493, + "end": 1501, "loc": { "start": { - "line": 36, + "line": 39, "column": 10 }, "end": { - "line": 36, + "line": 39, "column": 18 } } @@ -14303,15 +14696,15 @@ "updateContext": null }, "value": "=", - "start": 1449, - "end": 1450, + "start": 1502, + "end": 1503, "loc": { "start": { - "line": 36, + "line": 39, "column": 19 }, "end": { - "line": 36, + "line": 39, "column": 20 } } @@ -14329,15 +14722,15 @@ "binop": null, "updateContext": null }, - "start": 1451, - "end": 1452, + "start": 1504, + "end": 1505, "loc": { "start": { - "line": 36, + "line": 39, "column": 21 }, "end": { - "line": 36, + "line": 39, "column": 22 } } @@ -14356,15 +14749,15 @@ "updateContext": null }, "value": "babel", - "start": 1452, - "end": 1459, + "start": 1505, + "end": 1512, "loc": { "start": { - "line": 36, + "line": 39, "column": 22 }, "end": { - "line": 36, + "line": 39, "column": 29 } } @@ -14382,15 +14775,15 @@ "binop": null, "updateContext": null }, - "start": 1459, - "end": 1460, + "start": 1512, + "end": 1513, "loc": { "start": { - "line": 36, + "line": 39, "column": 29 }, "end": { - "line": 36, + "line": 39, "column": 30 } } @@ -14409,15 +14802,15 @@ "updateContext": null }, "value": "cleanup", - "start": 1461, - "end": 1470, + "start": 1514, + "end": 1523, "loc": { "start": { - "line": 36, + "line": 39, "column": 31 }, "end": { - "line": 36, + "line": 39, "column": 40 } } @@ -14435,15 +14828,15 @@ "binop": null, "updateContext": null }, - "start": 1470, - "end": 1471, + "start": 1523, + "end": 1524, "loc": { "start": { - "line": 36, + "line": 39, "column": 40 }, "end": { - "line": 36, + "line": 39, "column": 41 } } @@ -14461,15 +14854,15 @@ "binop": null, "updateContext": null }, - "start": 1471, - "end": 1472, + "start": 1524, + "end": 1525, "loc": { "start": { - "line": 36, + "line": 39, "column": 41 }, "end": { - "line": 36, + "line": 39, "column": 42 } } @@ -14489,15 +14882,15 @@ "updateContext": null }, "value": "for", - "start": 1477, - "end": 1480, + "start": 1530, + "end": 1533, "loc": { "start": { - "line": 37, + "line": 40, "column": 4 }, "end": { - "line": 37, + "line": 40, "column": 7 } } @@ -14514,15 +14907,15 @@ "postfix": false, "binop": null }, - "start": 1481, - "end": 1482, + "start": 1534, + "end": 1535, "loc": { "start": { - "line": 37, + "line": 40, "column": 8 }, "end": { - "line": 37, + "line": 40, "column": 9 } } @@ -14542,15 +14935,15 @@ "updateContext": null }, "value": "let", - "start": 1482, - "end": 1485, + "start": 1535, + "end": 1538, "loc": { "start": { - "line": 37, + "line": 40, "column": 9 }, "end": { - "line": 37, + "line": 40, "column": 12 } } @@ -14568,15 +14961,15 @@ "binop": null }, "value": "key", - "start": 1486, - "end": 1489, + "start": 1539, + "end": 1542, "loc": { "start": { - "line": 37, + "line": 40, "column": 13 }, "end": { - "line": 37, + "line": 40, "column": 16 } } @@ -14594,15 +14987,15 @@ "binop": null }, "value": "of", - "start": 1490, - "end": 1492, + "start": 1543, + "end": 1545, "loc": { "start": { - "line": 37, + "line": 40, "column": 17 }, "end": { - "line": 37, + "line": 40, "column": 19 } } @@ -14620,15 +15013,15 @@ "binop": null }, "value": "defaults", - "start": 1493, - "end": 1501, + "start": 1546, + "end": 1554, "loc": { "start": { - "line": 37, + "line": 40, "column": 20 }, "end": { - "line": 37, + "line": 40, "column": 28 } } @@ -14645,15 +15038,15 @@ "postfix": false, "binop": null }, - "start": 1501, - "end": 1502, + "start": 1554, + "end": 1555, "loc": { "start": { - "line": 37, + "line": 40, "column": 28 }, "end": { - "line": 37, + "line": 40, "column": 29 } } @@ -14670,15 +15063,15 @@ "postfix": false, "binop": null }, - "start": 1503, - "end": 1504, + "start": 1556, + "end": 1557, "loc": { "start": { - "line": 37, + "line": 40, "column": 30 }, "end": { - "line": 37, + "line": 40, "column": 31 } } @@ -14698,15 +15091,15 @@ "updateContext": null }, "value": "if", - "start": 1511, - "end": 1513, + "start": 1564, + "end": 1566, "loc": { "start": { - "line": 38, + "line": 41, "column": 6 }, "end": { - "line": 38, + "line": 41, "column": 8 } } @@ -14723,15 +15116,15 @@ "postfix": false, "binop": null }, - "start": 1514, - "end": 1515, + "start": 1567, + "end": 1568, "loc": { "start": { - "line": 38, + "line": 41, "column": 9 }, "end": { - "line": 38, + "line": 41, "column": 10 } } @@ -14751,15 +15144,15 @@ "updateContext": null }, "value": "this", - "start": 1515, - "end": 1519, + "start": 1568, + "end": 1572, "loc": { "start": { - "line": 38, + "line": 41, "column": 10 }, "end": { - "line": 38, + "line": 41, "column": 14 } } @@ -14777,15 +15170,15 @@ "binop": null, "updateContext": null }, - "start": 1519, - "end": 1520, + "start": 1572, + "end": 1573, "loc": { "start": { - "line": 38, + "line": 41, "column": 14 }, "end": { - "line": 38, + "line": 41, "column": 15 } } @@ -14803,15 +15196,15 @@ "binop": null }, "value": "key", - "start": 1520, - "end": 1523, + "start": 1573, + "end": 1576, "loc": { "start": { - "line": 38, + "line": 41, "column": 15 }, "end": { - "line": 38, + "line": 41, "column": 18 } } @@ -14829,15 +15222,15 @@ "binop": null, "updateContext": null }, - "start": 1523, - "end": 1524, + "start": 1576, + "end": 1577, "loc": { "start": { - "line": 38, + "line": 41, "column": 18 }, "end": { - "line": 38, + "line": 41, "column": 19 } } @@ -14856,15 +15249,15 @@ "updateContext": null }, "value": "&&", - "start": 1525, - "end": 1527, + "start": 1578, + "end": 1580, "loc": { "start": { - "line": 38, + "line": 41, "column": 20 }, "end": { - "line": 38, + "line": 41, "column": 22 } } @@ -14883,15 +15276,15 @@ "updateContext": null }, "value": "!", - "start": 1528, - "end": 1529, + "start": 1581, + "end": 1582, "loc": { "start": { - "line": 38, + "line": 41, "column": 23 }, "end": { - "line": 38, + "line": 41, "column": 24 } } @@ -14909,15 +15302,15 @@ "binop": null }, "value": "plugins", - "start": 1529, - "end": 1536, + "start": 1582, + "end": 1589, "loc": { "start": { - "line": 38, + "line": 41, "column": 24 }, "end": { - "line": 38, + "line": 41, "column": 31 } } @@ -14935,15 +15328,15 @@ "binop": null, "updateContext": null }, - "start": 1536, - "end": 1537, + "start": 1589, + "end": 1590, "loc": { "start": { - "line": 38, + "line": 41, "column": 31 }, "end": { - "line": 38, + "line": 41, "column": 32 } } @@ -14961,15 +15354,15 @@ "binop": null }, "value": "key", - "start": 1537, - "end": 1540, + "start": 1590, + "end": 1593, "loc": { "start": { - "line": 38, + "line": 41, "column": 32 }, "end": { - "line": 38, + "line": 41, "column": 35 } } @@ -14987,15 +15380,15 @@ "binop": null, "updateContext": null }, - "start": 1540, - "end": 1541, + "start": 1593, + "end": 1594, "loc": { "start": { - "line": 38, + "line": 41, "column": 35 }, "end": { - "line": 38, + "line": 41, "column": 36 } } @@ -15012,15 +15405,15 @@ "postfix": false, "binop": null }, - "start": 1541, - "end": 1542, + "start": 1594, + "end": 1595, "loc": { "start": { - "line": 38, + "line": 41, "column": 36 }, "end": { - "line": 38, + "line": 41, "column": 37 } } @@ -15037,15 +15430,15 @@ "postfix": false, "binop": null }, - "start": 1543, - "end": 1544, + "start": 1596, + "end": 1597, "loc": { "start": { - "line": 38, + "line": 41, "column": 38 }, "end": { - "line": 38, + "line": 41, "column": 39 } } @@ -15063,15 +15456,15 @@ "binop": null }, "value": "plugins", - "start": 1553, - "end": 1560, + "start": 1606, + "end": 1613, "loc": { "start": { - "line": 39, + "line": 42, "column": 8 }, "end": { - "line": 39, + "line": 42, "column": 15 } } @@ -15089,15 +15482,15 @@ "binop": null, "updateContext": null }, - "start": 1560, - "end": 1561, + "start": 1613, + "end": 1614, "loc": { "start": { - "line": 39, + "line": 42, "column": 15 }, "end": { - "line": 39, + "line": 42, "column": 16 } } @@ -15115,15 +15508,15 @@ "binop": null }, "value": "key", - "start": 1561, - "end": 1564, + "start": 1614, + "end": 1617, "loc": { "start": { - "line": 39, + "line": 42, "column": 16 }, "end": { - "line": 39, + "line": 42, "column": 19 } } @@ -15141,15 +15534,15 @@ "binop": null, "updateContext": null }, - "start": 1564, - "end": 1565, + "start": 1617, + "end": 1618, "loc": { "start": { - "line": 39, + "line": 42, "column": 19 }, "end": { - "line": 39, + "line": 42, "column": 20 } } @@ -15168,15 +15561,15 @@ "updateContext": null }, "value": "=", - "start": 1566, - "end": 1567, + "start": 1619, + "end": 1620, "loc": { "start": { - "line": 39, + "line": 42, "column": 21 }, "end": { - "line": 39, + "line": 42, "column": 22 } } @@ -15193,15 +15586,15 @@ "postfix": false, "binop": null }, - "start": 1568, - "end": 1569, + "start": 1621, + "end": 1622, "loc": { "start": { - "line": 39, + "line": 42, "column": 23 }, "end": { - "line": 39, + "line": 42, "column": 24 } } @@ -15218,15 +15611,15 @@ "postfix": false, "binop": null }, - "start": 1569, - "end": 1570, + "start": 1622, + "end": 1623, "loc": { "start": { - "line": 39, + "line": 42, "column": 24 }, "end": { - "line": 39, + "line": 42, "column": 25 } } @@ -15244,15 +15637,15 @@ "binop": null, "updateContext": null }, - "start": 1570, - "end": 1571, + "start": 1623, + "end": 1624, "loc": { "start": { - "line": 39, + "line": 42, "column": 25 }, "end": { - "line": 39, + "line": 42, "column": 26 } } @@ -15269,15 +15662,15 @@ "postfix": false, "binop": null }, - "start": 1578, - "end": 1579, + "start": 1631, + "end": 1632, "loc": { "start": { - "line": 40, + "line": 43, "column": 6 }, "end": { - "line": 40, + "line": 43, "column": 7 } } @@ -15294,15 +15687,15 @@ "postfix": false, "binop": null }, - "start": 1584, - "end": 1585, + "start": 1637, + "end": 1638, "loc": { "start": { - "line": 41, + "line": 44, "column": 4 }, "end": { - "line": 41, + "line": 44, "column": 5 } } @@ -15322,15 +15715,15 @@ "updateContext": null }, "value": "return", - "start": 1590, - "end": 1596, + "start": 1643, + "end": 1649, "loc": { "start": { - "line": 42, + "line": 45, "column": 4 }, "end": { - "line": 42, + "line": 45, "column": 10 } } @@ -15348,15 +15741,15 @@ "binop": null }, "value": "plugins", - "start": 1597, - "end": 1604, + "start": 1650, + "end": 1657, "loc": { "start": { - "line": 42, + "line": 45, "column": 11 }, "end": { - "line": 42, + "line": 45, "column": 18 } } @@ -15374,15 +15767,15 @@ "binop": null, "updateContext": null }, - "start": 1604, - "end": 1605, + "start": 1657, + "end": 1658, "loc": { "start": { - "line": 42, + "line": 45, "column": 18 }, "end": { - "line": 42, + "line": 45, "column": 19 } } @@ -15399,19 +15792,35 @@ "postfix": false, "binop": null }, - "start": 1608, - "end": 1609, + "start": 1661, + "end": 1662, "loc": { "start": { - "line": 43, + "line": 46, "column": 2 }, "end": { - "line": 43, + "line": 46, "column": 3 } } }, + { + "type": "CommentBlock", + "value": "*\n * Default bundles config\n *\n * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}\n ", + "start": 1666, + "end": 1794, + "loc": { + "start": { + "line": 48, + "column": 2 + }, + "end": { + "line": 52, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -15425,15 +15834,15 @@ "binop": null }, "value": "get", - "start": 1613, - "end": 1616, + "start": 1797, + "end": 1800, "loc": { "start": { - "line": 45, + "line": 53, "column": 2 }, "end": { - "line": 45, + "line": 53, "column": 5 } } @@ -15451,15 +15860,15 @@ "binop": null }, "value": "bundles", - "start": 1617, - "end": 1624, + "start": 1801, + "end": 1808, "loc": { "start": { - "line": 45, + "line": 53, "column": 6 }, "end": { - "line": 45, + "line": 53, "column": 13 } } @@ -15476,15 +15885,15 @@ "postfix": false, "binop": null }, - "start": 1624, - "end": 1625, + "start": 1808, + "end": 1809, "loc": { "start": { - "line": 45, + "line": 53, "column": 13 }, "end": { - "line": 45, + "line": 53, "column": 14 } } @@ -15501,15 +15910,15 @@ "postfix": false, "binop": null }, - "start": 1625, - "end": 1626, + "start": 1809, + "end": 1810, "loc": { "start": { - "line": 45, + "line": 53, "column": 14 }, "end": { - "line": 45, + "line": 53, "column": 15 } } @@ -15526,15 +15935,15 @@ "postfix": false, "binop": null }, - "start": 1627, - "end": 1628, + "start": 1811, + "end": 1812, "loc": { "start": { - "line": 45, + "line": 53, "column": 16 }, "end": { - "line": 45, + "line": 53, "column": 17 } } @@ -15554,15 +15963,15 @@ "updateContext": null }, "value": "return", - "start": 1633, - "end": 1639, + "start": 1817, + "end": 1823, "loc": { "start": { - "line": 46, + "line": 54, "column": 4 }, "end": { - "line": 46, + "line": 54, "column": 10 } } @@ -15580,15 +15989,15 @@ "binop": null, "updateContext": null }, - "start": 1640, - "end": 1641, + "start": 1824, + "end": 1825, "loc": { "start": { - "line": 46, + "line": 54, "column": 11 }, "end": { - "line": 46, + "line": 54, "column": 12 } } @@ -15605,15 +16014,15 @@ "postfix": false, "binop": null }, - "start": 1648, - "end": 1649, + "start": 1832, + "end": 1833, "loc": { "start": { - "line": 47, + "line": 55, "column": 6 }, "end": { - "line": 47, + "line": 55, "column": 7 } } @@ -15631,15 +16040,15 @@ "binop": null }, "value": "src", - "start": 1658, - "end": 1661, + "start": 1842, + "end": 1845, "loc": { "start": { - "line": 48, + "line": 56, "column": 8 }, "end": { - "line": 48, + "line": 56, "column": 11 } } @@ -15657,15 +16066,15 @@ "binop": null, "updateContext": null }, - "start": 1661, - "end": 1662, + "start": 1845, + "end": 1846, "loc": { "start": { - "line": 48, + "line": 56, "column": 11 }, "end": { - "line": 48, + "line": 56, "column": 12 } } @@ -15682,15 +16091,15 @@ "postfix": false, "binop": null }, - "start": 1663, - "end": 1664, + "start": 1847, + "end": 1848, "loc": { "start": { - "line": 48, + "line": 56, "column": 13 }, "end": { - "line": 48, + "line": 56, "column": 14 } } @@ -15709,15 +16118,15 @@ "updateContext": null }, "value": "src/", - "start": 1664, - "end": 1668, + "start": 1848, + "end": 1852, "loc": { "start": { - "line": 48, + "line": 56, "column": 14 }, "end": { - "line": 48, + "line": 56, "column": 18 } } @@ -15734,15 +16143,15 @@ "postfix": false, "binop": null }, - "start": 1668, - "end": 1670, + "start": 1852, + "end": 1854, "loc": { "start": { - "line": 48, + "line": 56, "column": 18 }, "end": { - "line": 48, + "line": 56, "column": 20 } } @@ -15762,15 +16171,15 @@ "updateContext": null }, "value": "this", - "start": 1670, - "end": 1674, + "start": 1854, + "end": 1858, "loc": { "start": { - "line": 48, + "line": 56, "column": 20 }, "end": { - "line": 48, + "line": 56, "column": 24 } } @@ -15788,15 +16197,15 @@ "binop": null, "updateContext": null }, - "start": 1674, - "end": 1675, + "start": 1858, + "end": 1859, "loc": { "start": { - "line": 48, + "line": 56, "column": 24 }, "end": { - "line": 48, + "line": 56, "column": 25 } } @@ -15814,15 +16223,15 @@ "binop": null }, "value": "name", - "start": 1675, - "end": 1679, + "start": 1859, + "end": 1863, "loc": { "start": { - "line": 48, + "line": 56, "column": 25 }, "end": { - "line": 48, + "line": 56, "column": 29 } } @@ -15839,15 +16248,15 @@ "postfix": false, "binop": null }, - "start": 1679, - "end": 1680, + "start": 1863, + "end": 1864, "loc": { "start": { - "line": 48, + "line": 56, "column": 29 }, "end": { - "line": 48, + "line": 56, "column": 30 } } @@ -15866,15 +16275,15 @@ "updateContext": null }, "value": ".js", - "start": 1680, - "end": 1683, + "start": 1864, + "end": 1867, "loc": { "start": { - "line": 48, + "line": 56, "column": 30 }, "end": { - "line": 48, + "line": 56, "column": 33 } } @@ -15891,15 +16300,15 @@ "postfix": false, "binop": null }, - "start": 1683, - "end": 1684, + "start": 1867, + "end": 1868, "loc": { "start": { - "line": 48, + "line": 56, "column": 33 }, "end": { - "line": 48, + "line": 56, "column": 34 } } @@ -15917,15 +16326,15 @@ "binop": null, "updateContext": null }, - "start": 1684, - "end": 1685, + "start": 1868, + "end": 1869, "loc": { "start": { - "line": 48, + "line": 56, "column": 34 }, "end": { - "line": 48, + "line": 56, "column": 35 } } @@ -15943,15 +16352,15 @@ "binop": null }, "value": "dest", - "start": 1694, - "end": 1698, + "start": 1878, + "end": 1882, "loc": { "start": { - "line": 49, + "line": 57, "column": 8 }, "end": { - "line": 49, + "line": 57, "column": 12 } } @@ -15969,15 +16378,15 @@ "binop": null, "updateContext": null }, - "start": 1698, - "end": 1699, + "start": 1882, + "end": 1883, "loc": { "start": { - "line": 49, + "line": 57, "column": 12 }, "end": { - "line": 49, + "line": 57, "column": 13 } } @@ -15994,15 +16403,15 @@ "postfix": false, "binop": null }, - "start": 1700, - "end": 1701, + "start": 1884, + "end": 1885, "loc": { "start": { - "line": 49, + "line": 57, "column": 14 }, "end": { - "line": 49, + "line": 57, "column": 15 } } @@ -16021,15 +16430,15 @@ "updateContext": null }, "value": "dist/", - "start": 1701, - "end": 1706, + "start": 1885, + "end": 1890, "loc": { "start": { - "line": 49, + "line": 57, "column": 15 }, "end": { - "line": 49, + "line": 57, "column": 20 } } @@ -16046,15 +16455,15 @@ "postfix": false, "binop": null }, - "start": 1706, - "end": 1708, + "start": 1890, + "end": 1892, "loc": { "start": { - "line": 49, + "line": 57, "column": 20 }, "end": { - "line": 49, + "line": 57, "column": 22 } } @@ -16074,15 +16483,15 @@ "updateContext": null }, "value": "this", - "start": 1708, - "end": 1712, + "start": 1892, + "end": 1896, "loc": { "start": { - "line": 49, + "line": 57, "column": 22 }, "end": { - "line": 49, + "line": 57, "column": 26 } } @@ -16100,15 +16509,15 @@ "binop": null, "updateContext": null }, - "start": 1712, - "end": 1713, + "start": 1896, + "end": 1897, "loc": { "start": { - "line": 49, + "line": 57, "column": 26 }, "end": { - "line": 49, + "line": 57, "column": 27 } } @@ -16126,15 +16535,15 @@ "binop": null }, "value": "name", - "start": 1713, - "end": 1717, + "start": 1897, + "end": 1901, "loc": { "start": { - "line": 49, + "line": 57, "column": 27 }, "end": { - "line": 49, + "line": 57, "column": 31 } } @@ -16151,15 +16560,15 @@ "postfix": false, "binop": null }, - "start": 1717, - "end": 1718, + "start": 1901, + "end": 1902, "loc": { "start": { - "line": 49, + "line": 57, "column": 31 }, "end": { - "line": 49, + "line": 57, "column": 32 } } @@ -16178,15 +16587,15 @@ "updateContext": null }, "value": ".js", - "start": 1718, - "end": 1721, + "start": 1902, + "end": 1905, "loc": { "start": { - "line": 49, + "line": 57, "column": 32 }, "end": { - "line": 49, + "line": 57, "column": 35 } } @@ -16203,15 +16612,15 @@ "postfix": false, "binop": null }, - "start": 1721, - "end": 1722, + "start": 1905, + "end": 1906, "loc": { "start": { - "line": 49, + "line": 57, "column": 35 }, "end": { - "line": 49, + "line": 57, "column": 36 } } @@ -16229,15 +16638,15 @@ "binop": null, "updateContext": null }, - "start": 1722, - "end": 1723, + "start": 1906, + "end": 1907, "loc": { "start": { - "line": 49, + "line": 57, "column": 36 }, "end": { - "line": 49, + "line": 57, "column": 37 } } @@ -16255,15 +16664,15 @@ "binop": null }, "value": "format", - "start": 1732, - "end": 1738, + "start": 1916, + "end": 1922, "loc": { "start": { - "line": 50, + "line": 58, "column": 8 }, "end": { - "line": 50, + "line": 58, "column": 14 } } @@ -16281,15 +16690,15 @@ "binop": null, "updateContext": null }, - "start": 1738, - "end": 1739, + "start": 1922, + "end": 1923, "loc": { "start": { - "line": 50, + "line": 58, "column": 14 }, "end": { - "line": 50, + "line": 58, "column": 15 } } @@ -16308,15 +16717,15 @@ "updateContext": null }, "value": "es", - "start": 1740, - "end": 1744, + "start": 1924, + "end": 1928, "loc": { "start": { - "line": 50, + "line": 58, "column": 16 }, "end": { - "line": 50, + "line": 58, "column": 20 } } @@ -16333,15 +16742,15 @@ "postfix": false, "binop": null }, - "start": 1751, - "end": 1752, + "start": 1935, + "end": 1936, "loc": { "start": { - "line": 51, + "line": 59, "column": 6 }, "end": { - "line": 51, + "line": 59, "column": 7 } } @@ -16359,16 +16768,42 @@ "binop": null, "updateContext": null }, - "start": 1757, - "end": 1758, + "start": 1941, + "end": 1942, "loc": { "start": { - "line": 52, + "line": 60, "column": 4 }, "end": { - "line": 52, + "line": 60, + "column": 5 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 1942, + "end": 1943, + "loc": { + "start": { + "line": 60, "column": 5 + }, + "end": { + "line": 60, + "column": 6 } } }, @@ -16384,19 +16819,35 @@ "postfix": false, "binop": null }, - "start": 1761, - "end": 1762, + "start": 1946, + "end": 1947, "loc": { "start": { - "line": 53, + "line": 61, "column": 2 }, "end": { - "line": 53, + "line": 61, "column": 3 } } }, + { + "type": "CommentBlock", + "value": "*\n * Default server config\n *\n * @return {object} {\n * port: 3000,\n * entry: '/',\n * demo: 'demo',\n * docs: 'docs',\n * bowerPath: 'bower_components',\n * nodeModulesPath: 'node_modules',\n * index: null\n * }\n ", + "start": 1951, + "end": 2337, + "loc": { + "start": { + "line": 63, + "column": 2 + }, + "end": { + "line": 75, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -16410,15 +16861,15 @@ "binop": null }, "value": "get", - "start": 1766, - "end": 1769, + "start": 2340, + "end": 2343, "loc": { "start": { - "line": 55, + "line": 76, "column": 2 }, "end": { - "line": 55, + "line": 76, "column": 5 } } @@ -16436,15 +16887,15 @@ "binop": null }, "value": "server", - "start": 1770, - "end": 1776, + "start": 2344, + "end": 2350, "loc": { "start": { - "line": 55, + "line": 76, "column": 6 }, "end": { - "line": 55, + "line": 76, "column": 12 } } @@ -16461,15 +16912,15 @@ "postfix": false, "binop": null }, - "start": 1776, - "end": 1777, + "start": 2350, + "end": 2351, "loc": { "start": { - "line": 55, + "line": 76, "column": 12 }, "end": { - "line": 55, + "line": 76, "column": 13 } } @@ -16486,15 +16937,15 @@ "postfix": false, "binop": null }, - "start": 1777, - "end": 1778, + "start": 2351, + "end": 2352, "loc": { "start": { - "line": 55, + "line": 76, "column": 13 }, "end": { - "line": 55, + "line": 76, "column": 14 } } @@ -16511,15 +16962,15 @@ "postfix": false, "binop": null }, - "start": 1779, - "end": 1780, + "start": 2353, + "end": 2354, "loc": { "start": { - "line": 55, + "line": 76, "column": 15 }, "end": { - "line": 55, + "line": 76, "column": 16 } } @@ -16539,15 +16990,15 @@ "updateContext": null }, "value": "return", - "start": 1785, - "end": 1791, + "start": 2359, + "end": 2365, "loc": { "start": { - "line": 56, + "line": 77, "column": 4 }, "end": { - "line": 56, + "line": 77, "column": 10 } } @@ -16564,15 +17015,15 @@ "postfix": false, "binop": null }, - "start": 1792, - "end": 1793, + "start": 2366, + "end": 2367, "loc": { "start": { - "line": 56, + "line": 77, "column": 11 }, "end": { - "line": 56, + "line": 77, "column": 12 } } @@ -16590,15 +17041,15 @@ "binop": null }, "value": "port", - "start": 1800, - "end": 1804, + "start": 2374, + "end": 2378, "loc": { "start": { - "line": 57, + "line": 78, "column": 6 }, "end": { - "line": 57, + "line": 78, "column": 10 } } @@ -16616,15 +17067,15 @@ "binop": null, "updateContext": null }, - "start": 1804, - "end": 1805, + "start": 2378, + "end": 2379, "loc": { "start": { - "line": 57, + "line": 78, "column": 10 }, "end": { - "line": 57, + "line": 78, "column": 11 } } @@ -16643,15 +17094,15 @@ "updateContext": null }, "value": 3000, - "start": 1806, - "end": 1810, + "start": 2380, + "end": 2384, "loc": { "start": { - "line": 57, + "line": 78, "column": 12 }, "end": { - "line": 57, + "line": 78, "column": 16 } } @@ -16669,15 +17120,15 @@ "binop": null, "updateContext": null }, - "start": 1810, - "end": 1811, + "start": 2384, + "end": 2385, "loc": { "start": { - "line": 57, + "line": 78, "column": 16 }, "end": { - "line": 57, + "line": 78, "column": 17 } } @@ -16695,15 +17146,15 @@ "binop": null }, "value": "entry", - "start": 1818, - "end": 1823, + "start": 2392, + "end": 2397, "loc": { "start": { - "line": 58, + "line": 79, "column": 6 }, "end": { - "line": 58, + "line": 79, "column": 11 } } @@ -16721,15 +17172,15 @@ "binop": null, "updateContext": null }, - "start": 1823, - "end": 1824, + "start": 2397, + "end": 2398, "loc": { "start": { - "line": 58, + "line": 79, "column": 11 }, "end": { - "line": 58, + "line": 79, "column": 12 } } @@ -16748,15 +17199,15 @@ "updateContext": null }, "value": "/", - "start": 1825, - "end": 1828, + "start": 2399, + "end": 2402, "loc": { "start": { - "line": 58, + "line": 79, "column": 13 }, "end": { - "line": 58, + "line": 79, "column": 16 } } @@ -16774,15 +17225,15 @@ "binop": null, "updateContext": null }, - "start": 1828, - "end": 1829, + "start": 2402, + "end": 2403, "loc": { "start": { - "line": 58, + "line": 79, "column": 16 }, "end": { - "line": 58, + "line": 79, "column": 17 } } @@ -16800,15 +17251,15 @@ "binop": null }, "value": "demo", - "start": 1836, - "end": 1840, + "start": 2410, + "end": 2414, "loc": { "start": { - "line": 59, + "line": 80, "column": 6 }, "end": { - "line": 59, + "line": 80, "column": 10 } } @@ -16826,15 +17277,15 @@ "binop": null, "updateContext": null }, - "start": 1840, - "end": 1841, + "start": 2414, + "end": 2415, "loc": { "start": { - "line": 59, + "line": 80, "column": 10 }, "end": { - "line": 59, + "line": 80, "column": 11 } } @@ -16853,15 +17304,15 @@ "updateContext": null }, "value": "demo", - "start": 1842, - "end": 1848, + "start": 2416, + "end": 2422, "loc": { "start": { - "line": 59, + "line": 80, "column": 12 }, "end": { - "line": 59, + "line": 80, "column": 18 } } @@ -16879,15 +17330,15 @@ "binop": null, "updateContext": null }, - "start": 1848, - "end": 1849, + "start": 2422, + "end": 2423, "loc": { "start": { - "line": 59, + "line": 80, "column": 18 }, "end": { - "line": 59, + "line": 80, "column": 19 } } @@ -16905,15 +17356,15 @@ "binop": null }, "value": "docs", - "start": 1856, - "end": 1860, + "start": 2430, + "end": 2434, "loc": { "start": { - "line": 60, + "line": 81, "column": 6 }, "end": { - "line": 60, + "line": 81, "column": 10 } } @@ -16931,15 +17382,15 @@ "binop": null, "updateContext": null }, - "start": 1860, - "end": 1861, + "start": 2434, + "end": 2435, "loc": { "start": { - "line": 60, + "line": 81, "column": 10 }, "end": { - "line": 60, + "line": 81, "column": 11 } } @@ -16958,15 +17409,15 @@ "updateContext": null }, "value": "docs", - "start": 1862, - "end": 1868, + "start": 2436, + "end": 2442, "loc": { "start": { - "line": 60, + "line": 81, "column": 12 }, "end": { - "line": 60, + "line": 81, "column": 18 } } @@ -16984,15 +17435,15 @@ "binop": null, "updateContext": null }, - "start": 1868, - "end": 1869, + "start": 2442, + "end": 2443, "loc": { "start": { - "line": 60, + "line": 81, "column": 18 }, "end": { - "line": 60, + "line": 81, "column": 19 } } @@ -17010,15 +17461,15 @@ "binop": null }, "value": "bowerPath", - "start": 1876, - "end": 1885, + "start": 2450, + "end": 2459, "loc": { "start": { - "line": 61, + "line": 82, "column": 6 }, "end": { - "line": 61, + "line": 82, "column": 15 } } @@ -17036,15 +17487,15 @@ "binop": null, "updateContext": null }, - "start": 1885, - "end": 1886, + "start": 2459, + "end": 2460, "loc": { "start": { - "line": 61, + "line": 82, "column": 15 }, "end": { - "line": 61, + "line": 82, "column": 16 } } @@ -17063,15 +17514,15 @@ "updateContext": null }, "value": "bower_components", - "start": 1887, - "end": 1905, + "start": 2461, + "end": 2479, "loc": { "start": { - "line": 61, + "line": 82, "column": 17 }, "end": { - "line": 61, + "line": 82, "column": 35 } } @@ -17089,15 +17540,15 @@ "binop": null, "updateContext": null }, - "start": 1905, - "end": 1906, + "start": 2479, + "end": 2480, "loc": { "start": { - "line": 61, + "line": 82, "column": 35 }, "end": { - "line": 61, + "line": 82, "column": 36 } } @@ -17115,15 +17566,15 @@ "binop": null }, "value": "nodeModulesPath", - "start": 1913, - "end": 1928, + "start": 2487, + "end": 2502, "loc": { "start": { - "line": 62, + "line": 83, "column": 6 }, "end": { - "line": 62, + "line": 83, "column": 21 } } @@ -17141,15 +17592,15 @@ "binop": null, "updateContext": null }, - "start": 1928, - "end": 1929, + "start": 2502, + "end": 2503, "loc": { "start": { - "line": 62, + "line": 83, "column": 21 }, "end": { - "line": 62, + "line": 83, "column": 22 } } @@ -17168,15 +17619,15 @@ "updateContext": null }, "value": "node_modules", - "start": 1930, - "end": 1944, + "start": 2504, + "end": 2518, "loc": { "start": { - "line": 62, + "line": 83, "column": 23 }, "end": { - "line": 62, + "line": 83, "column": 37 } } @@ -17194,15 +17645,15 @@ "binop": null, "updateContext": null }, - "start": 1944, - "end": 1945, + "start": 2518, + "end": 2519, "loc": { "start": { - "line": 62, + "line": 83, "column": 37 }, "end": { - "line": 62, + "line": 83, "column": 38 } } @@ -17220,15 +17671,15 @@ "binop": null }, "value": "index", - "start": 1952, - "end": 1957, + "start": 2526, + "end": 2531, "loc": { "start": { - "line": 63, + "line": 84, "column": 6 }, "end": { - "line": 63, + "line": 84, "column": 11 } } @@ -17246,15 +17697,15 @@ "binop": null, "updateContext": null }, - "start": 1957, - "end": 1958, + "start": 2531, + "end": 2532, "loc": { "start": { - "line": 63, + "line": 84, "column": 11 }, "end": { - "line": 63, + "line": 84, "column": 12 } } @@ -17274,15 +17725,15 @@ "updateContext": null }, "value": "null", - "start": 1959, - "end": 1963, + "start": 2533, + "end": 2537, "loc": { "start": { - "line": 63, + "line": 84, "column": 13 }, "end": { - "line": 63, + "line": 84, "column": 17 } } @@ -17299,15 +17750,15 @@ "postfix": false, "binop": null }, - "start": 1963, - "end": 1964, + "start": 2537, + "end": 2538, "loc": { "start": { - "line": 63, + "line": 84, "column": 17 }, "end": { - "line": 63, + "line": 84, "column": 18 } } @@ -17325,15 +17776,15 @@ "binop": null, "updateContext": null }, - "start": 1964, - "end": 1965, + "start": 2538, + "end": 2539, "loc": { "start": { - "line": 63, + "line": 84, "column": 18 }, "end": { - "line": 63, + "line": 84, "column": 19 } } @@ -17350,19 +17801,35 @@ "postfix": false, "binop": null }, - "start": 1968, - "end": 1969, + "start": 2542, + "end": 2543, "loc": { "start": { - "line": 64, + "line": 85, "column": 2 }, "end": { - "line": 64, + "line": 85, "column": 3 } } }, + { + "type": "CommentBlock", + "value": "*\n * Default watcher config\n *\n * @return {array} [{task: 'build', src: ['./src'], options: {}}\n ", + "start": 2547, + "end": 2657, + "loc": { + "start": { + "line": 87, + "column": 2 + }, + "end": { + "line": 91, + "column": 5 + } + } + }, { "type": { "label": "name", @@ -17376,15 +17843,15 @@ "binop": null }, "value": "get", - "start": 1973, - "end": 1976, + "start": 2660, + "end": 2663, "loc": { "start": { - "line": 66, + "line": 92, "column": 2 }, "end": { - "line": 66, + "line": 92, "column": 5 } } @@ -17402,15 +17869,15 @@ "binop": null }, "value": "watch", - "start": 1977, - "end": 1982, + "start": 2664, + "end": 2669, "loc": { "start": { - "line": 66, + "line": 92, "column": 6 }, "end": { - "line": 66, + "line": 92, "column": 11 } } @@ -17427,15 +17894,15 @@ "postfix": false, "binop": null }, - "start": 1982, - "end": 1983, + "start": 2669, + "end": 2670, "loc": { "start": { - "line": 66, + "line": 92, "column": 11 }, "end": { - "line": 66, + "line": 92, "column": 12 } } @@ -17452,15 +17919,15 @@ "postfix": false, "binop": null }, - "start": 1983, - "end": 1984, + "start": 2670, + "end": 2671, "loc": { "start": { - "line": 66, + "line": 92, "column": 12 }, "end": { - "line": 66, + "line": 92, "column": 13 } } @@ -17477,15 +17944,15 @@ "postfix": false, "binop": null }, - "start": 1985, - "end": 1986, + "start": 2672, + "end": 2673, "loc": { "start": { - "line": 66, + "line": 92, "column": 14 }, "end": { - "line": 66, + "line": 92, "column": 15 } } @@ -17505,15 +17972,15 @@ "updateContext": null }, "value": "return", - "start": 1991, - "end": 1997, + "start": 2678, + "end": 2684, "loc": { "start": { - "line": 67, + "line": 93, "column": 4 }, "end": { - "line": 67, + "line": 93, "column": 10 } } @@ -17531,15 +17998,15 @@ "binop": null, "updateContext": null }, - "start": 1998, - "end": 1999, + "start": 2685, + "end": 2686, "loc": { "start": { - "line": 67, + "line": 93, "column": 11 }, "end": { - "line": 67, + "line": 93, "column": 12 } } @@ -17556,15 +18023,15 @@ "postfix": false, "binop": null }, - "start": 1999, - "end": 2000, + "start": 2686, + "end": 2687, "loc": { "start": { - "line": 67, + "line": 93, "column": 12 }, "end": { - "line": 67, + "line": 93, "column": 13 } } @@ -17582,15 +18049,15 @@ "binop": null }, "value": "task", - "start": 2007, - "end": 2011, + "start": 2694, + "end": 2698, "loc": { "start": { - "line": 68, + "line": 94, "column": 6 }, "end": { - "line": 68, + "line": 94, "column": 10 } } @@ -17608,15 +18075,15 @@ "binop": null, "updateContext": null }, - "start": 2011, - "end": 2012, + "start": 2698, + "end": 2699, "loc": { "start": { - "line": 68, + "line": 94, "column": 10 }, "end": { - "line": 68, + "line": 94, "column": 11 } } @@ -17635,15 +18102,15 @@ "updateContext": null }, "value": "build", - "start": 2013, - "end": 2020, + "start": 2700, + "end": 2707, "loc": { "start": { - "line": 68, + "line": 94, "column": 12 }, "end": { - "line": 68, + "line": 94, "column": 19 } } @@ -17661,15 +18128,15 @@ "binop": null, "updateContext": null }, - "start": 2020, - "end": 2021, + "start": 2707, + "end": 2708, "loc": { "start": { - "line": 68, + "line": 94, "column": 19 }, "end": { - "line": 68, + "line": 94, "column": 20 } } @@ -17687,15 +18154,15 @@ "binop": null }, "value": "src", - "start": 2028, - "end": 2031, + "start": 2715, + "end": 2718, "loc": { "start": { - "line": 69, + "line": 95, "column": 6 }, "end": { - "line": 69, + "line": 95, "column": 9 } } @@ -17713,15 +18180,15 @@ "binop": null, "updateContext": null }, - "start": 2031, - "end": 2032, + "start": 2718, + "end": 2719, "loc": { "start": { - "line": 69, + "line": 95, "column": 9 }, "end": { - "line": 69, + "line": 95, "column": 10 } } @@ -17739,15 +18206,15 @@ "binop": null, "updateContext": null }, - "start": 2033, - "end": 2034, + "start": 2720, + "end": 2721, "loc": { "start": { - "line": 69, + "line": 95, "column": 11 }, "end": { - "line": 69, + "line": 95, "column": 12 } } @@ -17766,15 +18233,15 @@ "updateContext": null }, "value": "./src", - "start": 2034, - "end": 2041, + "start": 2721, + "end": 2728, "loc": { "start": { - "line": 69, + "line": 95, "column": 12 }, "end": { - "line": 69, + "line": 95, "column": 19 } } @@ -17792,15 +18259,15 @@ "binop": null, "updateContext": null }, - "start": 2041, - "end": 2042, + "start": 2728, + "end": 2729, "loc": { "start": { - "line": 69, + "line": 95, "column": 19 }, "end": { - "line": 69, + "line": 95, "column": 20 } } @@ -17818,15 +18285,15 @@ "binop": null, "updateContext": null }, - "start": 2042, - "end": 2043, + "start": 2729, + "end": 2730, "loc": { "start": { - "line": 69, + "line": 95, "column": 20 }, "end": { - "line": 69, + "line": 95, "column": 21 } } @@ -17844,15 +18311,15 @@ "binop": null }, "value": "options", - "start": 2050, - "end": 2057, + "start": 2737, + "end": 2744, "loc": { "start": { - "line": 70, + "line": 96, "column": 6 }, "end": { - "line": 70, + "line": 96, "column": 13 } } @@ -17870,15 +18337,15 @@ "binop": null, "updateContext": null }, - "start": 2057, - "end": 2058, + "start": 2744, + "end": 2745, "loc": { "start": { - "line": 70, + "line": 96, "column": 13 }, "end": { - "line": 70, + "line": 96, "column": 14 } } @@ -17895,15 +18362,15 @@ "postfix": false, "binop": null }, - "start": 2059, - "end": 2060, + "start": 2746, + "end": 2747, "loc": { "start": { - "line": 70, + "line": 96, "column": 15 }, "end": { - "line": 70, + "line": 96, "column": 16 } } @@ -17920,15 +18387,15 @@ "postfix": false, "binop": null }, - "start": 2060, - "end": 2061, + "start": 2747, + "end": 2748, "loc": { "start": { - "line": 70, + "line": 96, "column": 16 }, "end": { - "line": 70, + "line": 96, "column": 17 } } @@ -17945,15 +18412,15 @@ "postfix": false, "binop": null }, - "start": 2066, - "end": 2067, + "start": 2753, + "end": 2754, "loc": { "start": { - "line": 71, + "line": 97, "column": 4 }, "end": { - "line": 71, + "line": 97, "column": 5 } } @@ -17971,15 +18438,15 @@ "binop": null, "updateContext": null }, - "start": 2067, - "end": 2068, + "start": 2754, + "end": 2755, "loc": { "start": { - "line": 71, + "line": 97, "column": 5 }, "end": { - "line": 71, + "line": 97, "column": 6 } } @@ -17997,15 +18464,15 @@ "binop": null, "updateContext": null }, - "start": 2068, - "end": 2069, + "start": 2755, + "end": 2756, "loc": { "start": { - "line": 71, + "line": 97, "column": 6 }, "end": { - "line": 71, + "line": 97, "column": 7 } } @@ -18022,15 +18489,15 @@ "postfix": false, "binop": null }, - "start": 2072, - "end": 2073, + "start": 2759, + "end": 2760, "loc": { "start": { - "line": 72, + "line": 98, "column": 2 }, "end": { - "line": 72, + "line": 98, "column": 3 } } @@ -18038,15 +18505,15 @@ { "type": "CommentBlock", "value": "*\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n ", - "start": 2077, - "end": 2277, + "start": 2764, + "end": 2964, "loc": { "start": { - "line": 74, + "line": 100, "column": 2 }, "end": { - "line": 79, + "line": 105, "column": 5 } } @@ -18064,15 +18531,15 @@ "binop": null }, "value": "require", - "start": 2280, - "end": 2287, + "start": 2967, + "end": 2974, "loc": { "start": { - "line": 80, + "line": 106, "column": 2 }, "end": { - "line": 80, + "line": 106, "column": 9 } } @@ -18089,15 +18556,15 @@ "postfix": false, "binop": null }, - "start": 2287, - "end": 2288, + "start": 2974, + "end": 2975, "loc": { "start": { - "line": 80, + "line": 106, "column": 9 }, "end": { - "line": 80, + "line": 106, "column": 10 } } @@ -18115,15 +18582,15 @@ "binop": null }, "value": "path", - "start": 2288, - "end": 2292, + "start": 2975, + "end": 2979, "loc": { "start": { - "line": 80, + "line": 106, "column": 10 }, "end": { - "line": 80, + "line": 106, "column": 14 } } @@ -18140,15 +18607,15 @@ "postfix": false, "binop": null }, - "start": 2292, - "end": 2293, + "start": 2979, + "end": 2980, "loc": { "start": { - "line": 80, + "line": 106, "column": 14 }, "end": { - "line": 80, + "line": 106, "column": 15 } } @@ -18165,15 +18632,15 @@ "postfix": false, "binop": null }, - "start": 2294, - "end": 2295, + "start": 2981, + "end": 2982, "loc": { "start": { - "line": 80, + "line": 106, "column": 16 }, "end": { - "line": 80, + "line": 106, "column": 17 } } @@ -18193,15 +18660,15 @@ "updateContext": null }, "value": "return", - "start": 2300, - "end": 2306, + "start": 2987, + "end": 2993, "loc": { "start": { - "line": 81, + "line": 107, "column": 4 }, "end": { - "line": 81, + "line": 107, "column": 10 } } @@ -18221,15 +18688,15 @@ "updateContext": null }, "value": "new", - "start": 2307, - "end": 2310, + "start": 2994, + "end": 2997, "loc": { "start": { - "line": 81, + "line": 107, "column": 11 }, "end": { - "line": 81, + "line": 107, "column": 14 } } @@ -18247,15 +18714,15 @@ "binop": null }, "value": "Promise", - "start": 2311, - "end": 2318, + "start": 2998, + "end": 3005, "loc": { "start": { - "line": 81, + "line": 107, "column": 15 }, "end": { - "line": 81, + "line": 107, "column": 22 } } @@ -18272,15 +18739,15 @@ "postfix": false, "binop": null }, - "start": 2318, - "end": 2319, + "start": 3005, + "end": 3006, "loc": { "start": { - "line": 81, + "line": 107, "column": 22 }, "end": { - "line": 81, + "line": 107, "column": 23 } } @@ -18297,15 +18764,15 @@ "postfix": false, "binop": null }, - "start": 2319, - "end": 2320, + "start": 3006, + "end": 3007, "loc": { "start": { - "line": 81, + "line": 107, "column": 23 }, "end": { - "line": 81, + "line": 107, "column": 24 } } @@ -18323,15 +18790,15 @@ "binop": null }, "value": "resolve", - "start": 2320, - "end": 2327, + "start": 3007, + "end": 3014, "loc": { "start": { - "line": 81, + "line": 107, "column": 24 }, "end": { - "line": 81, + "line": 107, "column": 31 } } @@ -18349,15 +18816,15 @@ "binop": null, "updateContext": null }, - "start": 2327, - "end": 2328, + "start": 3014, + "end": 3015, "loc": { "start": { - "line": 81, + "line": 107, "column": 31 }, "end": { - "line": 81, + "line": 107, "column": 32 } } @@ -18375,15 +18842,15 @@ "binop": null }, "value": "reject", - "start": 2329, - "end": 2335, + "start": 3016, + "end": 3022, "loc": { "start": { - "line": 81, + "line": 107, "column": 33 }, "end": { - "line": 81, + "line": 107, "column": 39 } } @@ -18400,15 +18867,15 @@ "postfix": false, "binop": null }, - "start": 2335, - "end": 2336, + "start": 3022, + "end": 3023, "loc": { "start": { - "line": 81, + "line": 107, "column": 39 }, "end": { - "line": 81, + "line": 107, "column": 40 } } @@ -18426,15 +18893,15 @@ "binop": null, "updateContext": null }, - "start": 2337, - "end": 2339, + "start": 3024, + "end": 3026, "loc": { "start": { - "line": 81, + "line": 107, "column": 41 }, "end": { - "line": 81, + "line": 107, "column": 43 } } @@ -18451,15 +18918,15 @@ "postfix": false, "binop": null }, - "start": 2340, - "end": 2341, + "start": 3027, + "end": 3028, "loc": { "start": { - "line": 81, + "line": 107, "column": 44 }, "end": { - "line": 81, + "line": 107, "column": 45 } } @@ -18479,15 +18946,15 @@ "updateContext": null }, "value": "let", - "start": 2348, - "end": 2351, + "start": 3035, + "end": 3038, "loc": { "start": { - "line": 82, + "line": 108, "column": 6 }, "end": { - "line": 82, + "line": 108, "column": 9 } } @@ -18505,15 +18972,15 @@ "binop": null }, "value": "root", - "start": 2352, - "end": 2356, + "start": 3039, + "end": 3043, "loc": { "start": { - "line": 82, + "line": 108, "column": 10 }, "end": { - "line": 82, + "line": 108, "column": 14 } } @@ -18532,15 +18999,15 @@ "updateContext": null }, "value": "=", - "start": 2357, - "end": 2358, + "start": 3044, + "end": 3045, "loc": { "start": { - "line": 82, + "line": 108, "column": 15 }, "end": { - "line": 82, + "line": 108, "column": 16 } } @@ -18558,15 +19025,15 @@ "binop": null }, "value": "process", - "start": 2359, - "end": 2366, + "start": 3046, + "end": 3053, "loc": { "start": { - "line": 82, + "line": 108, "column": 17 }, "end": { - "line": 82, + "line": 108, "column": 24 } } @@ -18584,15 +19051,15 @@ "binop": null, "updateContext": null }, - "start": 2366, - "end": 2367, + "start": 3053, + "end": 3054, "loc": { "start": { - "line": 82, + "line": 108, "column": 24 }, "end": { - "line": 82, + "line": 108, "column": 25 } } @@ -18610,15 +19077,15 @@ "binop": null }, "value": "cwd", - "start": 2367, - "end": 2370, + "start": 3054, + "end": 3057, "loc": { "start": { - "line": 82, + "line": 108, "column": 25 }, "end": { - "line": 82, + "line": 108, "column": 28 } } @@ -18635,15 +19102,15 @@ "postfix": false, "binop": null }, - "start": 2370, - "end": 2371, + "start": 3057, + "end": 3058, "loc": { "start": { - "line": 82, + "line": 108, "column": 28 }, "end": { - "line": 82, + "line": 108, "column": 29 } } @@ -18660,15 +19127,15 @@ "postfix": false, "binop": null }, - "start": 2371, - "end": 2372, + "start": 3058, + "end": 3059, "loc": { "start": { - "line": 82, + "line": 108, "column": 29 }, "end": { - "line": 82, + "line": 108, "column": 30 } } @@ -18686,15 +19153,15 @@ "binop": null, "updateContext": null }, - "start": 2372, - "end": 2373, + "start": 3059, + "end": 3060, "loc": { "start": { - "line": 82, + "line": 108, "column": 30 }, "end": { - "line": 82, + "line": 108, "column": 31 } } @@ -18712,15 +19179,15 @@ "binop": null }, "value": "root", - "start": 2380, - "end": 2384, + "start": 3067, + "end": 3071, "loc": { "start": { - "line": 83, + "line": 109, "column": 6 }, "end": { - "line": 83, + "line": 109, "column": 10 } } @@ -18739,15 +19206,15 @@ "updateContext": null }, "value": "+=", - "start": 2385, - "end": 2387, + "start": 3072, + "end": 3074, "loc": { "start": { - "line": 83, + "line": 109, "column": 11 }, "end": { - "line": 83, + "line": 109, "column": 13 } } @@ -18764,15 +19231,15 @@ "postfix": false, "binop": null }, - "start": 2388, - "end": 2389, + "start": 3075, + "end": 3076, "loc": { "start": { - "line": 83, + "line": 109, "column": 14 }, "end": { - "line": 83, + "line": 109, "column": 15 } } @@ -18791,15 +19258,15 @@ "updateContext": null }, "value": "/", - "start": 2389, - "end": 2390, + "start": 3076, + "end": 3077, "loc": { "start": { - "line": 83, + "line": 109, "column": 15 }, "end": { - "line": 83, + "line": 109, "column": 16 } } @@ -18816,15 +19283,15 @@ "postfix": false, "binop": null }, - "start": 2390, - "end": 2392, + "start": 3077, + "end": 3079, "loc": { "start": { - "line": 83, + "line": 109, "column": 16 }, "end": { - "line": 83, + "line": 109, "column": 18 } } @@ -18842,15 +19309,15 @@ "binop": null }, "value": "path", - "start": 2392, - "end": 2396, + "start": 3079, + "end": 3083, "loc": { "start": { - "line": 83, + "line": 109, "column": 18 }, "end": { - "line": 83, + "line": 109, "column": 22 } } @@ -18867,15 +19334,15 @@ "postfix": false, "binop": null }, - "start": 2396, - "end": 2397, + "start": 3083, + "end": 3084, "loc": { "start": { - "line": 83, + "line": 109, "column": 22 }, "end": { - "line": 83, + "line": 109, "column": 23 } } @@ -18894,15 +19361,15 @@ "updateContext": null }, "value": "", - "start": 2397, - "end": 2397, + "start": 3084, + "end": 3084, "loc": { "start": { - "line": 83, + "line": 109, "column": 23 }, "end": { - "line": 83, + "line": 109, "column": 23 } } @@ -18919,15 +19386,15 @@ "postfix": false, "binop": null }, - "start": 2397, - "end": 2398, + "start": 3084, + "end": 3085, "loc": { "start": { - "line": 83, + "line": 109, "column": 23 }, "end": { - "line": 83, + "line": 109, "column": 24 } } @@ -18945,15 +19412,15 @@ "binop": null, "updateContext": null }, - "start": 2398, - "end": 2399, + "start": 3085, + "end": 3086, "loc": { "start": { - "line": 83, + "line": 109, "column": 24 }, "end": { - "line": 83, + "line": 109, "column": 25 } } @@ -18973,15 +19440,15 @@ "updateContext": null }, "value": "try", - "start": 2406, - "end": 2409, + "start": 3093, + "end": 3096, "loc": { "start": { - "line": 84, + "line": 110, "column": 6 }, "end": { - "line": 84, + "line": 110, "column": 9 } } @@ -18998,15 +19465,15 @@ "postfix": false, "binop": null }, - "start": 2410, - "end": 2411, + "start": 3097, + "end": 3098, "loc": { "start": { - "line": 84, + "line": 110, "column": 10 }, "end": { - "line": 84, + "line": 110, "column": 11 } } @@ -19026,15 +19493,15 @@ "updateContext": null }, "value": "let", - "start": 2420, - "end": 2423, + "start": 3107, + "end": 3110, "loc": { "start": { - "line": 85, + "line": 111, "column": 8 }, "end": { - "line": 85, + "line": 111, "column": 11 } } @@ -19052,15 +19519,15 @@ "binop": null }, "value": "required", - "start": 2424, - "end": 2432, + "start": 3111, + "end": 3119, "loc": { "start": { - "line": 85, + "line": 111, "column": 12 }, "end": { - "line": 85, + "line": 111, "column": 20 } } @@ -19079,15 +19546,15 @@ "updateContext": null }, "value": "=", - "start": 2433, - "end": 2434, + "start": 3120, + "end": 3121, "loc": { "start": { - "line": 85, + "line": 111, "column": 21 }, "end": { - "line": 85, + "line": 111, "column": 22 } } @@ -19105,15 +19572,15 @@ "binop": null }, "value": "require", - "start": 2435, - "end": 2442, + "start": 3122, + "end": 3129, "loc": { "start": { - "line": 85, + "line": 111, "column": 23 }, "end": { - "line": 85, + "line": 111, "column": 30 } } @@ -19130,15 +19597,15 @@ "postfix": false, "binop": null }, - "start": 2442, - "end": 2443, + "start": 3129, + "end": 3130, "loc": { "start": { - "line": 85, + "line": 111, "column": 30 }, "end": { - "line": 85, + "line": 111, "column": 31 } } @@ -19156,15 +19623,15 @@ "binop": null }, "value": "root", - "start": 2443, - "end": 2447, + "start": 3130, + "end": 3134, "loc": { "start": { - "line": 85, + "line": 111, "column": 31 }, "end": { - "line": 85, + "line": 111, "column": 35 } } @@ -19181,15 +19648,15 @@ "postfix": false, "binop": null }, - "start": 2447, - "end": 2448, + "start": 3134, + "end": 3135, "loc": { "start": { - "line": 85, + "line": 111, "column": 35 }, "end": { - "line": 85, + "line": 111, "column": 36 } } @@ -19207,15 +19674,15 @@ "binop": null, "updateContext": null }, - "start": 2448, - "end": 2449, + "start": 3135, + "end": 3136, "loc": { "start": { - "line": 85, + "line": 111, "column": 36 }, "end": { - "line": 85, + "line": 111, "column": 37 } } @@ -19233,15 +19700,15 @@ "binop": null }, "value": "resolve", - "start": 2458, - "end": 2465, + "start": 3145, + "end": 3152, "loc": { "start": { - "line": 86, + "line": 112, "column": 8 }, "end": { - "line": 86, + "line": 112, "column": 15 } } @@ -19258,15 +19725,15 @@ "postfix": false, "binop": null }, - "start": 2465, - "end": 2466, + "start": 3152, + "end": 3153, "loc": { "start": { - "line": 86, + "line": 112, "column": 15 }, "end": { - "line": 86, + "line": 112, "column": 16 } } @@ -19284,15 +19751,15 @@ "binop": null }, "value": "required", - "start": 2466, - "end": 2474, + "start": 3153, + "end": 3161, "loc": { "start": { - "line": 86, + "line": 112, "column": 16 }, "end": { - "line": 86, + "line": 112, "column": 24 } } @@ -19309,15 +19776,15 @@ "postfix": false, "binop": null }, - "start": 2474, - "end": 2475, + "start": 3161, + "end": 3162, "loc": { "start": { - "line": 86, + "line": 112, "column": 24 }, "end": { - "line": 86, + "line": 112, "column": 25 } } @@ -19335,15 +19802,15 @@ "binop": null, "updateContext": null }, - "start": 2475, - "end": 2476, + "start": 3162, + "end": 3163, "loc": { "start": { - "line": 86, + "line": 112, "column": 25 }, "end": { - "line": 86, + "line": 112, "column": 26 } } @@ -19360,15 +19827,15 @@ "postfix": false, "binop": null }, - "start": 2483, - "end": 2484, + "start": 3170, + "end": 3171, "loc": { "start": { - "line": 87, + "line": 113, "column": 6 }, "end": { - "line": 87, + "line": 113, "column": 7 } } @@ -19388,15 +19855,15 @@ "updateContext": null }, "value": "catch", - "start": 2485, - "end": 2490, + "start": 3172, + "end": 3177, "loc": { "start": { - "line": 87, + "line": 113, "column": 8 }, "end": { - "line": 87, + "line": 113, "column": 13 } } @@ -19413,15 +19880,15 @@ "postfix": false, "binop": null }, - "start": 2491, - "end": 2492, + "start": 3178, + "end": 3179, "loc": { "start": { - "line": 87, + "line": 113, "column": 14 }, "end": { - "line": 87, + "line": 113, "column": 15 } } @@ -19439,15 +19906,15 @@ "binop": null }, "value": "error", - "start": 2492, - "end": 2497, + "start": 3179, + "end": 3184, "loc": { "start": { - "line": 87, + "line": 113, "column": 15 }, "end": { - "line": 87, + "line": 113, "column": 20 } } @@ -19464,15 +19931,15 @@ "postfix": false, "binop": null }, - "start": 2497, - "end": 2498, + "start": 3184, + "end": 3185, "loc": { "start": { - "line": 87, + "line": 113, "column": 20 }, "end": { - "line": 87, + "line": 113, "column": 21 } } @@ -19489,15 +19956,15 @@ "postfix": false, "binop": null }, - "start": 2499, - "end": 2500, + "start": 3186, + "end": 3187, "loc": { "start": { - "line": 87, + "line": 113, "column": 22 }, "end": { - "line": 87, + "line": 113, "column": 23 } } @@ -19515,15 +19982,15 @@ "binop": null }, "value": "reject", - "start": 2509, - "end": 2515, + "start": 3196, + "end": 3202, "loc": { "start": { - "line": 88, + "line": 114, "column": 8 }, "end": { - "line": 88, + "line": 114, "column": 14 } } @@ -19540,15 +20007,15 @@ "postfix": false, "binop": null }, - "start": 2515, - "end": 2516, + "start": 3202, + "end": 3203, "loc": { "start": { - "line": 88, + "line": 114, "column": 14 }, "end": { - "line": 88, + "line": 114, "column": 15 } } @@ -19566,15 +20033,15 @@ "binop": null }, "value": "error", - "start": 2516, - "end": 2521, + "start": 3203, + "end": 3208, "loc": { "start": { - "line": 88, + "line": 114, "column": 15 }, "end": { - "line": 88, + "line": 114, "column": 20 } } @@ -19591,15 +20058,15 @@ "postfix": false, "binop": null }, - "start": 2521, - "end": 2522, + "start": 3208, + "end": 3209, "loc": { "start": { - "line": 88, + "line": 114, "column": 20 }, "end": { - "line": 88, + "line": 114, "column": 21 } } @@ -19617,15 +20084,15 @@ "binop": null, "updateContext": null }, - "start": 2522, - "end": 2523, + "start": 3209, + "end": 3210, "loc": { "start": { - "line": 88, + "line": 114, "column": 21 }, "end": { - "line": 88, + "line": 114, "column": 22 } } @@ -19642,15 +20109,15 @@ "postfix": false, "binop": null }, - "start": 2530, - "end": 2531, + "start": 3217, + "end": 3218, "loc": { "start": { - "line": 89, + "line": 115, "column": 6 }, "end": { - "line": 89, + "line": 115, "column": 7 } } @@ -19667,15 +20134,15 @@ "postfix": false, "binop": null }, - "start": 2536, - "end": 2537, + "start": 3223, + "end": 3224, "loc": { "start": { - "line": 90, + "line": 116, "column": 4 }, "end": { - "line": 90, + "line": 116, "column": 5 } } @@ -19692,15 +20159,15 @@ "postfix": false, "binop": null }, - "start": 2537, - "end": 2538, + "start": 3224, + "end": 3225, "loc": { "start": { - "line": 90, + "line": 116, "column": 5 }, "end": { - "line": 90, + "line": 116, "column": 6 } } @@ -19718,15 +20185,15 @@ "binop": null, "updateContext": null }, - "start": 2538, - "end": 2539, + "start": 3225, + "end": 3226, "loc": { "start": { - "line": 90, + "line": 116, "column": 6 }, "end": { - "line": 90, + "line": 116, "column": 7 } } @@ -19743,15 +20210,15 @@ "postfix": false, "binop": null }, - "start": 2542, - "end": 2543, + "start": 3229, + "end": 3230, "loc": { "start": { - "line": 91, + "line": 117, "column": 2 }, "end": { - "line": 91, + "line": 117, "column": 3 } } @@ -19759,15 +20226,15 @@ { "type": "CommentBlock", "value": "*\n * @return {object} value of 'backed.json'\n ", - "start": 2547, - "end": 2601, + "start": 3234, + "end": 3288, "loc": { "start": { - "line": 93, + "line": 119, "column": 2 }, "end": { - "line": 95, + "line": 121, "column": 5 } } @@ -19785,15 +20252,15 @@ "binop": null }, "value": "importConfig", - "start": 2604, - "end": 2616, + "start": 3291, + "end": 3303, "loc": { "start": { - "line": 96, + "line": 122, "column": 2 }, "end": { - "line": 96, + "line": 122, "column": 14 } } @@ -19810,15 +20277,15 @@ "postfix": false, "binop": null }, - "start": 2616, - "end": 2617, + "start": 3303, + "end": 3304, "loc": { "start": { - "line": 96, + "line": 122, "column": 14 }, "end": { - "line": 96, + "line": 122, "column": 15 } } @@ -19835,15 +20302,15 @@ "postfix": false, "binop": null }, - "start": 2617, - "end": 2618, + "start": 3304, + "end": 3305, "loc": { "start": { - "line": 96, + "line": 122, "column": 15 }, "end": { - "line": 96, + "line": 122, "column": 16 } } @@ -19860,15 +20327,15 @@ "postfix": false, "binop": null }, - "start": 2619, - "end": 2620, + "start": 3306, + "end": 3307, "loc": { "start": { - "line": 96, + "line": 122, "column": 17 }, "end": { - "line": 96, + "line": 122, "column": 18 } } @@ -19888,15 +20355,15 @@ "updateContext": null }, "value": "return", - "start": 2625, - "end": 2631, + "start": 3312, + "end": 3318, "loc": { "start": { - "line": 97, + "line": 123, "column": 4 }, "end": { - "line": 97, + "line": 123, "column": 10 } } @@ -19916,15 +20383,15 @@ "updateContext": null }, "value": "new", - "start": 2632, - "end": 2635, + "start": 3319, + "end": 3322, "loc": { "start": { - "line": 97, + "line": 123, "column": 11 }, "end": { - "line": 97, + "line": 123, "column": 14 } } @@ -19942,15 +20409,15 @@ "binop": null }, "value": "Promise", - "start": 2636, - "end": 2643, + "start": 3323, + "end": 3330, "loc": { "start": { - "line": 97, + "line": 123, "column": 15 }, "end": { - "line": 97, + "line": 123, "column": 22 } } @@ -19967,15 +20434,15 @@ "postfix": false, "binop": null }, - "start": 2643, - "end": 2644, + "start": 3330, + "end": 3331, "loc": { "start": { - "line": 97, + "line": 123, "column": 22 }, "end": { - "line": 97, + "line": 123, "column": 23 } } @@ -19992,15 +20459,15 @@ "postfix": false, "binop": null }, - "start": 2644, - "end": 2645, + "start": 3331, + "end": 3332, "loc": { "start": { - "line": 97, + "line": 123, "column": 23 }, "end": { - "line": 97, + "line": 123, "column": 24 } } @@ -20018,15 +20485,15 @@ "binop": null }, "value": "resolve", - "start": 2645, - "end": 2652, + "start": 3332, + "end": 3339, "loc": { "start": { - "line": 97, + "line": 123, "column": 24 }, "end": { - "line": 97, + "line": 123, "column": 31 } } @@ -20044,15 +20511,15 @@ "binop": null, "updateContext": null }, - "start": 2652, - "end": 2653, + "start": 3339, + "end": 3340, "loc": { "start": { - "line": 97, + "line": 123, "column": 31 }, "end": { - "line": 97, + "line": 123, "column": 32 } } @@ -20070,15 +20537,15 @@ "binop": null }, "value": "reject", - "start": 2654, - "end": 2660, + "start": 3341, + "end": 3347, "loc": { "start": { - "line": 97, + "line": 123, "column": 33 }, "end": { - "line": 97, + "line": 123, "column": 39 } } @@ -20095,15 +20562,15 @@ "postfix": false, "binop": null }, - "start": 2660, - "end": 2661, + "start": 3347, + "end": 3348, "loc": { "start": { - "line": 97, + "line": 123, "column": 39 }, "end": { - "line": 97, + "line": 123, "column": 40 } } @@ -20121,15 +20588,15 @@ "binop": null, "updateContext": null }, - "start": 2662, - "end": 2664, + "start": 3349, + "end": 3351, "loc": { "start": { - "line": 97, + "line": 123, "column": 41 }, "end": { - "line": 97, + "line": 123, "column": 43 } } @@ -20146,15 +20613,15 @@ "postfix": false, "binop": null }, - "start": 2665, - "end": 2666, + "start": 3352, + "end": 3353, "loc": { "start": { - "line": 97, + "line": 123, "column": 44 }, "end": { - "line": 97, + "line": 123, "column": 45 } } @@ -20172,15 +20639,15 @@ "binop": null }, "value": "async", - "start": 2673, - "end": 2678, + "start": 3360, + "end": 3365, "loc": { "start": { - "line": 98, + "line": 124, "column": 6 }, "end": { - "line": 98, + "line": 124, "column": 11 } } @@ -20199,46 +20666,19 @@ "binop": null }, "value": "function", - "start": 2679, - "end": 2687, + "start": 3366, + "end": 3374, "loc": { "start": { - "line": 98, + "line": 124, "column": 12 }, "end": { - "line": 98, + "line": 124, "column": 20 } } }, - { - "type": { - "label": "*", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": 10, - "updateContext": null - }, - "value": "*", - "start": 2688, - "end": 2689, - "loc": { - "start": { - "line": 98, - "column": 21 - }, - "end": { - "line": 98, - "column": 22 - } - } - }, { "type": { "label": "name", @@ -20252,16 +20692,16 @@ "binop": null }, "value": "generator", - "start": 2690, - "end": 2699, + "start": 3375, + "end": 3384, "loc": { "start": { - "line": 98, - "column": 23 + "line": 124, + "column": 21 }, "end": { - "line": 98, - "column": 32 + "line": 124, + "column": 30 } } }, @@ -20277,16 +20717,16 @@ "postfix": false, "binop": null }, - "start": 2699, - "end": 2700, + "start": 3384, + "end": 3385, "loc": { "start": { - "line": 98, - "column": 32 + "line": 124, + "column": 30 }, "end": { - "line": 98, - "column": 33 + "line": 124, + "column": 31 } } }, @@ -20303,16 +20743,16 @@ "binop": null }, "value": "fn", - "start": 2700, - "end": 2702, + "start": 3385, + "end": 3387, "loc": { "start": { - "line": 98, - "column": 33 + "line": 124, + "column": 31 }, "end": { - "line": 98, - "column": 35 + "line": 124, + "column": 33 } } }, @@ -20328,16 +20768,16 @@ "postfix": false, "binop": null }, - "start": 2702, - "end": 2703, + "start": 3387, + "end": 3388, "loc": { "start": { - "line": 98, - "column": 35 + "line": 124, + "column": 33 }, "end": { - "line": 98, - "column": 36 + "line": 124, + "column": 34 } } }, @@ -20353,16 +20793,16 @@ "postfix": false, "binop": null }, - "start": 2704, - "end": 2705, + "start": 3389, + "end": 3390, "loc": { "start": { - "line": 98, - "column": 37 + "line": 124, + "column": 35 }, "end": { - "line": 98, - "column": 38 + "line": 124, + "column": 36 } } }, @@ -20381,15 +20821,15 @@ "updateContext": null }, "value": "const", - "start": 2714, - "end": 2719, + "start": 3399, + "end": 3404, "loc": { "start": { - "line": 99, + "line": 125, "column": 8 }, "end": { - "line": 99, + "line": 125, "column": 13 } } @@ -20407,15 +20847,15 @@ "binop": null }, "value": "pkg", - "start": 2720, - "end": 2723, + "start": 3405, + "end": 3408, "loc": { "start": { - "line": 99, + "line": 125, "column": 14 }, "end": { - "line": 99, + "line": 125, "column": 17 } } @@ -20434,15 +20874,15 @@ "updateContext": null }, "value": "=", - "start": 2724, - "end": 2725, + "start": 3409, + "end": 3410, "loc": { "start": { - "line": 99, + "line": 125, "column": 18 }, "end": { - "line": 99, + "line": 125, "column": 19 } } @@ -20460,15 +20900,15 @@ "binop": null }, "value": "await", - "start": 2726, - "end": 2731, + "start": 3411, + "end": 3416, "loc": { "start": { - "line": 99, + "line": 125, "column": 20 }, "end": { - "line": 99, + "line": 125, "column": 25 } } @@ -20486,15 +20926,15 @@ "binop": null }, "value": "fn", - "start": 2732, - "end": 2734, + "start": 3417, + "end": 3419, "loc": { "start": { - "line": 99, + "line": 125, "column": 26 }, "end": { - "line": 99, + "line": 125, "column": 28 } } @@ -20511,15 +20951,15 @@ "postfix": false, "binop": null }, - "start": 2734, - "end": 2735, + "start": 3419, + "end": 3420, "loc": { "start": { - "line": 99, + "line": 125, "column": 28 }, "end": { - "line": 99, + "line": 125, "column": 29 } } @@ -20538,15 +20978,15 @@ "updateContext": null }, "value": "package.json", - "start": 2735, - "end": 2749, + "start": 3420, + "end": 3434, "loc": { "start": { - "line": 99, + "line": 125, "column": 29 }, "end": { - "line": 99, + "line": 125, "column": 43 } } @@ -20563,15 +21003,15 @@ "postfix": false, "binop": null }, - "start": 2749, - "end": 2750, + "start": 3434, + "end": 3435, "loc": { "start": { - "line": 99, + "line": 125, "column": 43 }, "end": { - "line": 99, + "line": 125, "column": 44 } } @@ -20589,15 +21029,15 @@ "binop": null, "updateContext": null }, - "start": 2750, - "end": 2751, + "start": 3435, + "end": 3436, "loc": { "start": { - "line": 99, + "line": 125, "column": 44 }, "end": { - "line": 99, + "line": 125, "column": 45 } } @@ -20617,15 +21057,15 @@ "updateContext": null }, "value": "catch", - "start": 2751, - "end": 2756, + "start": 3436, + "end": 3441, "loc": { "start": { - "line": 99, + "line": 125, "column": 45 }, "end": { - "line": 99, + "line": 125, "column": 50 } } @@ -20642,15 +21082,15 @@ "postfix": false, "binop": null }, - "start": 2756, - "end": 2757, + "start": 3441, + "end": 3442, "loc": { "start": { - "line": 99, + "line": 125, "column": 50 }, "end": { - "line": 99, + "line": 125, "column": 51 } } @@ -20668,15 +21108,15 @@ "binop": null }, "value": "error", - "start": 2757, - "end": 2762, + "start": 3442, + "end": 3447, "loc": { "start": { - "line": 99, + "line": 125, "column": 51 }, "end": { - "line": 99, + "line": 125, "column": 56 } } @@ -20694,15 +21134,15 @@ "binop": null, "updateContext": null }, - "start": 2763, - "end": 2765, + "start": 3448, + "end": 3450, "loc": { "start": { - "line": 99, + "line": 125, "column": 57 }, "end": { - "line": 99, + "line": 125, "column": 59 } } @@ -20719,15 +21159,15 @@ "postfix": false, "binop": null }, - "start": 2766, - "end": 2767, + "start": 3451, + "end": 3452, "loc": { "start": { - "line": 99, + "line": 125, "column": 60 }, "end": { - "line": 99, + "line": 125, "column": 61 } } @@ -20747,15 +21187,15 @@ "updateContext": null }, "value": "if", - "start": 2778, - "end": 2780, + "start": 3463, + "end": 3465, "loc": { "start": { - "line": 100, + "line": 126, "column": 10 }, "end": { - "line": 100, + "line": 126, "column": 12 } } @@ -20772,15 +21212,15 @@ "postfix": false, "binop": null }, - "start": 2781, - "end": 2782, + "start": 3466, + "end": 3467, "loc": { "start": { - "line": 100, + "line": 126, "column": 13 }, "end": { - "line": 100, + "line": 126, "column": 14 } } @@ -20798,15 +21238,15 @@ "binop": null }, "value": "global", - "start": 2782, - "end": 2788, + "start": 3467, + "end": 3473, "loc": { "start": { - "line": 100, + "line": 126, "column": 14 }, "end": { - "line": 100, + "line": 126, "column": 20 } } @@ -20824,15 +21264,15 @@ "binop": null, "updateContext": null }, - "start": 2788, - "end": 2789, + "start": 3473, + "end": 3474, "loc": { "start": { - "line": 100, + "line": 126, "column": 20 }, "end": { - "line": 100, + "line": 126, "column": 21 } } @@ -20850,15 +21290,15 @@ "binop": null }, "value": "debug", - "start": 2789, - "end": 2794, + "start": 3474, + "end": 3479, "loc": { "start": { - "line": 100, + "line": 126, "column": 21 }, "end": { - "line": 100, + "line": 126, "column": 26 } } @@ -20875,15 +21315,15 @@ "postfix": false, "binop": null }, - "start": 2794, - "end": 2795, + "start": 3479, + "end": 3480, "loc": { "start": { - "line": 100, + "line": 126, "column": 26 }, "end": { - "line": 100, + "line": 126, "column": 27 } } @@ -20900,15 +21340,15 @@ "postfix": false, "binop": null }, - "start": 2796, - "end": 2797, + "start": 3481, + "end": 3482, "loc": { "start": { - "line": 100, + "line": 126, "column": 28 }, "end": { - "line": 100, + "line": 126, "column": 29 } } @@ -20926,15 +21366,15 @@ "binop": null }, "value": "logger", - "start": 2810, - "end": 2816, + "start": 3495, + "end": 3501, "loc": { "start": { - "line": 101, + "line": 127, "column": 12 }, "end": { - "line": 101, + "line": 127, "column": 18 } } @@ -20952,15 +21392,15 @@ "binop": null, "updateContext": null }, - "start": 2816, - "end": 2817, + "start": 3501, + "end": 3502, "loc": { "start": { - "line": 101, + "line": 127, "column": 18 }, "end": { - "line": 101, + "line": 127, "column": 19 } } @@ -20978,15 +21418,15 @@ "binop": null }, "value": "error", - "start": 2817, - "end": 2822, + "start": 3502, + "end": 3507, "loc": { "start": { - "line": 101, + "line": 127, "column": 19 }, "end": { - "line": 101, + "line": 127, "column": 24 } } @@ -21003,15 +21443,15 @@ "postfix": false, "binop": null }, - "start": 2822, - "end": 2823, + "start": 3507, + "end": 3508, "loc": { "start": { - "line": 101, + "line": 127, "column": 24 }, "end": { - "line": 101, + "line": 127, "column": 25 } } @@ -21029,15 +21469,15 @@ "binop": null }, "value": "error", - "start": 2823, - "end": 2828, + "start": 3508, + "end": 3513, "loc": { "start": { - "line": 101, + "line": 127, "column": 25 }, "end": { - "line": 101, + "line": 127, "column": 30 } } @@ -21054,16 +21494,42 @@ "postfix": false, "binop": null }, - "start": 2828, - "end": 2829, + "start": 3513, + "end": 3514, "loc": { "start": { - "line": 101, + "line": 127, "column": 30 }, "end": { - "line": 101, + "line": 127, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3514, + "end": 3515, + "loc": { + "start": { + "line": 127, "column": 31 + }, + "end": { + "line": 127, + "column": 32 } } }, @@ -21079,15 +21545,15 @@ "postfix": false, "binop": null }, - "start": 2840, - "end": 2841, + "start": 3526, + "end": 3527, "loc": { "start": { - "line": 102, + "line": 128, "column": 10 }, "end": { - "line": 102, + "line": 128, "column": 11 } } @@ -21104,15 +21570,15 @@ "postfix": false, "binop": null }, - "start": 2850, - "end": 2851, + "start": 3536, + "end": 3537, "loc": { "start": { - "line": 103, + "line": 129, "column": 8 }, "end": { - "line": 103, + "line": 129, "column": 9 } } @@ -21129,15 +21595,15 @@ "postfix": false, "binop": null }, - "start": 2851, - "end": 2852, + "start": 3537, + "end": 3538, "loc": { "start": { - "line": 103, + "line": 129, "column": 9 }, "end": { - "line": 103, + "line": 129, "column": 10 } } @@ -21155,15 +21621,15 @@ "binop": null, "updateContext": null }, - "start": 2852, - "end": 2853, + "start": 3538, + "end": 3539, "loc": { "start": { - "line": 103, + "line": 129, "column": 10 }, "end": { - "line": 103, + "line": 129, "column": 11 } } @@ -21183,15 +21649,15 @@ "updateContext": null }, "value": "const", - "start": 2862, - "end": 2867, + "start": 3548, + "end": 3553, "loc": { "start": { - "line": 104, + "line": 130, "column": 8 }, "end": { - "line": 104, + "line": 130, "column": 13 } } @@ -21209,15 +21675,15 @@ "binop": null }, "value": "config", - "start": 2868, - "end": 2874, + "start": 3554, + "end": 3560, "loc": { "start": { - "line": 104, + "line": 130, "column": 14 }, "end": { - "line": 104, + "line": 130, "column": 20 } } @@ -21236,15 +21702,15 @@ "updateContext": null }, "value": "=", - "start": 2875, - "end": 2876, + "start": 3561, + "end": 3562, "loc": { "start": { - "line": 104, + "line": 130, "column": 21 }, "end": { - "line": 104, + "line": 130, "column": 22 } } @@ -21262,15 +21728,15 @@ "binop": null }, "value": "await", - "start": 2877, - "end": 2882, + "start": 3563, + "end": 3568, "loc": { "start": { - "line": 104, + "line": 130, "column": 23 }, "end": { - "line": 104, + "line": 130, "column": 28 } } @@ -21288,15 +21754,15 @@ "binop": null }, "value": "fn", - "start": 2883, - "end": 2885, + "start": 3569, + "end": 3571, "loc": { "start": { - "line": 104, + "line": 130, "column": 29 }, "end": { - "line": 104, + "line": 130, "column": 31 } } @@ -21313,15 +21779,15 @@ "postfix": false, "binop": null }, - "start": 2885, - "end": 2886, + "start": 3571, + "end": 3572, "loc": { "start": { - "line": 104, + "line": 130, "column": 31 }, "end": { - "line": 104, + "line": 130, "column": 32 } } @@ -21340,15 +21806,15 @@ "updateContext": null }, "value": "backed.json", - "start": 2886, - "end": 2899, + "start": 3572, + "end": 3585, "loc": { "start": { - "line": 104, + "line": 130, "column": 32 }, "end": { - "line": 104, + "line": 130, "column": 45 } } @@ -21365,15 +21831,15 @@ "postfix": false, "binop": null }, - "start": 2899, - "end": 2900, + "start": 3585, + "end": 3586, "loc": { "start": { - "line": 104, + "line": 130, "column": 45 }, "end": { - "line": 104, + "line": 130, "column": 46 } } @@ -21391,15 +21857,15 @@ "binop": null, "updateContext": null }, - "start": 2900, - "end": 2901, + "start": 3586, + "end": 3587, "loc": { "start": { - "line": 104, + "line": 130, "column": 46 }, "end": { - "line": 104, + "line": 130, "column": 47 } } @@ -21419,15 +21885,15 @@ "updateContext": null }, "value": "catch", - "start": 2901, - "end": 2906, + "start": 3587, + "end": 3592, "loc": { "start": { - "line": 104, + "line": 130, "column": 47 }, "end": { - "line": 104, + "line": 130, "column": 52 } } @@ -21444,15 +21910,15 @@ "postfix": false, "binop": null }, - "start": 2906, - "end": 2907, + "start": 3592, + "end": 3593, "loc": { "start": { - "line": 104, + "line": 130, "column": 52 }, "end": { - "line": 104, + "line": 130, "column": 53 } } @@ -21470,15 +21936,15 @@ "binop": null }, "value": "error", - "start": 2907, - "end": 2912, + "start": 3593, + "end": 3598, "loc": { "start": { - "line": 104, + "line": 130, "column": 53 }, "end": { - "line": 104, + "line": 130, "column": 58 } } @@ -21496,15 +21962,15 @@ "binop": null, "updateContext": null }, - "start": 2913, - "end": 2915, + "start": 3599, + "end": 3601, "loc": { "start": { - "line": 104, + "line": 130, "column": 59 }, "end": { - "line": 104, + "line": 130, "column": 61 } } @@ -21521,15 +21987,15 @@ "postfix": false, "binop": null }, - "start": 2916, - "end": 2917, + "start": 3602, + "end": 3603, "loc": { "start": { - "line": 104, + "line": 130, "column": 62 }, "end": { - "line": 104, + "line": 130, "column": 63 } } @@ -21549,15 +22015,15 @@ "updateContext": null }, "value": "if", - "start": 2928, - "end": 2930, + "start": 3614, + "end": 3616, "loc": { "start": { - "line": 105, + "line": 131, "column": 10 }, "end": { - "line": 105, + "line": 131, "column": 12 } } @@ -21574,15 +22040,15 @@ "postfix": false, "binop": null }, - "start": 2931, - "end": 2932, + "start": 3617, + "end": 3618, "loc": { "start": { - "line": 105, + "line": 131, "column": 13 }, "end": { - "line": 105, + "line": 131, "column": 14 } } @@ -21600,15 +22066,15 @@ "binop": null }, "value": "global", - "start": 2932, - "end": 2938, + "start": 3618, + "end": 3624, "loc": { "start": { - "line": 105, + "line": 131, "column": 14 }, "end": { - "line": 105, + "line": 131, "column": 20 } } @@ -21626,15 +22092,15 @@ "binop": null, "updateContext": null }, - "start": 2938, - "end": 2939, + "start": 3624, + "end": 3625, "loc": { "start": { - "line": 105, + "line": 131, "column": 20 }, "end": { - "line": 105, + "line": 131, "column": 21 } } @@ -21652,15 +22118,15 @@ "binop": null }, "value": "debug", - "start": 2939, - "end": 2944, + "start": 3625, + "end": 3630, "loc": { "start": { - "line": 105, + "line": 131, "column": 21 }, "end": { - "line": 105, + "line": 131, "column": 26 } } @@ -21677,15 +22143,15 @@ "postfix": false, "binop": null }, - "start": 2944, - "end": 2945, + "start": 3630, + "end": 3631, "loc": { "start": { - "line": 105, + "line": 131, "column": 26 }, "end": { - "line": 105, + "line": 131, "column": 27 } } @@ -21702,15 +22168,15 @@ "postfix": false, "binop": null }, - "start": 2946, - "end": 2947, + "start": 3632, + "end": 3633, "loc": { "start": { - "line": 105, + "line": 131, "column": 28 }, "end": { - "line": 105, + "line": 131, "column": 29 } } @@ -21728,15 +22194,15 @@ "binop": null }, "value": "logger", - "start": 2960, - "end": 2966, + "start": 3646, + "end": 3652, "loc": { "start": { - "line": 106, + "line": 132, "column": 12 }, "end": { - "line": 106, + "line": 132, "column": 18 } } @@ -21754,15 +22220,15 @@ "binop": null, "updateContext": null }, - "start": 2966, - "end": 2967, + "start": 3652, + "end": 3653, "loc": { "start": { - "line": 106, + "line": 132, "column": 18 }, "end": { - "line": 106, + "line": 132, "column": 19 } } @@ -21780,15 +22246,15 @@ "binop": null }, "value": "warn", - "start": 2967, - "end": 2971, + "start": 3653, + "end": 3657, "loc": { "start": { - "line": 106, + "line": 132, "column": 19 }, "end": { - "line": 106, + "line": 132, "column": 23 } } @@ -21805,15 +22271,15 @@ "postfix": false, "binop": null }, - "start": 2971, - "end": 2972, + "start": 3657, + "end": 3658, "loc": { "start": { - "line": 106, + "line": 132, "column": 23 }, "end": { - "line": 106, + "line": 132, "column": 24 } } @@ -21832,15 +22298,15 @@ "updateContext": null }, "value": "backed.json::not found, ignore this when using backed in package.json", - "start": 2972, - "end": 3043, + "start": 3658, + "end": 3729, "loc": { "start": { - "line": 106, + "line": 132, "column": 24 }, "end": { - "line": 106, + "line": 132, "column": 95 } } @@ -21857,16 +22323,42 @@ "postfix": false, "binop": null }, - "start": 3043, - "end": 3044, + "start": 3729, + "end": 3730, "loc": { "start": { - "line": 106, + "line": 132, "column": 95 }, "end": { - "line": 106, + "line": 132, + "column": 96 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 3730, + "end": 3731, + "loc": { + "start": { + "line": 132, "column": 96 + }, + "end": { + "line": 132, + "column": 97 } } }, @@ -21882,15 +22374,15 @@ "postfix": false, "binop": null }, - "start": 3055, - "end": 3056, + "start": 3742, + "end": 3743, "loc": { "start": { - "line": 107, + "line": 133, "column": 10 }, "end": { - "line": 107, + "line": 133, "column": 11 } } @@ -21907,15 +22399,15 @@ "postfix": false, "binop": null }, - "start": 3065, - "end": 3066, + "start": 3752, + "end": 3753, "loc": { "start": { - "line": 108, + "line": 134, "column": 8 }, "end": { - "line": 108, + "line": 134, "column": 9 } } @@ -21932,15 +22424,15 @@ "postfix": false, "binop": null }, - "start": 3066, - "end": 3067, + "start": 3753, + "end": 3754, "loc": { "start": { - "line": 108, + "line": 134, "column": 9 }, "end": { - "line": 108, + "line": 134, "column": 10 } } @@ -21958,15 +22450,15 @@ "binop": null, "updateContext": null }, - "start": 3067, - "end": 3068, + "start": 3754, + "end": 3755, "loc": { "start": { - "line": 108, + "line": 134, "column": 10 }, "end": { - "line": 108, + "line": 134, "column": 11 } } @@ -21986,15 +22478,15 @@ "updateContext": null }, "value": "if", - "start": 3077, - "end": 3079, + "start": 3764, + "end": 3766, "loc": { "start": { - "line": 109, + "line": 135, "column": 8 }, "end": { - "line": 109, + "line": 135, "column": 10 } } @@ -22011,15 +22503,15 @@ "postfix": false, "binop": null }, - "start": 3080, - "end": 3081, + "start": 3767, + "end": 3768, "loc": { "start": { - "line": 109, + "line": 135, "column": 11 }, "end": { - "line": 109, + "line": 135, "column": 12 } } @@ -22038,15 +22530,15 @@ "updateContext": null }, "value": "!", - "start": 3081, - "end": 3082, + "start": 3768, + "end": 3769, "loc": { "start": { - "line": 109, + "line": 135, "column": 12 }, "end": { - "line": 109, + "line": 135, "column": 13 } } @@ -22064,15 +22556,15 @@ "binop": null }, "value": "config", - "start": 3082, - "end": 3088, + "start": 3769, + "end": 3775, "loc": { "start": { - "line": 109, + "line": 135, "column": 13 }, "end": { - "line": 109, + "line": 135, "column": 19 } } @@ -22091,15 +22583,15 @@ "updateContext": null }, "value": "&&", - "start": 3089, - "end": 3091, + "start": 3776, + "end": 3778, "loc": { "start": { - "line": 109, + "line": 135, "column": 20 }, "end": { - "line": 109, + "line": 135, "column": 22 } } @@ -22118,15 +22610,15 @@ "updateContext": null }, "value": "!", - "start": 3092, - "end": 3093, + "start": 3779, + "end": 3780, "loc": { "start": { - "line": 109, + "line": 135, "column": 23 }, "end": { - "line": 109, + "line": 135, "column": 24 } } @@ -22144,15 +22636,15 @@ "binop": null }, "value": "pkg", - "start": 3093, - "end": 3096, + "start": 3780, + "end": 3783, "loc": { "start": { - "line": 109, + "line": 135, "column": 24 }, "end": { - "line": 109, + "line": 135, "column": 27 } } @@ -22169,15 +22661,15 @@ "postfix": false, "binop": null }, - "start": 3096, - "end": 3097, + "start": 3783, + "end": 3784, "loc": { "start": { - "line": 109, + "line": 135, "column": 27 }, "end": { - "line": 109, + "line": 135, "column": 28 } } @@ -22194,15 +22686,15 @@ "postfix": false, "binop": null }, - "start": 3098, - "end": 3099, + "start": 3785, + "end": 3786, "loc": { "start": { - "line": 109, + "line": 135, "column": 29 }, "end": { - "line": 109, + "line": 135, "column": 30 } } @@ -22220,15 +22712,15 @@ "binop": null }, "value": "logger", - "start": 3110, - "end": 3116, + "start": 3797, + "end": 3803, "loc": { "start": { - "line": 110, + "line": 136, "column": 10 }, "end": { - "line": 110, + "line": 136, "column": 16 } } @@ -22246,15 +22738,15 @@ "binop": null, "updateContext": null }, - "start": 3116, - "end": 3117, + "start": 3803, + "end": 3804, "loc": { "start": { - "line": 110, + "line": 136, "column": 16 }, "end": { - "line": 110, + "line": 136, "column": 17 } } @@ -22272,15 +22764,15 @@ "binop": null }, "value": "warn", - "start": 3117, - "end": 3121, + "start": 3804, + "end": 3808, "loc": { "start": { - "line": 110, + "line": 136, "column": 17 }, "end": { - "line": 110, + "line": 136, "column": 21 } } @@ -22297,15 +22789,15 @@ "postfix": false, "binop": null }, - "start": 3121, - "end": 3122, + "start": 3808, + "end": 3809, "loc": { "start": { - "line": 110, + "line": 136, "column": 21 }, "end": { - "line": 110, + "line": 136, "column": 22 } } @@ -22324,15 +22816,15 @@ "updateContext": null }, "value": "No backed.json or backed section in package.json, using default options.", - "start": 3122, - "end": 3196, + "start": 3809, + "end": 3883, "loc": { "start": { - "line": 110, + "line": 136, "column": 22 }, "end": { - "line": 110, + "line": 136, "column": 96 } } @@ -22349,15 +22841,15 @@ "postfix": false, "binop": null }, - "start": 3196, - "end": 3197, + "start": 3883, + "end": 3884, "loc": { "start": { - "line": 110, + "line": 136, "column": 96 }, "end": { - "line": 110, + "line": 136, "column": 97 } } @@ -22375,15 +22867,15 @@ "binop": null, "updateContext": null }, - "start": 3197, - "end": 3198, + "start": 3884, + "end": 3885, "loc": { "start": { - "line": 110, + "line": 136, "column": 97 }, "end": { - "line": 110, + "line": 136, "column": 98 } } @@ -22403,15 +22895,15 @@ "updateContext": null }, "value": "return", - "start": 3209, - "end": 3215, + "start": 3896, + "end": 3902, "loc": { "start": { - "line": 111, + "line": 137, "column": 10 }, "end": { - "line": 111, + "line": 137, "column": 16 } } @@ -22429,15 +22921,15 @@ "binop": null }, "value": "resolve", - "start": 3216, - "end": 3223, + "start": 3903, + "end": 3910, "loc": { "start": { - "line": 111, + "line": 137, "column": 17 }, "end": { - "line": 111, + "line": 137, "column": 24 } } @@ -22454,15 +22946,15 @@ "postfix": false, "binop": null }, - "start": 3223, - "end": 3224, + "start": 3910, + "end": 3911, "loc": { "start": { - "line": 111, + "line": 137, "column": 24 }, "end": { - "line": 111, + "line": 137, "column": 25 } } @@ -22479,15 +22971,15 @@ "postfix": false, "binop": null }, - "start": 3224, - "end": 3225, + "start": 3911, + "end": 3912, "loc": { "start": { - "line": 111, + "line": 137, "column": 25 }, "end": { - "line": 111, + "line": 137, "column": 26 } } @@ -22505,15 +22997,15 @@ "binop": null }, "value": "name", - "start": 3225, - "end": 3229, + "start": 3912, + "end": 3916, "loc": { "start": { - "line": 111, + "line": 137, "column": 26 }, "end": { - "line": 111, + "line": 137, "column": 30 } } @@ -22531,15 +23023,15 @@ "binop": null, "updateContext": null }, - "start": 3229, - "end": 3230, + "start": 3916, + "end": 3917, "loc": { "start": { - "line": 111, + "line": 137, "column": 30 }, "end": { - "line": 111, + "line": 137, "column": 31 } } @@ -22557,15 +23049,15 @@ "binop": null }, "value": "process", - "start": 3231, - "end": 3238, + "start": 3918, + "end": 3925, "loc": { "start": { - "line": 111, + "line": 137, "column": 32 }, "end": { - "line": 111, + "line": 137, "column": 39 } } @@ -22583,15 +23075,15 @@ "binop": null, "updateContext": null }, - "start": 3238, - "end": 3239, + "start": 3925, + "end": 3926, "loc": { "start": { - "line": 111, + "line": 137, "column": 39 }, "end": { - "line": 111, + "line": 137, "column": 40 } } @@ -22609,15 +23101,15 @@ "binop": null }, "value": "cwd", - "start": 3239, - "end": 3242, + "start": 3926, + "end": 3929, "loc": { "start": { - "line": 111, + "line": 137, "column": 40 }, "end": { - "line": 111, + "line": 137, "column": 43 } } @@ -22634,15 +23126,15 @@ "postfix": false, "binop": null }, - "start": 3242, - "end": 3243, + "start": 3929, + "end": 3930, "loc": { "start": { - "line": 111, + "line": 137, "column": 43 }, "end": { - "line": 111, + "line": 137, "column": 44 } } @@ -22659,15 +23151,15 @@ "postfix": false, "binop": null }, - "start": 3243, - "end": 3244, + "start": 3930, + "end": 3931, "loc": { "start": { - "line": 111, + "line": 137, "column": 44 }, "end": { - "line": 111, + "line": 137, "column": 45 } } @@ -22684,15 +23176,15 @@ "postfix": false, "binop": null }, - "start": 3244, - "end": 3245, + "start": 3931, + "end": 3932, "loc": { "start": { - "line": 111, + "line": 137, "column": 45 }, "end": { - "line": 111, + "line": 137, "column": 46 } } @@ -22709,15 +23201,15 @@ "postfix": false, "binop": null }, - "start": 3245, - "end": 3246, + "start": 3932, + "end": 3933, "loc": { "start": { - "line": 111, + "line": 137, "column": 46 }, "end": { - "line": 111, + "line": 137, "column": 47 } } @@ -22735,15 +23227,15 @@ "binop": null, "updateContext": null }, - "start": 3246, - "end": 3247, + "start": 3933, + "end": 3934, "loc": { "start": { - "line": 111, + "line": 137, "column": 47 }, "end": { - "line": 111, + "line": 137, "column": 48 } } @@ -22760,15 +23252,15 @@ "postfix": false, "binop": null }, - "start": 3256, - "end": 3257, + "start": 3943, + "end": 3944, "loc": { "start": { - "line": 112, + "line": 138, "column": 8 }, "end": { - "line": 112, + "line": 138, "column": 9 } } @@ -22788,15 +23280,15 @@ "updateContext": null }, "value": "if", - "start": 3266, - "end": 3268, + "start": 3953, + "end": 3955, "loc": { "start": { - "line": 113, + "line": 139, "column": 8 }, "end": { - "line": 113, + "line": 139, "column": 10 } } @@ -22813,15 +23305,15 @@ "postfix": false, "binop": null }, - "start": 3269, - "end": 3270, + "start": 3956, + "end": 3957, "loc": { "start": { - "line": 113, + "line": 139, "column": 11 }, "end": { - "line": 113, + "line": 139, "column": 12 } } @@ -22839,15 +23331,15 @@ "binop": null }, "value": "config", - "start": 3270, - "end": 3276, + "start": 3957, + "end": 3963, "loc": { "start": { - "line": 113, + "line": 139, "column": 12 }, "end": { - "line": 113, + "line": 139, "column": 18 } } @@ -22864,15 +23356,15 @@ "postfix": false, "binop": null }, - "start": 3276, - "end": 3277, + "start": 3963, + "end": 3964, "loc": { "start": { - "line": 113, + "line": 139, "column": 18 }, "end": { - "line": 113, + "line": 139, "column": 19 } } @@ -22889,15 +23381,15 @@ "postfix": false, "binop": null }, - "start": 3278, - "end": 3279, + "start": 3965, + "end": 3966, "loc": { "start": { - "line": 113, + "line": 139, "column": 20 }, "end": { - "line": 113, + "line": 139, "column": 21 } } @@ -22917,15 +23409,15 @@ "updateContext": null }, "value": "let", - "start": 3290, - "end": 3293, + "start": 3977, + "end": 3980, "loc": { "start": { - "line": 114, + "line": 140, "column": 10 }, "end": { - "line": 114, + "line": 140, "column": 13 } } @@ -22943,15 +23435,15 @@ "binop": null }, "value": "name", - "start": 3294, - "end": 3298, + "start": 3981, + "end": 3985, "loc": { "start": { - "line": 114, + "line": 140, "column": 14 }, "end": { - "line": 114, + "line": 140, "column": 18 } } @@ -22970,15 +23462,15 @@ "updateContext": null }, "value": "=", - "start": 3299, - "end": 3300, + "start": 3986, + "end": 3987, "loc": { "start": { - "line": 114, + "line": 140, "column": 19 }, "end": { - "line": 114, + "line": 140, "column": 20 } } @@ -22996,15 +23488,15 @@ "binop": null }, "value": "config", - "start": 3301, - "end": 3307, + "start": 3988, + "end": 3994, "loc": { "start": { - "line": 114, + "line": 140, "column": 21 }, "end": { - "line": 114, + "line": 140, "column": 27 } } @@ -23022,15 +23514,15 @@ "binop": null, "updateContext": null }, - "start": 3307, - "end": 3308, + "start": 3994, + "end": 3995, "loc": { "start": { - "line": 114, + "line": 140, "column": 27 }, "end": { - "line": 114, + "line": 140, "column": 28 } } @@ -23048,15 +23540,15 @@ "binop": null }, "value": "name", - "start": 3308, - "end": 3312, + "start": 3995, + "end": 3999, "loc": { "start": { - "line": 114, + "line": 140, "column": 28 }, "end": { - "line": 114, + "line": 140, "column": 32 } } @@ -23074,15 +23566,15 @@ "binop": null, "updateContext": null }, - "start": 3312, - "end": 3313, + "start": 3999, + "end": 4000, "loc": { "start": { - "line": 114, + "line": 140, "column": 32 }, "end": { - "line": 114, + "line": 140, "column": 33 } } @@ -23102,15 +23594,15 @@ "updateContext": null }, "value": "if", - "start": 3324, - "end": 3326, + "start": 4011, + "end": 4013, "loc": { "start": { - "line": 115, + "line": 141, "column": 10 }, "end": { - "line": 115, + "line": 141, "column": 12 } } @@ -23127,15 +23619,15 @@ "postfix": false, "binop": null }, - "start": 3327, - "end": 3328, + "start": 4014, + "end": 4015, "loc": { "start": { - "line": 115, + "line": 141, "column": 13 }, "end": { - "line": 115, + "line": 141, "column": 14 } } @@ -23154,15 +23646,15 @@ "updateContext": null }, "value": "!", - "start": 3328, - "end": 3329, + "start": 4015, + "end": 4016, "loc": { "start": { - "line": 115, + "line": 141, "column": 14 }, "end": { - "line": 115, + "line": 141, "column": 15 } } @@ -23180,15 +23672,15 @@ "binop": null }, "value": "name", - "start": 3329, - "end": 3333, + "start": 4016, + "end": 4020, "loc": { "start": { - "line": 115, + "line": 141, "column": 15 }, "end": { - "line": 115, + "line": 141, "column": 19 } } @@ -23207,15 +23699,15 @@ "updateContext": null }, "value": "&&", - "start": 3334, - "end": 3336, + "start": 4021, + "end": 4023, "loc": { "start": { - "line": 115, + "line": 141, "column": 20 }, "end": { - "line": 115, + "line": 141, "column": 22 } } @@ -23233,15 +23725,15 @@ "binop": null }, "value": "pkg", - "start": 3337, - "end": 3340, + "start": 4024, + "end": 4027, "loc": { "start": { - "line": 115, + "line": 141, "column": 23 }, "end": { - "line": 115, + "line": 141, "column": 26 } } @@ -23260,15 +23752,15 @@ "updateContext": null }, "value": "&&", - "start": 3341, - "end": 3343, + "start": 4028, + "end": 4030, "loc": { "start": { - "line": 115, + "line": 141, "column": 27 }, "end": { - "line": 115, + "line": 141, "column": 29 } } @@ -23286,15 +23778,15 @@ "binop": null }, "value": "pkg", - "start": 3344, - "end": 3347, + "start": 4031, + "end": 4034, "loc": { "start": { - "line": 115, + "line": 141, "column": 30 }, "end": { - "line": 115, + "line": 141, "column": 33 } } @@ -23312,15 +23804,15 @@ "binop": null, "updateContext": null }, - "start": 3347, - "end": 3348, + "start": 4034, + "end": 4035, "loc": { "start": { - "line": 115, + "line": 141, "column": 33 }, "end": { - "line": 115, + "line": 141, "column": 34 } } @@ -23338,15 +23830,15 @@ "binop": null }, "value": "name", - "start": 3348, - "end": 3352, + "start": 4035, + "end": 4039, "loc": { "start": { - "line": 115, + "line": 141, "column": 34 }, "end": { - "line": 115, + "line": 141, "column": 38 } } @@ -23365,15 +23857,15 @@ "updateContext": null }, "value": "&&", - "start": 3353, - "end": 3355, + "start": 4040, + "end": 4042, "loc": { "start": { - "line": 115, + "line": 141, "column": 39 }, "end": { - "line": 115, + "line": 141, "column": 41 } } @@ -23392,15 +23884,15 @@ "updateContext": null }, "value": "!", - "start": 3356, - "end": 3357, + "start": 4043, + "end": 4044, "loc": { "start": { - "line": 115, + "line": 141, "column": 42 }, "end": { - "line": 115, + "line": 141, "column": 43 } } @@ -23418,15 +23910,15 @@ "binop": null }, "value": "pkg", - "start": 3357, - "end": 3360, + "start": 4044, + "end": 4047, "loc": { "start": { - "line": 115, + "line": 141, "column": 43 }, "end": { - "line": 115, + "line": 141, "column": 46 } } @@ -23444,15 +23936,15 @@ "binop": null, "updateContext": null }, - "start": 3360, - "end": 3361, + "start": 4047, + "end": 4048, "loc": { "start": { - "line": 115, + "line": 141, "column": 46 }, "end": { - "line": 115, + "line": 141, "column": 47 } } @@ -23470,15 +23962,15 @@ "binop": null }, "value": "backed", - "start": 3361, - "end": 3367, + "start": 4048, + "end": 4054, "loc": { "start": { - "line": 115, + "line": 141, "column": 47 }, "end": { - "line": 115, + "line": 141, "column": 53 } } @@ -23495,15 +23987,15 @@ "postfix": false, "binop": null }, - "start": 3367, - "end": 3368, + "start": 4054, + "end": 4055, "loc": { "start": { - "line": 115, + "line": 141, "column": 53 }, "end": { - "line": 115, + "line": 141, "column": 54 } } @@ -23520,15 +24012,15 @@ "postfix": false, "binop": null }, - "start": 3369, - "end": 3370, + "start": 4056, + "end": 4057, "loc": { "start": { - "line": 115, + "line": 141, "column": 55 }, "end": { - "line": 115, + "line": 141, "column": 56 } } @@ -23548,15 +24040,15 @@ "updateContext": null }, "value": "return", - "start": 3383, - "end": 3389, + "start": 4070, + "end": 4076, "loc": { "start": { - "line": 116, + "line": 142, "column": 12 }, "end": { - "line": 116, + "line": 142, "column": 18 } } @@ -23574,15 +24066,15 @@ "binop": null }, "value": "resolve", - "start": 3390, - "end": 3397, + "start": 4077, + "end": 4084, "loc": { "start": { - "line": 116, + "line": 142, "column": 19 }, "end": { - "line": 116, + "line": 142, "column": 26 } } @@ -23599,15 +24091,15 @@ "postfix": false, "binop": null }, - "start": 3397, - "end": 3398, + "start": 4084, + "end": 4085, "loc": { "start": { - "line": 116, + "line": 142, "column": 26 }, "end": { - "line": 116, + "line": 142, "column": 27 } } @@ -23625,15 +24117,15 @@ "binop": null }, "value": "merge", - "start": 3398, - "end": 3403, + "start": 4085, + "end": 4090, "loc": { "start": { - "line": 116, + "line": 142, "column": 27 }, "end": { - "line": 116, + "line": 142, "column": 32 } } @@ -23650,15 +24142,15 @@ "postfix": false, "binop": null }, - "start": 3403, - "end": 3404, + "start": 4090, + "end": 4091, "loc": { "start": { - "line": 116, + "line": 142, "column": 32 }, "end": { - "line": 116, + "line": 142, "column": 33 } } @@ -23676,15 +24168,15 @@ "binop": null }, "value": "config", - "start": 3404, - "end": 3410, + "start": 4091, + "end": 4097, "loc": { "start": { - "line": 116, + "line": 142, "column": 33 }, "end": { - "line": 116, + "line": 142, "column": 39 } } @@ -23702,15 +24194,15 @@ "binop": null, "updateContext": null }, - "start": 3410, - "end": 3411, + "start": 4097, + "end": 4098, "loc": { "start": { - "line": 116, + "line": 142, "column": 39 }, "end": { - "line": 116, + "line": 142, "column": 40 } } @@ -23727,15 +24219,15 @@ "postfix": false, "binop": null }, - "start": 3412, - "end": 3413, + "start": 4099, + "end": 4100, "loc": { "start": { - "line": 116, + "line": 142, "column": 41 }, "end": { - "line": 116, + "line": 142, "column": 42 } } @@ -23753,15 +24245,15 @@ "binop": null }, "value": "name", - "start": 3413, - "end": 3417, + "start": 4100, + "end": 4104, "loc": { "start": { - "line": 116, + "line": 142, "column": 42 }, "end": { - "line": 116, + "line": 142, "column": 46 } } @@ -23779,15 +24271,15 @@ "binop": null, "updateContext": null }, - "start": 3417, - "end": 3418, + "start": 4104, + "end": 4105, "loc": { "start": { - "line": 116, + "line": 142, "column": 46 }, "end": { - "line": 116, + "line": 142, "column": 47 } } @@ -23805,15 +24297,15 @@ "binop": null }, "value": "pkg", - "start": 3419, - "end": 3422, + "start": 4106, + "end": 4109, "loc": { "start": { - "line": 116, + "line": 142, "column": 48 }, "end": { - "line": 116, + "line": 142, "column": 51 } } @@ -23831,15 +24323,15 @@ "binop": null, "updateContext": null }, - "start": 3422, - "end": 3423, + "start": 4109, + "end": 4110, "loc": { "start": { - "line": 116, + "line": 142, "column": 51 }, "end": { - "line": 116, + "line": 142, "column": 52 } } @@ -23857,15 +24349,15 @@ "binop": null }, "value": "name", - "start": 3423, - "end": 3427, + "start": 4110, + "end": 4114, "loc": { "start": { - "line": 116, + "line": 142, "column": 52 }, "end": { - "line": 116, + "line": 142, "column": 56 } } @@ -23882,15 +24374,15 @@ "postfix": false, "binop": null }, - "start": 3427, - "end": 3428, + "start": 4114, + "end": 4115, "loc": { "start": { - "line": 116, + "line": 142, "column": 56 }, "end": { - "line": 116, + "line": 142, "column": 57 } } @@ -23907,15 +24399,15 @@ "postfix": false, "binop": null }, - "start": 3428, - "end": 3429, + "start": 4115, + "end": 4116, "loc": { "start": { - "line": 116, + "line": 142, "column": 57 }, "end": { - "line": 116, + "line": 142, "column": 58 } } @@ -23932,15 +24424,15 @@ "postfix": false, "binop": null }, - "start": 3429, - "end": 3430, + "start": 4116, + "end": 4117, "loc": { "start": { - "line": 116, + "line": 142, "column": 58 }, "end": { - "line": 116, + "line": 142, "column": 59 } } @@ -23958,15 +24450,15 @@ "binop": null, "updateContext": null }, - "start": 3430, - "end": 3431, + "start": 4117, + "end": 4118, "loc": { "start": { - "line": 116, + "line": 142, "column": 59 }, "end": { - "line": 116, + "line": 142, "column": 60 } } @@ -23983,15 +24475,15 @@ "postfix": false, "binop": null }, - "start": 3442, - "end": 3443, + "start": 4129, + "end": 4130, "loc": { "start": { - "line": 117, + "line": 143, "column": 10 }, "end": { - "line": 117, + "line": 143, "column": 11 } } @@ -24011,15 +24503,15 @@ "updateContext": null }, "value": "else", - "start": 3444, - "end": 3448, + "start": 4131, + "end": 4135, "loc": { "start": { - "line": 117, + "line": 143, "column": 12 }, "end": { - "line": 117, + "line": 143, "column": 16 } } @@ -24039,15 +24531,15 @@ "updateContext": null }, "value": "if", - "start": 3449, - "end": 3451, + "start": 4136, + "end": 4138, "loc": { "start": { - "line": 117, + "line": 143, "column": 17 }, "end": { - "line": 117, + "line": 143, "column": 19 } } @@ -24064,15 +24556,15 @@ "postfix": false, "binop": null }, - "start": 3452, - "end": 3453, + "start": 4139, + "end": 4140, "loc": { "start": { - "line": 117, + "line": 143, "column": 20 }, "end": { - "line": 117, + "line": 143, "column": 21 } } @@ -24091,15 +24583,15 @@ "updateContext": null }, "value": "!", - "start": 3453, - "end": 3454, + "start": 4140, + "end": 4141, "loc": { "start": { - "line": 117, + "line": 143, "column": 21 }, "end": { - "line": 117, + "line": 143, "column": 22 } } @@ -24117,15 +24609,15 @@ "binop": null }, "value": "name", - "start": 3454, - "end": 3458, + "start": 4141, + "end": 4145, "loc": { "start": { - "line": 117, + "line": 143, "column": 22 }, "end": { - "line": 117, + "line": 143, "column": 26 } } @@ -24144,15 +24636,15 @@ "updateContext": null }, "value": "&&", - "start": 3459, - "end": 3461, + "start": 4146, + "end": 4148, "loc": { "start": { - "line": 117, + "line": 143, "column": 27 }, "end": { - "line": 117, + "line": 143, "column": 29 } } @@ -24171,15 +24663,15 @@ "updateContext": null }, "value": "!", - "start": 3462, - "end": 3463, + "start": 4149, + "end": 4150, "loc": { "start": { - "line": 117, + "line": 143, "column": 30 }, "end": { - "line": 117, + "line": 143, "column": 31 } } @@ -24197,15 +24689,15 @@ "binop": null }, "value": "pkg", - "start": 3463, - "end": 3466, + "start": 4150, + "end": 4153, "loc": { "start": { - "line": 117, + "line": 143, "column": 31 }, "end": { - "line": 117, + "line": 143, "column": 34 } } @@ -24222,15 +24714,15 @@ "postfix": false, "binop": null }, - "start": 3466, - "end": 3467, + "start": 4153, + "end": 4154, "loc": { "start": { - "line": 117, + "line": 143, "column": 34 }, "end": { - "line": 117, + "line": 143, "column": 35 } } @@ -24247,15 +24739,15 @@ "postfix": false, "binop": null }, - "start": 3468, - "end": 3469, + "start": 4155, + "end": 4156, "loc": { "start": { - "line": 117, + "line": 143, "column": 36 }, "end": { - "line": 117, + "line": 143, "column": 37 } } @@ -24275,15 +24767,15 @@ "updateContext": null }, "value": "return", - "start": 3482, - "end": 3488, + "start": 4169, + "end": 4175, "loc": { "start": { - "line": 118, + "line": 144, "column": 12 }, "end": { - "line": 118, + "line": 144, "column": 18 } } @@ -24301,15 +24793,15 @@ "binop": null }, "value": "resolve", - "start": 3489, - "end": 3496, + "start": 4176, + "end": 4183, "loc": { "start": { - "line": 118, + "line": 144, "column": 19 }, "end": { - "line": 118, + "line": 144, "column": 26 } } @@ -24326,15 +24818,15 @@ "postfix": false, "binop": null }, - "start": 3496, - "end": 3497, + "start": 4183, + "end": 4184, "loc": { "start": { - "line": 118, + "line": 144, "column": 26 }, "end": { - "line": 118, + "line": 144, "column": 27 } } @@ -24352,15 +24844,15 @@ "binop": null }, "value": "merge", - "start": 3497, - "end": 3502, + "start": 4184, + "end": 4189, "loc": { "start": { - "line": 118, + "line": 144, "column": 27 }, "end": { - "line": 118, + "line": 144, "column": 32 } } @@ -24377,15 +24869,15 @@ "postfix": false, "binop": null }, - "start": 3502, - "end": 3503, + "start": 4189, + "end": 4190, "loc": { "start": { - "line": 118, + "line": 144, "column": 32 }, "end": { - "line": 118, + "line": 144, "column": 33 } } @@ -24403,15 +24895,15 @@ "binop": null }, "value": "config", - "start": 3503, - "end": 3509, + "start": 4190, + "end": 4196, "loc": { "start": { - "line": 118, + "line": 144, "column": 33 }, "end": { - "line": 118, + "line": 144, "column": 39 } } @@ -24429,15 +24921,15 @@ "binop": null, "updateContext": null }, - "start": 3509, - "end": 3510, + "start": 4196, + "end": 4197, "loc": { "start": { - "line": 118, + "line": 144, "column": 39 }, "end": { - "line": 118, + "line": 144, "column": 40 } } @@ -24454,15 +24946,15 @@ "postfix": false, "binop": null }, - "start": 3511, - "end": 3512, + "start": 4198, + "end": 4199, "loc": { "start": { - "line": 118, + "line": 144, "column": 41 }, "end": { - "line": 118, + "line": 144, "column": 42 } } @@ -24480,15 +24972,15 @@ "binop": null }, "value": "name", - "start": 3512, - "end": 3516, + "start": 4199, + "end": 4203, "loc": { "start": { - "line": 118, + "line": 144, "column": 42 }, "end": { - "line": 118, + "line": 144, "column": 46 } } @@ -24506,15 +24998,15 @@ "binop": null, "updateContext": null }, - "start": 3516, - "end": 3517, + "start": 4203, + "end": 4204, "loc": { "start": { - "line": 118, + "line": 144, "column": 46 }, "end": { - "line": 118, + "line": 144, "column": 47 } } @@ -24532,15 +25024,15 @@ "binop": null }, "value": "process", - "start": 3518, - "end": 3525, + "start": 4205, + "end": 4212, "loc": { "start": { - "line": 118, + "line": 144, "column": 48 }, "end": { - "line": 118, + "line": 144, "column": 55 } } @@ -24558,15 +25050,15 @@ "binop": null, "updateContext": null }, - "start": 3525, - "end": 3526, + "start": 4212, + "end": 4213, "loc": { "start": { - "line": 118, + "line": 144, "column": 55 }, "end": { - "line": 118, + "line": 144, "column": 56 } } @@ -24584,15 +25076,15 @@ "binop": null }, "value": "cwd", - "start": 3526, - "end": 3529, + "start": 4213, + "end": 4216, "loc": { "start": { - "line": 118, + "line": 144, "column": 56 }, "end": { - "line": 118, + "line": 144, "column": 59 } } @@ -24609,15 +25101,15 @@ "postfix": false, "binop": null }, - "start": 3529, - "end": 3530, + "start": 4216, + "end": 4217, "loc": { "start": { - "line": 118, + "line": 144, "column": 59 }, "end": { - "line": 118, + "line": 144, "column": 60 } } @@ -24634,15 +25126,15 @@ "postfix": false, "binop": null }, - "start": 3530, - "end": 3531, + "start": 4217, + "end": 4218, "loc": { "start": { - "line": 118, + "line": 144, "column": 60 }, "end": { - "line": 118, + "line": 144, "column": 61 } } @@ -24659,15 +25151,15 @@ "postfix": false, "binop": null }, - "start": 3531, - "end": 3532, + "start": 4218, + "end": 4219, "loc": { "start": { - "line": 118, + "line": 144, "column": 61 }, "end": { - "line": 118, + "line": 144, "column": 62 } } @@ -24684,15 +25176,15 @@ "postfix": false, "binop": null }, - "start": 3532, - "end": 3533, + "start": 4219, + "end": 4220, "loc": { "start": { - "line": 118, + "line": 144, "column": 62 }, "end": { - "line": 118, + "line": 144, "column": 63 } } @@ -24709,16 +25201,42 @@ "postfix": false, "binop": null }, - "start": 3533, - "end": 3534, + "start": 4220, + "end": 4221, "loc": { "start": { - "line": 118, + "line": 144, "column": 63 }, "end": { - "line": 118, + "line": 144, + "column": 64 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4221, + "end": 4222, + "loc": { + "start": { + "line": 144, "column": 64 + }, + "end": { + "line": 144, + "column": 65 } } }, @@ -24734,15 +25252,15 @@ "postfix": false, "binop": null }, - "start": 3545, - "end": 3546, + "start": 4233, + "end": 4234, "loc": { "start": { - "line": 119, + "line": 145, "column": 10 }, "end": { - "line": 119, + "line": 145, "column": 11 } } @@ -24759,15 +25277,15 @@ "postfix": false, "binop": null }, - "start": 3555, - "end": 3556, + "start": 4243, + "end": 4244, "loc": { "start": { - "line": 120, + "line": 146, "column": 8 }, "end": { - "line": 120, + "line": 146, "column": 9 } } @@ -24787,15 +25305,15 @@ "updateContext": null }, "value": "if", - "start": 3565, - "end": 3567, + "start": 4253, + "end": 4255, "loc": { "start": { - "line": 121, + "line": 147, "column": 8 }, "end": { - "line": 121, + "line": 147, "column": 10 } } @@ -24812,16 +25330,16 @@ "postfix": false, "binop": null }, - "start": 3567, - "end": 3568, + "start": 4256, + "end": 4257, "loc": { "start": { - "line": 121, - "column": 10 + "line": 147, + "column": 11 }, "end": { - "line": 121, - "column": 11 + "line": 147, + "column": 12 } } }, @@ -24838,16 +25356,16 @@ "binop": null }, "value": "pkg", - "start": 3568, - "end": 3571, + "start": 4257, + "end": 4260, "loc": { "start": { - "line": 121, - "column": 11 + "line": 147, + "column": 12 }, "end": { - "line": 121, - "column": 14 + "line": 147, + "column": 15 } } }, @@ -24865,16 +25383,16 @@ "updateContext": null }, "value": "&&", - "start": 3572, - "end": 3574, + "start": 4261, + "end": 4263, "loc": { "start": { - "line": 121, - "column": 15 + "line": 147, + "column": 16 }, "end": { - "line": 121, - "column": 17 + "line": 147, + "column": 18 } } }, @@ -24891,16 +25409,16 @@ "binop": null }, "value": "pkg", - "start": 3575, - "end": 3578, + "start": 4264, + "end": 4267, "loc": { "start": { - "line": 121, - "column": 18 + "line": 147, + "column": 19 }, "end": { - "line": 121, - "column": 21 + "line": 147, + "column": 22 } } }, @@ -24917,16 +25435,16 @@ "binop": null, "updateContext": null }, - "start": 3578, - "end": 3579, + "start": 4267, + "end": 4268, "loc": { "start": { - "line": 121, - "column": 21 + "line": 147, + "column": 22 }, "end": { - "line": 121, - "column": 22 + "line": 147, + "column": 23 } } }, @@ -24943,16 +25461,16 @@ "binop": null }, "value": "backed", - "start": 3579, - "end": 3585, + "start": 4268, + "end": 4274, "loc": { "start": { - "line": 121, - "column": 22 + "line": 147, + "column": 23 }, "end": { - "line": 121, - "column": 28 + "line": 147, + "column": 29 } } }, @@ -24968,16 +25486,16 @@ "postfix": false, "binop": null }, - "start": 3585, - "end": 3586, + "start": 4274, + "end": 4275, "loc": { "start": { - "line": 121, - "column": 28 + "line": 147, + "column": 29 }, "end": { - "line": 121, - "column": 29 + "line": 147, + "column": 30 } } }, @@ -24993,16 +25511,16 @@ "postfix": false, "binop": null }, - "start": 3587, - "end": 3588, + "start": 4276, + "end": 4277, "loc": { "start": { - "line": 121, - "column": 30 + "line": 147, + "column": 31 }, "end": { - "line": 121, - "column": 31 + "line": 147, + "column": 32 } } }, @@ -25021,15 +25539,15 @@ "updateContext": null }, "value": "return", - "start": 3599, - "end": 3605, + "start": 4288, + "end": 4294, "loc": { "start": { - "line": 122, + "line": 148, "column": 10 }, "end": { - "line": 122, + "line": 148, "column": 16 } } @@ -25047,15 +25565,15 @@ "binop": null }, "value": "resolve", - "start": 3606, - "end": 3613, + "start": 4295, + "end": 4302, "loc": { "start": { - "line": 122, + "line": 148, "column": 17 }, "end": { - "line": 122, + "line": 148, "column": 24 } } @@ -25072,15 +25590,15 @@ "postfix": false, "binop": null }, - "start": 3613, - "end": 3614, + "start": 4302, + "end": 4303, "loc": { "start": { - "line": 122, + "line": 148, "column": 24 }, "end": { - "line": 122, + "line": 148, "column": 25 } } @@ -25098,15 +25616,15 @@ "binop": null }, "value": "merge", - "start": 3614, - "end": 3619, + "start": 4303, + "end": 4308, "loc": { "start": { - "line": 122, + "line": 148, "column": 25 }, "end": { - "line": 122, + "line": 148, "column": 30 } } @@ -25123,15 +25641,15 @@ "postfix": false, "binop": null }, - "start": 3619, - "end": 3620, + "start": 4308, + "end": 4309, "loc": { "start": { - "line": 122, + "line": 148, "column": 30 }, "end": { - "line": 122, + "line": 148, "column": 31 } } @@ -25149,15 +25667,15 @@ "binop": null }, "value": "pkg", - "start": 3620, - "end": 3623, + "start": 4309, + "end": 4312, "loc": { "start": { - "line": 122, + "line": 148, "column": 31 }, "end": { - "line": 122, + "line": 148, "column": 34 } } @@ -25175,15 +25693,15 @@ "binop": null, "updateContext": null }, - "start": 3623, - "end": 3624, + "start": 4312, + "end": 4313, "loc": { "start": { - "line": 122, + "line": 148, "column": 34 }, "end": { - "line": 122, + "line": 148, "column": 35 } } @@ -25201,15 +25719,15 @@ "binop": null }, "value": "backed", - "start": 3624, - "end": 3630, + "start": 4313, + "end": 4319, "loc": { "start": { - "line": 122, + "line": 148, "column": 35 }, "end": { - "line": 122, + "line": 148, "column": 41 } } @@ -25227,15 +25745,15 @@ "binop": null, "updateContext": null }, - "start": 3630, - "end": 3631, + "start": 4319, + "end": 4320, "loc": { "start": { - "line": 122, + "line": 148, "column": 41 }, "end": { - "line": 122, + "line": 148, "column": 42 } } @@ -25252,15 +25770,15 @@ "postfix": false, "binop": null }, - "start": 3632, - "end": 3633, + "start": 4321, + "end": 4322, "loc": { "start": { - "line": 122, + "line": 148, "column": 43 }, "end": { - "line": 122, + "line": 148, "column": 44 } } @@ -25278,15 +25796,15 @@ "binop": null }, "value": "name", - "start": 3633, - "end": 3637, + "start": 4322, + "end": 4326, "loc": { "start": { - "line": 122, + "line": 148, "column": 44 }, "end": { - "line": 122, + "line": 148, "column": 48 } } @@ -25304,15 +25822,15 @@ "binop": null, "updateContext": null }, - "start": 3637, - "end": 3638, + "start": 4326, + "end": 4327, "loc": { "start": { - "line": 122, + "line": 148, "column": 48 }, "end": { - "line": 122, + "line": 148, "column": 49 } } @@ -25330,15 +25848,15 @@ "binop": null }, "value": "pkg", - "start": 3639, - "end": 3642, + "start": 4328, + "end": 4331, "loc": { "start": { - "line": 122, + "line": 148, "column": 50 }, "end": { - "line": 122, + "line": 148, "column": 53 } } @@ -25356,15 +25874,15 @@ "binop": null, "updateContext": null }, - "start": 3642, - "end": 3643, + "start": 4331, + "end": 4332, "loc": { "start": { - "line": 122, + "line": 148, "column": 53 }, "end": { - "line": 122, + "line": 148, "column": 54 } } @@ -25382,15 +25900,15 @@ "binop": null }, "value": "name", - "start": 3643, - "end": 3647, + "start": 4332, + "end": 4336, "loc": { "start": { - "line": 122, + "line": 148, "column": 54 }, "end": { - "line": 122, + "line": 148, "column": 58 } } @@ -25407,15 +25925,15 @@ "postfix": false, "binop": null }, - "start": 3647, - "end": 3648, + "start": 4336, + "end": 4337, "loc": { "start": { - "line": 122, + "line": 148, "column": 58 }, "end": { - "line": 122, + "line": 148, "column": 59 } } @@ -25432,15 +25950,15 @@ "postfix": false, "binop": null }, - "start": 3648, - "end": 3649, + "start": 4337, + "end": 4338, "loc": { "start": { - "line": 122, + "line": 148, "column": 59 }, "end": { - "line": 122, + "line": 148, "column": 60 } } @@ -25457,15 +25975,15 @@ "postfix": false, "binop": null }, - "start": 3649, - "end": 3650, + "start": 4338, + "end": 4339, "loc": { "start": { - "line": 122, + "line": 148, "column": 60 }, "end": { - "line": 122, + "line": 148, "column": 61 } } @@ -25483,15 +26001,15 @@ "binop": null, "updateContext": null }, - "start": 3650, - "end": 3651, + "start": 4339, + "end": 4340, "loc": { "start": { - "line": 122, + "line": 148, "column": 61 }, "end": { - "line": 122, + "line": 148, "column": 62 } } @@ -25508,15 +26026,15 @@ "postfix": false, "binop": null }, - "start": 3660, - "end": 3661, + "start": 4349, + "end": 4350, "loc": { "start": { - "line": 123, + "line": 149, "column": 8 }, "end": { - "line": 123, + "line": 149, "column": 9 } } @@ -25533,51 +26051,49 @@ "postfix": false, "binop": null }, - "start": 3668, - "end": 3669, + "start": 4357, + "end": 4358, "loc": { "start": { - "line": 124, + "line": 150, "column": 6 }, "end": { - "line": 124, + "line": 150, "column": 7 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 3676, - "end": 3681, + "value": "generator", + "start": 4365, + "end": 4374, "loc": { "start": { - "line": 125, + "line": 151, "column": 6 }, "end": { - "line": 125, - "column": 11 + "line": 151, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25586,77 +26102,77 @@ "postfix": false, "binop": null }, - "value": "it", - "start": 3682, - "end": 3684, + "start": 4374, + "end": 4375, "loc": { "start": { - "line": 125, - "column": 12 + "line": 151, + "column": 15 }, "end": { - "line": 125, - "column": 14 + "line": 151, + "column": 16 } } }, { "type": { - "label": "=", - "beforeExpr": true, - "startsExpr": false, + "label": "this", + "keyword": "this", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 3685, - "end": 3686, + "value": "this", + "start": 4375, + "end": 4379, "loc": { "start": { - "line": 125, - "column": 15 + "line": 151, + "column": 16 }, "end": { - "line": 125, - "column": 16 + "line": 151, + "column": 20 } } }, { "type": { - "label": "name", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "generator", - "start": 3687, - "end": 3696, + "start": 4379, + "end": 4380, "loc": { "start": { - "line": 125, - "column": 17 + "line": 151, + "column": 20 }, "end": { - "line": 125, - "column": 26 + "line": 151, + "column": 21 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -25665,51 +26181,49 @@ "postfix": false, "binop": null }, - "start": 3696, - "end": 3697, + "value": "require", + "start": 4380, + "end": 4387, "loc": { "start": { - "line": 125, - "column": 26 + "line": 151, + "column": 21 }, "end": { - "line": 125, - "column": 27 + "line": 151, + "column": 28 } } }, { "type": { - "label": "this", - "keyword": "this", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "this", - "start": 3697, - "end": 3701, + "start": 4387, + "end": 4388, "loc": { "start": { - "line": 125, - "column": 27 + "line": 151, + "column": 28 }, "end": { - "line": 125, - "column": 31 + "line": 151, + "column": 29 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -25719,24 +26233,24 @@ "binop": null, "updateContext": null }, - "start": 3701, - "end": 3702, + "start": 4388, + "end": 4389, "loc": { "start": { - "line": 125, - "column": 31 + "line": 151, + "column": 29 }, "end": { - "line": 125, - "column": 32 + "line": 151, + "column": 30 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25744,17 +26258,16 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 3702, - "end": 3709, + "start": 4394, + "end": 4395, "loc": { "start": { - "line": 125, - "column": 32 + "line": 152, + "column": 4 }, "end": { - "line": 125, - "column": 39 + "line": 152, + "column": 5 } } }, @@ -25770,16 +26283,16 @@ "postfix": false, "binop": null }, - "start": 3709, - "end": 3710, + "start": 4395, + "end": 4396, "loc": { "start": { - "line": 125, - "column": 39 + "line": 152, + "column": 5 }, "end": { - "line": 125, - "column": 40 + "line": 152, + "column": 6 } } }, @@ -25796,24 +26309,24 @@ "binop": null, "updateContext": null }, - "start": 3710, - "end": 3711, + "start": 4396, + "end": 4397, "loc": { "start": { - "line": 125, - "column": 40 + "line": 152, + "column": 6 }, "end": { - "line": 125, - "column": 41 + "line": 152, + "column": 7 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -25821,43 +26334,32 @@ "postfix": false, "binop": null }, - "value": "it", - "start": 3718, - "end": 3720, + "start": 4400, + "end": 4401, "loc": { "start": { - "line": 126, - "column": 6 + "line": 153, + "column": 2 }, "end": { - "line": 126, - "column": 8 + "line": 153, + "column": 3 } } }, { - "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 3720, - "end": 3721, + "type": "CommentBlock", + "value": "*\n * @return {string} name from 'package.json'\n ", + "start": 4405, + "end": 4461, "loc": { "start": { - "line": 126, - "column": 8 + "line": 155, + "column": 2 }, "end": { - "line": 126, - "column": 9 + "line": 157, + "column": 5 } } }, @@ -25873,17 +26375,17 @@ "postfix": false, "binop": null }, - "value": "next", - "start": 3721, - "end": 3725, + "value": "importPackageName", + "start": 4464, + "end": 4481, "loc": { "start": { - "line": 126, - "column": 9 + "line": 158, + "column": 2 }, "end": { - "line": 126, - "column": 13 + "line": 158, + "column": 19 } } }, @@ -25899,16 +26401,16 @@ "postfix": false, "binop": null }, - "start": 3725, - "end": 3726, + "start": 4481, + "end": 4482, "loc": { "start": { - "line": 126, - "column": 13 + "line": 158, + "column": 19 }, "end": { - "line": 126, - "column": 14 + "line": 158, + "column": 20 } } }, @@ -25924,48 +26426,48 @@ "postfix": false, "binop": null }, - "start": 3726, - "end": 3727, + "start": 4482, + "end": 4483, "loc": { "start": { - "line": 126, - "column": 14 + "line": 158, + "column": 20 }, "end": { - "line": 126, - "column": 15 + "line": 158, + "column": 21 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 3727, - "end": 3728, + "start": 4484, + "end": 4485, "loc": { "start": { - "line": 126, - "column": 15 + "line": 158, + "column": 22 }, "end": { - "line": 126, - "column": 16 + "line": 158, + "column": 23 } } }, { "type": { - "label": "}", + "label": "try", + "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -25973,26 +26475,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3733, - "end": 3734, + "value": "try", + "start": 4490, + "end": 4493, "loc": { "start": { - "line": 127, + "line": 159, "column": 4 }, "end": { - "line": 127, - "column": 5 + "line": 159, + "column": 7 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26000,22 +26504,23 @@ "postfix": false, "binop": null }, - "start": 3734, - "end": 3735, + "start": 4494, + "end": 4495, "loc": { "start": { - "line": 127, - "column": 5 + "line": 159, + "column": 8 }, "end": { - "line": 127, - "column": 6 + "line": 159, + "column": 9 } } }, { "type": { - "label": ";", + "label": "return", + "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -26026,24 +26531,25 @@ "binop": null, "updateContext": null }, - "start": 3735, - "end": 3736, + "value": "return", + "start": 4502, + "end": 4508, "loc": { "start": { - "line": 127, + "line": 160, "column": 6 }, "end": { - "line": 127, - "column": 7 + "line": 160, + "column": 12 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26051,32 +26557,43 @@ "postfix": false, "binop": null }, - "start": 3739, - "end": 3740, + "value": "JSON", + "start": 4509, + "end": 4513, "loc": { "start": { - "line": 128, - "column": 2 + "line": 160, + "column": 13 }, "end": { - "line": 128, - "column": 3 + "line": 160, + "column": 17 } } }, { - "type": "CommentBlock", - "value": "*\n * @return {string} name from 'package.json'\n ", - "start": 3744, - "end": 3800, + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4513, + "end": 4514, "loc": { "start": { - "line": 130, - "column": 2 + "line": 160, + "column": 17 }, "end": { - "line": 132, - "column": 5 + "line": 160, + "column": 18 } } }, @@ -26092,17 +26609,17 @@ "postfix": false, "binop": null }, - "value": "importPackageName", - "start": 3803, - "end": 3820, + "value": "parse", + "start": 4514, + "end": 4519, "loc": { "start": { - "line": 133, - "column": 2 + "line": 160, + "column": 18 }, "end": { - "line": 133, - "column": 19 + "line": 160, + "column": 23 } } }, @@ -26118,24 +26635,24 @@ "postfix": false, "binop": null }, - "start": 3820, - "end": 3821, + "start": 4519, + "end": 4520, "loc": { "start": { - "line": 133, - "column": 19 + "line": 160, + "column": 23 }, "end": { - "line": 133, - "column": 20 + "line": 160, + "column": 24 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26143,22 +26660,23 @@ "postfix": false, "binop": null }, - "start": 3821, - "end": 3822, + "value": "readFileSync", + "start": 4520, + "end": 4532, "loc": { "start": { - "line": 133, - "column": 20 + "line": 160, + "column": 24 }, "end": { - "line": 133, - "column": 21 + "line": 160, + "column": 36 } } }, { "type": { - "label": "{", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26168,97 +26686,93 @@ "postfix": false, "binop": null }, - "start": 3823, - "end": 3824, + "start": 4532, + "end": 4533, "loc": { "start": { - "line": 133, - "column": 22 + "line": 160, + "column": 36 }, "end": { - "line": 133, - "column": 23 + "line": 160, + "column": 37 } } }, { "type": { - "label": "try", - "keyword": "try", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "try", - "start": 3829, - "end": 3832, + "start": 4533, + "end": 4534, "loc": { "start": { - "line": 134, - "column": 4 + "line": 160, + "column": 37 }, "end": { - "line": 134, - "column": 7 + "line": 160, + "column": 38 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": "template", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3833, - "end": 3834, + "value": "", + "start": 4534, + "end": 4534, "loc": { "start": { - "line": 134, - "column": 8 + "line": 160, + "column": 38 }, "end": { - "line": 134, - "column": 9 + "line": 160, + "column": 38 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "${", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "return", - "start": 3841, - "end": 3847, + "start": 4534, + "end": 4536, "loc": { "start": { - "line": 135, - "column": 6 + "line": 160, + "column": 38 }, "end": { - "line": 135, - "column": 12 + "line": 160, + "column": 40 } } }, @@ -26274,17 +26788,17 @@ "postfix": false, "binop": null }, - "value": "JSON", - "start": 3848, - "end": 3852, + "value": "process", + "start": 4536, + "end": 4543, "loc": { "start": { - "line": 135, - "column": 13 + "line": 160, + "column": 40 }, "end": { - "line": 135, - "column": 17 + "line": 160, + "column": 47 } } }, @@ -26301,16 +26815,16 @@ "binop": null, "updateContext": null }, - "start": 3852, - "end": 3853, + "start": 4543, + "end": 4544, "loc": { "start": { - "line": 135, - "column": 17 + "line": 160, + "column": 47 }, "end": { - "line": 135, - "column": 18 + "line": 160, + "column": 48 } } }, @@ -26326,17 +26840,17 @@ "postfix": false, "binop": null }, - "value": "parse", - "start": 3853, - "end": 3858, + "value": "cwd", + "start": 4544, + "end": 4547, "loc": { "start": { - "line": 135, - "column": 18 + "line": 160, + "column": 48 }, "end": { - "line": 135, - "column": 23 + "line": 160, + "column": 51 } } }, @@ -26352,24 +26866,24 @@ "postfix": false, "binop": null }, - "start": 3858, - "end": 3859, + "start": 4547, + "end": 4548, "loc": { "start": { - "line": 135, - "column": 23 + "line": 160, + "column": 51 }, "end": { - "line": 135, - "column": 24 + "line": 160, + "column": 52 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26377,102 +26891,101 @@ "postfix": false, "binop": null }, - "value": "readFileSync", - "start": 3859, - "end": 3871, + "start": 4548, + "end": 4549, "loc": { "start": { - "line": 135, - "column": 24 + "line": 160, + "column": 52 }, "end": { - "line": 135, - "column": 36 + "line": 160, + "column": 53 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, - "start": 3871, - "end": 3872, + "start": 4549, + "end": 4550, "loc": { "start": { - "line": 135, - "column": 36 + "line": 160, + "column": 53 }, "end": { - "line": 135, - "column": 37 + "line": 160, + "column": 54 } } }, { "type": { - "label": "`", + "label": "template", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3872, - "end": 3873, + "value": "/package.json", + "start": 4550, + "end": 4563, "loc": { "start": { - "line": 135, - "column": 37 + "line": 160, + "column": 54 }, "end": { - "line": 135, - "column": 38 + "line": 160, + "column": 67 } } }, { "type": { - "label": "template", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "", - "start": 3873, - "end": 3873, + "start": 4563, + "end": 4564, "loc": { "start": { - "line": 135, - "column": 38 + "line": 160, + "column": 67 }, "end": { - "line": 135, - "column": 38 + "line": 160, + "column": 68 } } }, { "type": { - "label": "${", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26480,24 +26993,24 @@ "postfix": false, "binop": null }, - "start": 3873, - "end": 3875, + "start": 4564, + "end": 4565, "loc": { "start": { - "line": 135, - "column": 38 + "line": 160, + "column": 68 }, "end": { - "line": 135, - "column": 40 + "line": 160, + "column": 69 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26505,17 +27018,16 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 3875, - "end": 3882, + "start": 4565, + "end": 4566, "loc": { "start": { - "line": 135, - "column": 40 + "line": 160, + "column": 69 }, "end": { - "line": 135, - "column": 47 + "line": 160, + "column": 70 } } }, @@ -26532,16 +27044,16 @@ "binop": null, "updateContext": null }, - "start": 3882, - "end": 3883, + "start": 4566, + "end": 4567, "loc": { "start": { - "line": 135, - "column": 47 + "line": 160, + "column": 70 }, "end": { - "line": 135, - "column": 48 + "line": 160, + "column": 71 } } }, @@ -26557,48 +27069,49 @@ "postfix": false, "binop": null }, - "value": "cwd", - "start": 3883, - "end": 3886, + "value": "name", + "start": 4567, + "end": 4571, "loc": { "start": { - "line": 135, - "column": 48 + "line": 160, + "column": 71 }, "end": { - "line": 135, - "column": 51 + "line": 160, + "column": 75 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3886, - "end": 3887, + "start": 4571, + "end": 4572, "loc": { "start": { - "line": 135, - "column": 51 + "line": 160, + "column": 75 }, "end": { - "line": 135, - "column": 52 + "line": 160, + "column": 76 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26608,22 +27121,23 @@ "postfix": false, "binop": null }, - "start": 3887, - "end": 3888, + "start": 4577, + "end": 4578, "loc": { "start": { - "line": 135, - "column": 52 + "line": 161, + "column": 4 }, "end": { - "line": 135, - "column": 53 + "line": 161, + "column": 5 } } }, { "type": { - "label": "}", + "label": "catch", + "keyword": "catch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26631,51 +27145,51 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3888, - "end": 3889, + "value": "catch", + "start": 4579, + "end": 4584, "loc": { "start": { - "line": 135, - "column": 53 + "line": 161, + "column": 6 }, "end": { - "line": 135, - "column": 54 + "line": 161, + "column": 11 } } }, { "type": { - "label": "template", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "/package.json", - "start": 3889, - "end": 3902, + "start": 4585, + "end": 4586, "loc": { "start": { - "line": 135, - "column": 54 + "line": 161, + "column": 12 }, "end": { - "line": 135, - "column": 67 + "line": 161, + "column": 13 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -26685,16 +27199,17 @@ "postfix": false, "binop": null }, - "start": 3902, - "end": 3903, + "value": "e", + "start": 4586, + "end": 4587, "loc": { "start": { - "line": 135, - "column": 67 + "line": 161, + "column": 13 }, "end": { - "line": 135, - "column": 68 + "line": 161, + "column": 14 } } }, @@ -26710,24 +27225,24 @@ "postfix": false, "binop": null }, - "start": 3903, - "end": 3904, + "start": 4587, + "end": 4588, "loc": { "start": { - "line": 135, - "column": 68 + "line": 161, + "column": 14 }, "end": { - "line": 135, - "column": 69 + "line": 161, + "column": 15 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26735,22 +27250,23 @@ "postfix": false, "binop": null }, - "start": 3904, - "end": 3905, + "start": 4589, + "end": 4590, "loc": { "start": { - "line": 135, - "column": 69 + "line": 161, + "column": 16 }, "end": { - "line": 135, - "column": 70 + "line": 161, + "column": 17 } } }, { "type": { - "label": ".", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26761,16 +27277,42 @@ "binop": null, "updateContext": null }, - "start": 3905, - "end": 3906, + "value": "if", + "start": 4597, + "end": 4599, + "loc": { + "start": { + "line": 162, + "column": 6 + }, + "end": { + "line": 162, + "column": 8 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4600, + "end": 4601, "loc": { "start": { - "line": 135, - "column": 70 + "line": 162, + "column": 9 }, "end": { - "line": 135, - "column": 71 + "line": 162, + "column": 10 } } }, @@ -26786,24 +27328,24 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 3906, - "end": 3910, + "value": "global", + "start": 4601, + "end": 4607, "loc": { "start": { - "line": 135, - "column": 71 + "line": 162, + "column": 10 }, "end": { - "line": 135, - "column": 75 + "line": 162, + "column": 16 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -26813,24 +27355,24 @@ "binop": null, "updateContext": null }, - "start": 3910, - "end": 3911, + "start": 4607, + "end": 4608, "loc": { "start": { - "line": 135, - "column": 75 + "line": 162, + "column": 16 }, "end": { - "line": 135, - "column": 76 + "line": 162, + "column": 17 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -26838,23 +27380,23 @@ "postfix": false, "binop": null }, - "start": 3916, - "end": 3917, + "value": "debug", + "start": 4608, + "end": 4613, "loc": { "start": { - "line": 136, - "column": 4 + "line": 162, + "column": 17 }, "end": { - "line": 136, - "column": 5 + "line": 162, + "column": 22 } } }, { "type": { - "label": "catch", - "keyword": "catch", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26862,26 +27404,24 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "catch", - "start": 3918, - "end": 3923, + "start": 4613, + "end": 4614, "loc": { "start": { - "line": 136, - "column": 6 + "line": 162, + "column": 22 }, "end": { - "line": 136, - "column": 11 + "line": 162, + "column": 23 } } }, { "type": { - "label": "(", + "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -26891,16 +27431,16 @@ "postfix": false, "binop": null }, - "start": 3924, - "end": 3925, + "start": 4615, + "end": 4616, "loc": { "start": { - "line": 136, - "column": 12 + "line": 162, + "column": 24 }, "end": { - "line": 136, - "column": 13 + "line": 162, + "column": 25 } } }, @@ -26916,23 +27456,23 @@ "postfix": false, "binop": null }, - "value": "e", - "start": 3925, - "end": 3926, + "value": "logger", + "start": 4625, + "end": 4631, "loc": { "start": { - "line": 136, - "column": 13 + "line": 163, + "column": 8 }, "end": { - "line": 136, + "line": 163, "column": 14 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -26940,25 +27480,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 3926, - "end": 3927, + "binop": null, + "updateContext": null + }, + "start": 4631, + "end": 4632, "loc": { "start": { - "line": 136, + "line": 163, "column": 14 }, "end": { - "line": 136, + "line": 163, "column": 15 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -26967,77 +27508,77 @@ "postfix": false, "binop": null }, - "start": 3928, - "end": 3929, + "value": "warn", + "start": 4632, + "end": 4636, "loc": { "start": { - "line": 136, - "column": 16 + "line": 163, + "column": 15 }, "end": { - "line": 136, - "column": 17 + "line": 163, + "column": 19 } } }, { "type": { - "label": "if", - "keyword": "if", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 3936, - "end": 3938, + "start": 4636, + "end": 4637, "loc": { "start": { - "line": 137, - "column": 6 + "line": 163, + "column": 19 }, "end": { - "line": 137, - "column": 8 + "line": 163, + "column": 20 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3939, - "end": 3940, + "value": "no package.json found", + "start": 4637, + "end": 4660, "loc": { "start": { - "line": 137, - "column": 9 + "line": 163, + "column": 20 }, "end": { - "line": 137, - "column": 10 + "line": 163, + "column": 43 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27045,24 +27586,23 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 3940, - "end": 3946, + "start": 4660, + "end": 4661, "loc": { "start": { - "line": 137, - "column": 10 + "line": 163, + "column": 43 }, "end": { - "line": 137, - "column": 16 + "line": 163, + "column": 44 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27072,24 +27612,24 @@ "binop": null, "updateContext": null }, - "start": 3946, - "end": 3947, + "start": 4661, + "end": 4662, "loc": { "start": { - "line": 137, - "column": 16 + "line": 163, + "column": 44 }, "end": { - "line": 137, - "column": 17 + "line": 163, + "column": 45 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27097,23 +27637,22 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 3947, - "end": 3952, + "start": 4669, + "end": 4670, "loc": { "start": { - "line": 137, - "column": 17 + "line": 164, + "column": 6 }, "end": { - "line": 137, - "column": 22 + "line": 164, + "column": 7 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27123,41 +27662,44 @@ "postfix": false, "binop": null }, - "start": 3952, - "end": 3953, + "start": 4675, + "end": 4676, "loc": { "start": { - "line": 137, - "column": 22 + "line": 165, + "column": 4 }, "end": { - "line": 137, - "column": 23 + "line": 165, + "column": 5 } } }, { "type": { - "label": "{", + "label": "return", + "keyword": "return", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 3954, - "end": 3955, + "value": "return", + "start": 4681, + "end": 4687, "loc": { "start": { - "line": 137, - "column": 24 + "line": 166, + "column": 4 }, "end": { - "line": 137, - "column": 25 + "line": 166, + "column": 10 } } }, @@ -27173,24 +27715,24 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 3964, - "end": 3970, + "value": "undefined", + "start": 4688, + "end": 4697, "loc": { "start": { - "line": 138, - "column": 8 + "line": 166, + "column": 11 }, "end": { - "line": 138, - "column": 14 + "line": 166, + "column": 20 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27200,24 +27742,24 @@ "binop": null, "updateContext": null }, - "start": 3970, - "end": 3971, + "start": 4697, + "end": 4698, "loc": { "start": { - "line": 138, - "column": 14 + "line": 166, + "column": 20 }, "end": { - "line": 138, - "column": 15 + "line": 166, + "column": 21 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27225,24 +27767,39 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 3971, - "end": 3975, + "start": 4701, + "end": 4702, "loc": { "start": { - "line": 138, - "column": 15 + "line": 167, + "column": 2 }, "end": { - "line": 138, - "column": 19 + "line": 167, + "column": 3 + } + } + }, + { + "type": "CommentBlock", + "value": "*\n * @return {string} name from 'bower.json'\n ", + "start": 4706, + "end": 4760, + "loc": { + "start": { + "line": 169, + "column": 2 + }, + "end": { + "line": 171, + "column": 5 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27251,43 +27808,42 @@ "postfix": false, "binop": null }, - "start": 3975, - "end": 3976, + "value": "importBowerName", + "start": 4763, + "end": 4778, "loc": { "start": { - "line": 138, - "column": 19 + "line": 172, + "column": 2 }, "end": { - "line": 138, - "column": 20 + "line": 172, + "column": 17 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "no package.json found", - "start": 3976, - "end": 3999, + "start": 4778, + "end": 4779, "loc": { "start": { - "line": 138, - "column": 20 + "line": 172, + "column": 17 }, "end": { - "line": 138, - "column": 43 + "line": 172, + "column": 18 } } }, @@ -27303,48 +27859,48 @@ "postfix": false, "binop": null }, - "start": 3999, - "end": 4000, + "start": 4779, + "end": 4780, "loc": { "start": { - "line": 138, - "column": 43 + "line": 172, + "column": 18 }, "end": { - "line": 138, - "column": 44 + "line": 172, + "column": 19 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4000, - "end": 4001, + "start": 4781, + "end": 4782, "loc": { "start": { - "line": 138, - "column": 44 + "line": 172, + "column": 20 }, "end": { - "line": 138, - "column": 45 + "line": 172, + "column": 21 } } }, { "type": { - "label": "}", + "label": "try", + "keyword": "try", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27352,26 +27908,28 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4008, - "end": 4009, + "value": "try", + "start": 4787, + "end": 4790, "loc": { "start": { - "line": 139, - "column": 6 + "line": 173, + "column": 4 }, "end": { - "line": 139, + "line": 173, "column": 7 } } }, { "type": { - "label": "}", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27379,16 +27937,16 @@ "postfix": false, "binop": null }, - "start": 4014, - "end": 4015, + "start": 4791, + "end": 4792, "loc": { "start": { - "line": 140, - "column": 4 + "line": 173, + "column": 8 }, "end": { - "line": 140, - "column": 5 + "line": 173, + "column": 9 } } }, @@ -27407,16 +27965,16 @@ "updateContext": null }, "value": "return", - "start": 4020, - "end": 4026, + "start": 4799, + "end": 4805, "loc": { "start": { - "line": 141, - "column": 4 + "line": 174, + "column": 6 }, "end": { - "line": 141, - "column": 10 + "line": 174, + "column": 12 } } }, @@ -27432,24 +27990,24 @@ "postfix": false, "binop": null }, - "value": "undefined", - "start": 4027, - "end": 4036, + "value": "JSON", + "start": 4806, + "end": 4810, "loc": { "start": { - "line": 141, - "column": 11 + "line": 174, + "column": 13 }, "end": { - "line": 141, - "column": 20 + "line": 174, + "column": 17 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27459,24 +28017,24 @@ "binop": null, "updateContext": null }, - "start": 4036, - "end": 4037, + "start": 4810, + "end": 4811, "loc": { "start": { - "line": 141, - "column": 20 + "line": 174, + "column": 17 }, "end": { - "line": 141, - "column": 21 - } + "line": 174, + "column": 18 + } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27484,32 +28042,42 @@ "postfix": false, "binop": null }, - "start": 4040, - "end": 4041, + "value": "parse", + "start": 4811, + "end": 4816, "loc": { "start": { - "line": 142, - "column": 2 + "line": 174, + "column": 18 }, "end": { - "line": 142, - "column": 3 + "line": 174, + "column": 23 } } }, { - "type": "CommentBlock", - "value": "*\n * @return {string} name from 'bower.json'\n ", - "start": 4045, - "end": 4099, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4816, + "end": 4817, "loc": { "start": { - "line": 144, - "column": 2 + "line": 174, + "column": 23 }, "end": { - "line": 146, - "column": 5 + "line": 174, + "column": 24 } } }, @@ -27525,17 +28093,17 @@ "postfix": false, "binop": null }, - "value": "importBowerName", - "start": 4102, - "end": 4117, + "value": "readFileSync", + "start": 4817, + "end": 4829, "loc": { "start": { - "line": 147, - "column": 2 + "line": 174, + "column": 24 }, "end": { - "line": 147, - "column": 17 + "line": 174, + "column": 36 } } }, @@ -27551,24 +28119,24 @@ "postfix": false, "binop": null }, - "start": 4117, - "end": 4118, + "start": 4829, + "end": 4830, "loc": { "start": { - "line": 147, - "column": 17 + "line": 174, + "column": 36 }, "end": { - "line": 147, - "column": 18 + "line": 174, + "column": 37 } } }, { "type": { - "label": ")", + "label": "`", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27576,22 +28144,49 @@ "postfix": false, "binop": null }, - "start": 4118, - "end": 4119, + "start": 4830, + "end": 4831, "loc": { "start": { - "line": 147, - "column": 18 + "line": 174, + "column": 37 }, "end": { - "line": 147, - "column": 19 + "line": 174, + "column": 38 } } }, { "type": { - "label": "{", + "label": "template", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "", + "start": 4831, + "end": 4831, + "loc": { + "start": { + "line": 174, + "column": 38 + }, + "end": { + "line": 174, + "column": 38 + } + } + }, + { + "type": { + "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -27601,23 +28196,48 @@ "postfix": false, "binop": null }, - "start": 4120, - "end": 4121, + "start": 4831, + "end": 4833, "loc": { "start": { - "line": 147, - "column": 20 + "line": 174, + "column": 38 }, "end": { - "line": 147, - "column": 21 + "line": 174, + "column": 40 } } }, { "type": { - "label": "try", - "keyword": "try", + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "process", + "start": 4833, + "end": 4840, + "loc": { + "start": { + "line": 174, + "column": 40 + }, + "end": { + "line": 174, + "column": 47 + } + } + }, + { + "type": { + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27628,24 +28248,23 @@ "binop": null, "updateContext": null }, - "value": "try", - "start": 4126, - "end": 4129, + "start": 4840, + "end": 4841, "loc": { "start": { - "line": 148, - "column": 4 + "line": 174, + "column": 47 }, "end": { - "line": 148, - "column": 7 + "line": 174, + "column": 48 } } }, { "type": { - "label": "{", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27654,24 +28273,99 @@ "postfix": false, "binop": null }, - "start": 4130, - "end": 4131, + "value": "cwd", + "start": 4841, + "end": 4844, "loc": { "start": { - "line": 148, - "column": 8 + "line": 174, + "column": 48 }, "end": { - "line": 148, - "column": 9 + "line": 174, + "column": 51 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "(", "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4844, + "end": 4845, + "loc": { + "start": { + "line": 174, + "column": 51 + }, + "end": { + "line": 174, + "column": 52 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4845, + "end": 4846, + "loc": { + "start": { + "line": 174, + "column": 52 + }, + "end": { + "line": 174, + "column": 53 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4846, + "end": 4847, + "loc": { + "start": { + "line": 174, + "column": 53 + }, + "end": { + "line": 174, + "column": 54 + } + } + }, + { + "type": { + "label": "template", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -27681,23 +28375,23 @@ "binop": null, "updateContext": null }, - "value": "return", - "start": 4138, - "end": 4144, + "value": "/bower.json", + "start": 4847, + "end": 4858, "loc": { "start": { - "line": 149, - "column": 6 + "line": 174, + "column": 54 }, "end": { - "line": 149, - "column": 12 + "line": 174, + "column": 65 } } }, { "type": { - "label": "name", + "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -27707,17 +28401,66 @@ "postfix": false, "binop": null }, - "value": "JSON", - "start": 4145, - "end": 4149, + "start": 4858, + "end": 4859, "loc": { "start": { - "line": 149, - "column": 13 + "line": 174, + "column": 65 }, "end": { - "line": 149, - "column": 17 + "line": 174, + "column": 66 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4859, + "end": 4860, + "loc": { + "start": { + "line": 174, + "column": 66 + }, + "end": { + "line": 174, + "column": 67 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4860, + "end": 4861, + "loc": { + "start": { + "line": 174, + "column": 67 + }, + "end": { + "line": 174, + "column": 68 } } }, @@ -27734,42 +28477,121 @@ "binop": null, "updateContext": null }, - "start": 4149, - "end": 4150, + "start": 4861, + "end": 4862, "loc": { "start": { - "line": 149, - "column": 17 + "line": 174, + "column": 68 }, "end": { - "line": 149, - "column": 18 + "line": 174, + "column": 69 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "name", + "start": 4862, + "end": 4866, + "loc": { + "start": { + "line": 174, + "column": 69 + }, + "end": { + "line": 174, + "column": 73 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 4866, + "end": 4867, + "loc": { + "start": { + "line": 174, + "column": 73 + }, + "end": { + "line": 174, + "column": 74 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 4872, + "end": 4873, + "loc": { + "start": { + "line": 175, + "column": 4 + }, + "end": { + "line": 175, + "column": 5 } } }, { "type": { - "label": "name", + "label": "catch", + "keyword": "catch", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "parse", - "start": 4150, - "end": 4155, + "value": "catch", + "start": 4874, + "end": 4879, "loc": { "start": { - "line": 149, - "column": 18 + "line": 175, + "column": 6 }, "end": { - "line": 149, - "column": 23 + "line": 175, + "column": 11 } } }, @@ -27785,16 +28607,16 @@ "postfix": false, "binop": null }, - "start": 4155, - "end": 4156, + "start": 4880, + "end": 4881, "loc": { "start": { - "line": 149, - "column": 23 + "line": 175, + "column": 12 }, "end": { - "line": 149, - "column": 24 + "line": 175, + "column": 13 } } }, @@ -27810,25 +28632,25 @@ "postfix": false, "binop": null }, - "value": "readFileSync", - "start": 4156, - "end": 4168, + "value": "e", + "start": 4881, + "end": 4882, "loc": { "start": { - "line": 149, - "column": 24 + "line": 175, + "column": 13 }, "end": { - "line": 149, - "column": 36 + "line": 175, + "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -27836,23 +28658,23 @@ "postfix": false, "binop": null }, - "start": 4168, - "end": 4169, + "start": 4882, + "end": 4883, "loc": { "start": { - "line": 149, - "column": 36 + "line": 175, + "column": 14 }, "end": { - "line": 149, - "column": 37 + "line": 175, + "column": 15 } } }, { "type": { - "label": "`", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -27861,22 +28683,23 @@ "postfix": false, "binop": null }, - "start": 4169, - "end": 4170, + "start": 4884, + "end": 4885, "loc": { "start": { - "line": 149, - "column": 37 + "line": 175, + "column": 16 }, "end": { - "line": 149, - "column": 38 + "line": 175, + "column": 17 } } }, { "type": { - "label": "template", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -27887,23 +28710,23 @@ "binop": null, "updateContext": null }, - "value": "", - "start": 4170, - "end": 4170, + "value": "if", + "start": 4892, + "end": 4894, "loc": { "start": { - "line": 149, - "column": 38 + "line": 176, + "column": 6 }, "end": { - "line": 149, - "column": 38 + "line": 176, + "column": 8 } } }, { "type": { - "label": "${", + "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, @@ -27913,16 +28736,16 @@ "postfix": false, "binop": null }, - "start": 4170, - "end": 4172, + "start": 4895, + "end": 4896, "loc": { "start": { - "line": 149, - "column": 38 + "line": 176, + "column": 9 }, "end": { - "line": 149, - "column": 40 + "line": 176, + "column": 10 } } }, @@ -27938,17 +28761,17 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 4172, - "end": 4179, + "value": "global", + "start": 4896, + "end": 4902, "loc": { "start": { - "line": 149, - "column": 40 + "line": 176, + "column": 10 }, "end": { - "line": 149, - "column": 47 + "line": 176, + "column": 16 } } }, @@ -27965,16 +28788,16 @@ "binop": null, "updateContext": null }, - "start": 4179, - "end": 4180, + "start": 4902, + "end": 4903, "loc": { "start": { - "line": 149, - "column": 47 + "line": 176, + "column": 16 }, "end": { - "line": 149, - "column": 48 + "line": 176, + "column": 17 } } }, @@ -27990,25 +28813,25 @@ "postfix": false, "binop": null }, - "value": "cwd", - "start": 4180, - "end": 4183, + "value": "debug", + "start": 4903, + "end": 4908, "loc": { "start": { - "line": 149, - "column": 48 + "line": 176, + "column": 17 }, "end": { - "line": 149, - "column": 51 + "line": 176, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28016,24 +28839,24 @@ "postfix": false, "binop": null }, - "start": 4183, - "end": 4184, + "start": 4908, + "end": 4909, "loc": { "start": { - "line": 149, - "column": 51 + "line": 176, + "column": 22 }, "end": { - "line": 149, - "column": 52 + "line": 176, + "column": 23 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28041,24 +28864,24 @@ "postfix": false, "binop": null }, - "start": 4184, - "end": 4185, + "start": 4910, + "end": 4911, "loc": { "start": { - "line": 149, - "column": 52 + "line": 176, + "column": 24 }, "end": { - "line": 149, - "column": 53 + "line": 176, + "column": 25 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28066,22 +28889,23 @@ "postfix": false, "binop": null }, - "start": 4185, - "end": 4186, + "value": "logger", + "start": 4920, + "end": 4926, "loc": { "start": { - "line": 149, - "column": 53 + "line": 177, + "column": 8 }, "end": { - "line": 149, - "column": 54 + "line": 177, + "column": 14 } } }, { "type": { - "label": "template", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28092,23 +28916,22 @@ "binop": null, "updateContext": null }, - "value": "/bower.json", - "start": 4186, - "end": 4197, + "start": 4926, + "end": 4927, "loc": { "start": { - "line": 149, - "column": 54 + "line": 177, + "column": 14 }, "end": { - "line": 149, - "column": 65 + "line": 177, + "column": 15 } } }, { "type": { - "label": "`", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28118,24 +28941,25 @@ "postfix": false, "binop": null }, - "start": 4197, - "end": 4198, + "value": "warn", + "start": 4927, + "end": 4931, "loc": { "start": { - "line": 149, - "column": 65 + "line": 177, + "column": 15 }, "end": { - "line": 149, - "column": 66 + "line": 177, + "column": 19 } } }, { "type": { - "label": ")", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28143,47 +28967,49 @@ "postfix": false, "binop": null }, - "start": 4198, - "end": 4199, + "start": 4931, + "end": 4932, "loc": { "start": { - "line": 149, - "column": 66 + "line": 177, + "column": 19 }, "end": { - "line": 149, - "column": 67 + "line": 177, + "column": 20 } } }, { "type": { - "label": ")", + "label": "string", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4199, - "end": 4200, + "value": "no bower.json found", + "start": 4932, + "end": 4953, "loc": { "start": { - "line": 149, - "column": 67 + "line": 177, + "column": 20 }, "end": { - "line": 149, - "column": 68 + "line": 177, + "column": 41 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28191,71 +29017,69 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4200, - "end": 4201, + "start": 4953, + "end": 4954, "loc": { "start": { - "line": 149, - "column": 68 + "line": 177, + "column": 41 }, "end": { - "line": 149, - "column": 69 + "line": 177, + "column": 42 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "name", - "start": 4201, - "end": 4205, + "start": 4954, + "end": 4955, "loc": { "start": { - "line": 149, - "column": 69 + "line": 177, + "column": 42 }, "end": { - "line": 149, - "column": 73 + "line": 177, + "column": 43 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4205, - "end": 4206, + "start": 4962, + "end": 4963, "loc": { "start": { - "line": 149, - "column": 73 + "line": 178, + "column": 6 }, "end": { - "line": 149, - "column": 74 + "line": 178, + "column": 7 } } }, @@ -28271,24 +29095,24 @@ "postfix": false, "binop": null }, - "start": 4211, - "end": 4212, + "start": 4968, + "end": 4969, "loc": { "start": { - "line": 150, + "line": 179, "column": 4 }, "end": { - "line": 150, + "line": 179, "column": 5 } } }, { "type": { - "label": "catch", - "keyword": "catch", - "beforeExpr": false, + "label": "return", + "keyword": "return", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28298,24 +29122,24 @@ "binop": null, "updateContext": null }, - "value": "catch", - "start": 4213, - "end": 4218, + "value": "return", + "start": 4974, + "end": 4980, "loc": { "start": { - "line": 150, - "column": 6 + "line": 180, + "column": 4 }, "end": { - "line": 150, - "column": 11 + "line": 180, + "column": 10 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -28324,48 +29148,49 @@ "postfix": false, "binop": null }, - "start": 4219, - "end": 4220, + "value": "undefined", + "start": 4981, + "end": 4990, "loc": { "start": { - "line": 150, - "column": 12 + "line": 180, + "column": 11 }, "end": { - "line": 150, - "column": 13 + "line": 180, + "column": 20 } } }, { "type": { - "label": "name", - "beforeExpr": false, - "startsExpr": true, + "label": ";", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "e", - "start": 4220, - "end": 4221, + "start": 4990, + "end": 4991, "loc": { "start": { - "line": 150, - "column": 13 + "line": 180, + "column": 20 }, "end": { - "line": 150, - "column": 14 + "line": 180, + "column": 21 } } }, { "type": { - "label": ")", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28375,69 +29200,58 @@ "postfix": false, "binop": null }, - "start": 4221, - "end": 4222, + "start": 4994, + "end": 4995, "loc": { "start": { - "line": 150, - "column": 14 + "line": 181, + "column": 2 }, "end": { - "line": 150, - "column": 15 + "line": 181, + "column": 3 } } }, { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4223, - "end": 4224, + "type": "CommentBlock", + "value": "*\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n ", + "start": 4999, + "end": 5425, "loc": { "start": { - "line": 150, - "column": 16 + "line": 183, + "column": 2 }, "end": { - "line": 150, - "column": 17 + "line": 198, + "column": 5 } } }, { "type": { - "label": "if", - "keyword": "if", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "if", - "start": 4231, - "end": 4233, + "value": "updateConfig", + "start": 5428, + "end": 5440, "loc": { "start": { - "line": 151, - "column": 6 + "line": 199, + "column": 2 }, "end": { - "line": 151, - "column": 8 + "line": 199, + "column": 14 } } }, @@ -28453,16 +29267,16 @@ "postfix": false, "binop": null }, - "start": 4234, - "end": 4235, + "start": 5440, + "end": 5441, "loc": { "start": { - "line": 151, - "column": 9 + "line": 199, + "column": 14 }, "end": { - "line": 151, - "column": 10 + "line": 199, + "column": 15 } } }, @@ -28478,24 +29292,24 @@ "postfix": false, "binop": null }, - "value": "global", - "start": 4235, - "end": 4241, + "value": "config", + "start": 5441, + "end": 5447, "loc": { "start": { - "line": 151, - "column": 10 + "line": 199, + "column": 15 }, "end": { - "line": 151, - "column": 16 + "line": 199, + "column": 21 } } }, { "type": { - "label": ".", - "beforeExpr": false, + "label": ",", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -28505,16 +29319,16 @@ "binop": null, "updateContext": null }, - "start": 4241, - "end": 4242, + "start": 5447, + "end": 5448, "loc": { "start": { - "line": 151, - "column": 16 + "line": 199, + "column": 21 }, "end": { - "line": 151, - "column": 17 + "line": 199, + "column": 22 } } }, @@ -28530,17 +29344,17 @@ "postfix": false, "binop": null }, - "value": "debug", - "start": 4242, - "end": 4247, + "value": "name", + "start": 5449, + "end": 5453, "loc": { "start": { - "line": 151, - "column": 17 + "line": 199, + "column": 23 }, "end": { - "line": 151, - "column": 22 + "line": 199, + "column": 27 } } }, @@ -28556,16 +29370,16 @@ "postfix": false, "binop": null }, - "start": 4247, - "end": 4248, + "start": 5453, + "end": 5454, "loc": { "start": { - "line": 151, - "column": 22 + "line": 199, + "column": 27 }, "end": { - "line": 151, - "column": 23 + "line": 199, + "column": 28 } } }, @@ -28581,16 +29395,16 @@ "postfix": false, "binop": null }, - "start": 4249, - "end": 4250, + "start": 5455, + "end": 5456, "loc": { "start": { - "line": 151, - "column": 24 + "line": 199, + "column": 29 }, "end": { - "line": 151, - "column": 25 + "line": 199, + "column": 30 } } }, @@ -28606,17 +29420,17 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 4259, - "end": 4265, + "value": "config", + "start": 5461, + "end": 5467, "loc": { "start": { - "line": 152, - "column": 8 + "line": 200, + "column": 4 }, "end": { - "line": 152, - "column": 14 + "line": 200, + "column": 10 } } }, @@ -28633,16 +29447,16 @@ "binop": null, "updateContext": null }, - "start": 4265, - "end": 4266, + "start": 5467, + "end": 5468, "loc": { "start": { - "line": 152, - "column": 14 + "line": 200, + "column": 10 }, "end": { - "line": 152, - "column": 15 + "line": 200, + "column": 11 } } }, @@ -28658,126 +29472,76 @@ "postfix": false, "binop": null }, - "value": "warn", - "start": 4266, - "end": 4270, - "loc": { - "start": { - "line": 152, - "column": 15 - }, - "end": { - "line": 152, - "column": 19 - } - } - }, - { - "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4270, - "end": 4271, + "value": "sourceMap", + "start": 5468, + "end": 5477, "loc": { "start": { - "line": 152, - "column": 19 + "line": 200, + "column": 11 }, "end": { - "line": 152, + "line": 200, "column": 20 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "=", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": false, + "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "no bower.json found", - "start": 4271, - "end": 4292, + "value": "=", + "start": 5478, + "end": 5479, "loc": { "start": { - "line": 152, - "column": 20 + "line": 200, + "column": 21 }, "end": { - "line": 152, - "column": 41 + "line": 200, + "column": 22 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null - }, - "start": 4292, - "end": 4293, - "loc": { - "start": { - "line": 152, - "column": 41 - }, - "end": { - "line": 152, - "column": 42 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4293, - "end": 4294, + "value": "config", + "start": 5480, + "end": 5486, "loc": { "start": { - "line": 152, - "column": 42 + "line": 200, + "column": 23 }, "end": { - "line": 152, - "column": 43 + "line": 200, + "column": 29 } } }, { "type": { - "label": "}", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28785,26 +29549,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4301, - "end": 4302, + "start": 5486, + "end": 5487, "loc": { "start": { - "line": 153, - "column": 6 + "line": 200, + "column": 29 }, "end": { - "line": 153, - "column": 7 + "line": 200, + "column": 30 } } }, { "type": { - "label": "}", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -28812,23 +29577,23 @@ "postfix": false, "binop": null }, - "start": 4307, - "end": 4308, + "value": "sourceMap", + "start": 5487, + "end": 5496, "loc": { "start": { - "line": 154, - "column": 4 + "line": 200, + "column": 30 }, "end": { - "line": 154, - "column": 5 + "line": 200, + "column": 39 } } }, { "type": { - "label": "return", - "keyword": "return", + "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -28836,26 +29601,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 1, "updateContext": null }, - "value": "return", - "start": 4313, - "end": 4319, + "value": "||", + "start": 5497, + "end": 5499, "loc": { "start": { - "line": 155, - "column": 4 + "line": 200, + "column": 40 }, "end": { - "line": 155, - "column": 10 + "line": 200, + "column": 42 } } }, { "type": { - "label": "name", + "label": "true", + "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -28863,19 +29629,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "value": "undefined", - "start": 4320, - "end": 4329, + "value": "true", + "start": 5500, + "end": 5504, "loc": { "start": { - "line": 155, - "column": 11 + "line": 200, + "column": 43 }, "end": { - "line": 155, - "column": 20 + "line": 200, + "column": 47 } } }, @@ -28892,22 +29659,23 @@ "binop": null, "updateContext": null }, - "start": 4329, - "end": 4330, + "start": 5504, + "end": 5505, "loc": { "start": { - "line": 155, - "column": 20 + "line": 200, + "column": 47 }, "end": { - "line": 155, - "column": 21 + "line": 200, + "column": 48 } } }, { "type": { - "label": "}", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -28915,34 +29683,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4333, - "end": 4334, + "value": "if", + "start": 5510, + "end": 5512, "loc": { "start": { - "line": 156, - "column": 2 + "line": 201, + "column": 4 }, "end": { - "line": 156, - "column": 3 + "line": 201, + "column": 6 } } }, { - "type": "CommentBlock", - "value": "*\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n ", - "start": 4338, - "end": 4764, + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5513, + "end": 5514, "loc": { "start": { - "line": 158, - "column": 2 + "line": 201, + "column": 7 }, "end": { - "line": 173, - "column": 5 + "line": 201, + "column": 8 } } }, @@ -28958,41 +29737,42 @@ "postfix": false, "binop": null }, - "value": "updateConfig", - "start": 4767, - "end": 4779, + "value": "config", + "start": 5514, + "end": 5520, "loc": { "start": { - "line": 174, - "column": 2 + "line": 201, + "column": 8 }, "end": { - "line": 174, + "line": 201, "column": 14 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4779, - "end": 4780, + "start": 5520, + "end": 5521, "loc": { "start": { - "line": 174, + "line": 201, "column": 14 }, "end": { - "line": 174, + "line": 201, "column": 15 } } @@ -29009,23 +29789,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 4780, - "end": 4786, + "value": "entry", + "start": 5521, + "end": 5526, "loc": { "start": { - "line": 174, + "line": 201, "column": 15 }, "end": { - "line": 174, - "column": 21 + "line": 201, + "column": 20 } } }, { "type": { - "label": ",", + "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -29033,19 +29813,20 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, + "binop": 2, "updateContext": null }, - "start": 4786, - "end": 4787, + "value": "&&", + "start": 5527, + "end": 5529, "loc": { "start": { - "line": 174, + "line": 201, "column": 21 }, "end": { - "line": 174, - "column": 22 + "line": 201, + "column": 23 } } }, @@ -29061,23 +29842,23 @@ "postfix": false, "binop": null }, - "value": "name", - "start": 4788, - "end": 4792, + "value": "config", + "start": 5530, + "end": 5536, "loc": { "start": { - "line": 174, - "column": 23 + "line": 201, + "column": 24 }, "end": { - "line": 174, - "column": 27 + "line": 201, + "column": 30 } } }, { "type": { - "label": ")", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29085,43 +29866,19 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "start": 4792, - "end": 4793, - "loc": { - "start": { - "line": 174, - "column": 27 - }, - "end": { - "line": 174, - "column": 28 - } - } - }, - { - "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 4794, - "end": 4795, + "start": 5536, + "end": 5537, "loc": { "start": { - "line": 174, - "column": 29 + "line": 201, + "column": 30 }, "end": { - "line": 174, - "column": 30 + "line": 201, + "column": 31 } } }, @@ -29137,23 +29894,23 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 4800, - "end": 4806, + "value": "sources", + "start": 5537, + "end": 5544, "loc": { "start": { - "line": 175, - "column": 4 + "line": 201, + "column": 31 }, "end": { - "line": 175, - "column": 10 + "line": 201, + "column": 38 } } }, { "type": { - "label": ".", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -29161,26 +29918,25 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4806, - "end": 4807, + "start": 5544, + "end": 5545, "loc": { "start": { - "line": 175, - "column": 10 + "line": 201, + "column": 38 }, "end": { - "line": 175, - "column": 11 + "line": 201, + "column": 39 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -29189,44 +29945,44 @@ "postfix": false, "binop": null }, - "value": "sourceMap", - "start": 4807, - "end": 4816, + "start": 5546, + "end": 5547, "loc": { "start": { - "line": 175, - "column": 11 + "line": 201, + "column": 40 }, "end": { - "line": 175, - "column": 20 + "line": 201, + "column": 41 } } }, { "type": { - "label": "=", + "label": "delete", + "keyword": "delete", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, - "isAssign": true, - "prefix": false, + "isAssign": false, + "prefix": true, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 4817, - "end": 4818, + "value": "delete", + "start": 5554, + "end": 5560, "loc": { "start": { - "line": 175, - "column": 21 + "line": 202, + "column": 6 }, "end": { - "line": 175, - "column": 22 + "line": 202, + "column": 12 } } }, @@ -29243,16 +29999,16 @@ "binop": null }, "value": "config", - "start": 4819, - "end": 4825, + "start": 5561, + "end": 5567, "loc": { "start": { - "line": 175, - "column": 23 + "line": 202, + "column": 13 }, "end": { - "line": 175, - "column": 29 + "line": 202, + "column": 19 } } }, @@ -29269,16 +30025,16 @@ "binop": null, "updateContext": null }, - "start": 4825, - "end": 4826, + "start": 5567, + "end": 5568, "loc": { "start": { - "line": 175, - "column": 29 + "line": 202, + "column": 19 }, "end": { - "line": 175, - "column": 30 + "line": 202, + "column": 20 } } }, @@ -29294,53 +30050,77 @@ "postfix": false, "binop": null }, - "value": "sourceMap", - "start": 4826, - "end": 4835, + "value": "bundles", + "start": 5568, + "end": 5575, + "loc": { + "start": { + "line": 202, + "column": 20 + }, + "end": { + "line": 202, + "column": 27 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 5575, + "end": 5576, "loc": { "start": { - "line": 175, - "column": 30 + "line": 202, + "column": 27 }, "end": { - "line": 175, - "column": 39 + "line": 202, + "column": 28 } } }, { "type": { - "label": "||", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": 1, - "updateContext": null + "binop": null }, - "value": "||", - "start": 4836, - "end": 4838, + "start": 5581, + "end": 5582, "loc": { "start": { - "line": 175, - "column": 40 + "line": 203, + "column": 4 }, "end": { - "line": 175, - "column": 42 + "line": 203, + "column": 5 } } }, { "type": { - "label": "true", - "keyword": "true", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -29349,43 +30129,42 @@ "binop": null, "updateContext": null }, - "value": "true", - "start": 4839, - "end": 4843, + "value": "else", + "start": 5583, + "end": 5587, "loc": { "start": { - "line": 175, - "column": 43 + "line": 203, + "column": 6 }, "end": { - "line": 175, - "column": 47 + "line": 203, + "column": 10 } } }, { "type": { - "label": ";", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 4843, - "end": 4844, + "start": 5588, + "end": 5589, "loc": { "start": { - "line": 175, - "column": 47 + "line": 203, + "column": 11 }, "end": { - "line": 175, - "column": 48 + "line": 203, + "column": 12 } } }, @@ -29402,16 +30181,16 @@ "binop": null }, "value": "config", - "start": 4849, - "end": 4855, + "start": 5596, + "end": 5602, "loc": { "start": { - "line": 176, - "column": 4 + "line": 204, + "column": 6 }, "end": { - "line": 176, - "column": 10 + "line": 204, + "column": 12 } } }, @@ -29428,16 +30207,16 @@ "binop": null, "updateContext": null }, - "start": 4855, - "end": 4856, + "start": 5602, + "end": 5603, "loc": { "start": { - "line": 176, - "column": 10 + "line": 204, + "column": 12 }, "end": { - "line": 176, - "column": 11 + "line": 204, + "column": 13 } } }, @@ -29454,16 +30233,16 @@ "binop": null }, "value": "bundles", - "start": 4856, - "end": 4863, + "start": 5603, + "end": 5610, "loc": { "start": { - "line": 176, - "column": 11 + "line": 204, + "column": 13 }, "end": { - "line": 176, - "column": 18 + "line": 204, + "column": 20 } } }, @@ -29481,16 +30260,16 @@ "updateContext": null }, "value": "=", - "start": 4864, - "end": 4865, + "start": 5611, + "end": 5612, "loc": { "start": { - "line": 176, - "column": 19 + "line": 204, + "column": 21 }, "end": { - "line": 176, - "column": 20 + "line": 204, + "column": 22 } } }, @@ -29507,16 +30286,16 @@ "binop": null }, "value": "merge", - "start": 4866, - "end": 4871, + "start": 5613, + "end": 5618, "loc": { "start": { - "line": 176, - "column": 21 + "line": 204, + "column": 23 }, "end": { - "line": 176, - "column": 26 + "line": 204, + "column": 28 } } }, @@ -29532,16 +30311,16 @@ "postfix": false, "binop": null }, - "start": 4871, - "end": 4872, + "start": 5618, + "end": 5619, "loc": { "start": { - "line": 176, - "column": 26 + "line": 204, + "column": 28 }, "end": { - "line": 176, - "column": 27 + "line": 204, + "column": 29 } } }, @@ -29560,16 +30339,16 @@ "updateContext": null }, "value": "this", - "start": 4872, - "end": 4876, + "start": 5619, + "end": 5623, "loc": { "start": { - "line": 176, - "column": 27 + "line": 204, + "column": 29 }, "end": { - "line": 176, - "column": 31 + "line": 204, + "column": 33 } } }, @@ -29586,16 +30365,16 @@ "binop": null, "updateContext": null }, - "start": 4876, - "end": 4877, + "start": 5623, + "end": 5624, "loc": { "start": { - "line": 176, - "column": 31 + "line": 204, + "column": 33 }, "end": { - "line": 176, - "column": 32 + "line": 204, + "column": 34 } } }, @@ -29612,16 +30391,16 @@ "binop": null }, "value": "bundles", - "start": 4877, - "end": 4884, + "start": 5624, + "end": 5631, "loc": { "start": { - "line": 176, - "column": 32 + "line": 204, + "column": 34 }, "end": { - "line": 176, - "column": 39 + "line": 204, + "column": 41 } } }, @@ -29638,16 +30417,16 @@ "binop": null, "updateContext": null }, - "start": 4884, - "end": 4885, + "start": 5631, + "end": 5632, "loc": { "start": { - "line": 176, - "column": 39 + "line": 204, + "column": 41 }, "end": { - "line": 176, - "column": 40 + "line": 204, + "column": 42 } } }, @@ -29664,16 +30443,16 @@ "binop": null }, "value": "config", - "start": 4886, - "end": 4892, + "start": 5633, + "end": 5639, "loc": { "start": { - "line": 176, - "column": 41 + "line": 204, + "column": 43 }, "end": { - "line": 176, - "column": 47 + "line": 204, + "column": 49 } } }, @@ -29690,16 +30469,16 @@ "binop": null, "updateContext": null }, - "start": 4892, - "end": 4893, + "start": 5639, + "end": 5640, "loc": { "start": { - "line": 176, - "column": 47 + "line": 204, + "column": 49 }, "end": { - "line": 176, - "column": 48 + "line": 204, + "column": 50 } } }, @@ -29716,16 +30495,16 @@ "binop": null }, "value": "bundles", - "start": 4893, - "end": 4900, + "start": 5640, + "end": 5647, "loc": { "start": { - "line": 176, - "column": 48 + "line": 204, + "column": 50 }, "end": { - "line": 176, - "column": 55 + "line": 204, + "column": 57 } } }, @@ -29741,16 +30520,16 @@ "postfix": false, "binop": null }, - "start": 4900, - "end": 4901, + "start": 5647, + "end": 5648, "loc": { "start": { - "line": 176, - "column": 55 + "line": 204, + "column": 57 }, "end": { - "line": 176, - "column": 56 + "line": 204, + "column": 58 } } }, @@ -29767,16 +30546,41 @@ "binop": null, "updateContext": null }, - "start": 4901, - "end": 4902, + "start": 5648, + "end": 5649, "loc": { "start": { - "line": 176, - "column": 56 + "line": 204, + "column": 58 }, "end": { - "line": 176, - "column": 57 + "line": 204, + "column": 59 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 5654, + "end": 5655, + "loc": { + "start": { + "line": 205, + "column": 4 + }, + "end": { + "line": 205, + "column": 5 } } }, @@ -29793,15 +30597,15 @@ "binop": null }, "value": "config", - "start": 4907, - "end": 4913, + "start": 5660, + "end": 5666, "loc": { "start": { - "line": 177, + "line": 206, "column": 4 }, "end": { - "line": 177, + "line": 206, "column": 10 } } @@ -29819,15 +30623,15 @@ "binop": null, "updateContext": null }, - "start": 4913, - "end": 4914, + "start": 5666, + "end": 5667, "loc": { "start": { - "line": 177, + "line": 206, "column": 10 }, "end": { - "line": 177, + "line": 206, "column": 11 } } @@ -29845,15 +30649,15 @@ "binop": null }, "value": "server", - "start": 4914, - "end": 4920, + "start": 5667, + "end": 5673, "loc": { "start": { - "line": 177, + "line": 206, "column": 11 }, "end": { - "line": 177, + "line": 206, "column": 17 } } @@ -29872,15 +30676,15 @@ "updateContext": null }, "value": "=", - "start": 4921, - "end": 4922, + "start": 5674, + "end": 5675, "loc": { "start": { - "line": 177, + "line": 206, "column": 18 }, "end": { - "line": 177, + "line": 206, "column": 19 } } @@ -29898,15 +30702,15 @@ "binop": null }, "value": "merge", - "start": 4923, - "end": 4928, + "start": 5676, + "end": 5681, "loc": { "start": { - "line": 177, + "line": 206, "column": 20 }, "end": { - "line": 177, + "line": 206, "column": 25 } } @@ -29923,15 +30727,15 @@ "postfix": false, "binop": null }, - "start": 4928, - "end": 4929, + "start": 5681, + "end": 5682, "loc": { "start": { - "line": 177, + "line": 206, "column": 25 }, "end": { - "line": 177, + "line": 206, "column": 26 } } @@ -29951,15 +30755,15 @@ "updateContext": null }, "value": "this", - "start": 4929, - "end": 4933, + "start": 5682, + "end": 5686, "loc": { "start": { - "line": 177, + "line": 206, "column": 26 }, "end": { - "line": 177, + "line": 206, "column": 30 } } @@ -29977,15 +30781,15 @@ "binop": null, "updateContext": null }, - "start": 4933, - "end": 4934, + "start": 5686, + "end": 5687, "loc": { "start": { - "line": 177, + "line": 206, "column": 30 }, "end": { - "line": 177, + "line": 206, "column": 31 } } @@ -30003,15 +30807,15 @@ "binop": null }, "value": "server", - "start": 4934, - "end": 4940, + "start": 5687, + "end": 5693, "loc": { "start": { - "line": 177, + "line": 206, "column": 31 }, "end": { - "line": 177, + "line": 206, "column": 37 } } @@ -30029,15 +30833,15 @@ "binop": null, "updateContext": null }, - "start": 4940, - "end": 4941, + "start": 5693, + "end": 5694, "loc": { "start": { - "line": 177, + "line": 206, "column": 37 }, "end": { - "line": 177, + "line": 206, "column": 38 } } @@ -30055,15 +30859,15 @@ "binop": null }, "value": "config", - "start": 4942, - "end": 4948, + "start": 5695, + "end": 5701, "loc": { "start": { - "line": 177, + "line": 206, "column": 39 }, "end": { - "line": 177, + "line": 206, "column": 45 } } @@ -30081,15 +30885,15 @@ "binop": null, "updateContext": null }, - "start": 4948, - "end": 4949, + "start": 5701, + "end": 5702, "loc": { "start": { - "line": 177, + "line": 206, "column": 45 }, "end": { - "line": 177, + "line": 206, "column": 46 } } @@ -30107,15 +30911,15 @@ "binop": null }, "value": "server", - "start": 4949, - "end": 4955, + "start": 5702, + "end": 5708, "loc": { "start": { - "line": 177, + "line": 206, "column": 46 }, "end": { - "line": 177, + "line": 206, "column": 52 } } @@ -30132,15 +30936,15 @@ "postfix": false, "binop": null }, - "start": 4955, - "end": 4956, + "start": 5708, + "end": 5709, "loc": { "start": { - "line": 177, + "line": 206, "column": 52 }, "end": { - "line": 177, + "line": 206, "column": 53 } } @@ -30158,15 +30962,15 @@ "binop": null, "updateContext": null }, - "start": 4956, - "end": 4957, + "start": 5709, + "end": 5710, "loc": { "start": { - "line": 177, + "line": 206, "column": 53 }, "end": { - "line": 177, + "line": 206, "column": 54 } } @@ -30184,15 +30988,15 @@ "binop": null }, "value": "config", - "start": 4962, - "end": 4968, + "start": 5715, + "end": 5721, "loc": { "start": { - "line": 178, + "line": 207, "column": 4 }, "end": { - "line": 178, + "line": 207, "column": 10 } } @@ -30210,15 +31014,15 @@ "binop": null, "updateContext": null }, - "start": 4968, - "end": 4969, + "start": 5721, + "end": 5722, "loc": { "start": { - "line": 178, + "line": 207, "column": 10 }, "end": { - "line": 178, + "line": 207, "column": 11 } } @@ -30236,15 +31040,15 @@ "binop": null }, "value": "watch", - "start": 4969, - "end": 4974, + "start": 5722, + "end": 5727, "loc": { "start": { - "line": 178, + "line": 207, "column": 11 }, "end": { - "line": 178, + "line": 207, "column": 16 } } @@ -30263,15 +31067,15 @@ "updateContext": null }, "value": "=", - "start": 4975, - "end": 4976, + "start": 5728, + "end": 5729, "loc": { "start": { - "line": 178, + "line": 207, "column": 17 }, "end": { - "line": 178, + "line": 207, "column": 18 } } @@ -30289,15 +31093,15 @@ "binop": null }, "value": "merge", - "start": 4977, - "end": 4982, + "start": 5730, + "end": 5735, "loc": { "start": { - "line": 178, + "line": 207, "column": 19 }, "end": { - "line": 178, + "line": 207, "column": 24 } } @@ -30314,15 +31118,15 @@ "postfix": false, "binop": null }, - "start": 4982, - "end": 4983, + "start": 5735, + "end": 5736, "loc": { "start": { - "line": 178, + "line": 207, "column": 24 }, "end": { - "line": 178, + "line": 207, "column": 25 } } @@ -30342,15 +31146,15 @@ "updateContext": null }, "value": "this", - "start": 4983, - "end": 4987, + "start": 5736, + "end": 5740, "loc": { "start": { - "line": 178, + "line": 207, "column": 25 }, "end": { - "line": 178, + "line": 207, "column": 29 } } @@ -30368,15 +31172,15 @@ "binop": null, "updateContext": null }, - "start": 4987, - "end": 4988, + "start": 5740, + "end": 5741, "loc": { "start": { - "line": 178, + "line": 207, "column": 29 }, "end": { - "line": 178, + "line": 207, "column": 30 } } @@ -30394,15 +31198,15 @@ "binop": null }, "value": "watch", - "start": 4988, - "end": 4993, + "start": 5741, + "end": 5746, "loc": { "start": { - "line": 178, + "line": 207, "column": 30 }, "end": { - "line": 178, + "line": 207, "column": 35 } } @@ -30420,15 +31224,15 @@ "binop": null, "updateContext": null }, - "start": 4993, - "end": 4994, + "start": 5746, + "end": 5747, "loc": { "start": { - "line": 178, + "line": 207, "column": 35 }, "end": { - "line": 178, + "line": 207, "column": 36 } } @@ -30446,15 +31250,15 @@ "binop": null }, "value": "config", - "start": 4995, - "end": 5001, + "start": 5748, + "end": 5754, "loc": { "start": { - "line": 178, + "line": 207, "column": 37 }, "end": { - "line": 178, + "line": 207, "column": 43 } } @@ -30472,15 +31276,15 @@ "binop": null, "updateContext": null }, - "start": 5001, - "end": 5002, + "start": 5754, + "end": 5755, "loc": { "start": { - "line": 178, + "line": 207, "column": 43 }, "end": { - "line": 178, + "line": 207, "column": 44 } } @@ -30498,15 +31302,15 @@ "binop": null }, "value": "watch", - "start": 5002, - "end": 5007, + "start": 5755, + "end": 5760, "loc": { "start": { - "line": 178, + "line": 207, "column": 44 }, "end": { - "line": 178, + "line": 207, "column": 49 } } @@ -30523,15 +31327,15 @@ "postfix": false, "binop": null }, - "start": 5007, - "end": 5008, + "start": 5760, + "end": 5761, "loc": { "start": { - "line": 178, + "line": 207, "column": 49 }, "end": { - "line": 178, + "line": 207, "column": 50 } } @@ -30549,15 +31353,15 @@ "binop": null, "updateContext": null }, - "start": 5008, - "end": 5009, + "start": 5761, + "end": 5762, "loc": { "start": { - "line": 178, + "line": 207, "column": 50 }, "end": { - "line": 178, + "line": 207, "column": 51 } } @@ -30575,15 +31379,15 @@ "binop": null }, "value": "global", - "start": 5014, - "end": 5020, + "start": 5767, + "end": 5773, "loc": { "start": { - "line": 179, + "line": 208, "column": 4 }, "end": { - "line": 179, + "line": 208, "column": 10 } } @@ -30601,15 +31405,15 @@ "binop": null, "updateContext": null }, - "start": 5020, - "end": 5021, + "start": 5773, + "end": 5774, "loc": { "start": { - "line": 179, + "line": 208, "column": 10 }, "end": { - "line": 179, + "line": 208, "column": 11 } } @@ -30627,15 +31431,15 @@ "binop": null }, "value": "config", - "start": 5021, - "end": 5027, + "start": 5774, + "end": 5780, "loc": { "start": { - "line": 179, + "line": 208, "column": 11 }, "end": { - "line": 179, + "line": 208, "column": 17 } } @@ -30654,15 +31458,15 @@ "updateContext": null }, "value": "=", - "start": 5028, - "end": 5029, + "start": 5781, + "end": 5782, "loc": { "start": { - "line": 179, + "line": 208, "column": 18 }, "end": { - "line": 179, + "line": 208, "column": 19 } } @@ -30680,15 +31484,15 @@ "binop": null }, "value": "config", - "start": 5030, - "end": 5036, + "start": 5783, + "end": 5789, "loc": { "start": { - "line": 179, + "line": 208, "column": 20 }, "end": { - "line": 179, + "line": 208, "column": 26 } } @@ -30706,15 +31510,15 @@ "binop": null, "updateContext": null }, - "start": 5036, - "end": 5037, + "start": 5789, + "end": 5790, "loc": { "start": { - "line": 179, + "line": 208, "column": 26 }, "end": { - "line": 179, + "line": 208, "column": 27 } } @@ -30734,15 +31538,15 @@ "updateContext": null }, "value": "return", - "start": 5042, - "end": 5048, + "start": 5795, + "end": 5801, "loc": { "start": { - "line": 180, + "line": 209, "column": 4 }, "end": { - "line": 180, + "line": 209, "column": 10 } } @@ -30760,15 +31564,15 @@ "binop": null }, "value": "config", - "start": 5049, - "end": 5055, + "start": 5802, + "end": 5808, "loc": { "start": { - "line": 180, + "line": 209, "column": 11 }, "end": { - "line": 180, + "line": 209, "column": 17 } } @@ -30786,15 +31590,15 @@ "binop": null, "updateContext": null }, - "start": 5055, - "end": 5056, + "start": 5808, + "end": 5809, "loc": { "start": { - "line": 180, + "line": 209, "column": 17 }, "end": { - "line": 180, + "line": 209, "column": 18 } } @@ -30811,15 +31615,15 @@ "postfix": false, "binop": null }, - "start": 5059, - "end": 5060, + "start": 5812, + "end": 5813, "loc": { "start": { - "line": 181, + "line": 210, "column": 2 }, "end": { - "line": 181, + "line": 210, "column": 3 } } @@ -30836,15 +31640,15 @@ "postfix": false, "binop": null }, - "start": 5061, - "end": 5062, + "start": 5814, + "end": 5815, "loc": { "start": { - "line": 182, + "line": 211, "column": 0 }, "end": { - "line": 182, + "line": 211, "column": 1 } } @@ -30862,15 +31666,15 @@ "binop": null, "updateContext": null }, - "start": 5063, - "end": 5063, + "start": 5816, + "end": 5816, "loc": { "start": { - "line": 183, + "line": 212, "column": 0 }, "end": { - "line": 183, + "line": 212, "column": 0 } } diff --git a/docs/ast/source/tasks.js.json b/docs/ast/source/tasks.js.json new file mode 100644 index 0000000..40365c0 --- /dev/null +++ b/docs/ast/source/tasks.js.json @@ -0,0 +1,8352 @@ +{ + "type": "File", + "start": 0, + "end": 879, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + }, + "program": { + "type": "Program", + "start": 0, + "end": 879, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + }, + "sourceType": "module", + "body": [ + { + "type": "VariableDeclaration", + "start": 14, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 32 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 20, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "id": { + "type": "Identifier", + "start": 20, + "end": 22, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 8 + }, + "identifierName": "fs" + }, + "name": "fs" + }, + "init": { + "type": "CallExpression", + "start": 25, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 31 + } + }, + "callee": { + "type": "Identifier", + "start": 25, + "end": 32, + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 18 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 33, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "extra": { + "rawValue": "backed-fs", + "raw": "'backed-fs'" + }, + "value": "backed-fs" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 47, + "end": 78, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 31 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 53, + "end": 77, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 30 + } + }, + "id": { + "type": "Identifier", + "start": 53, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 11 + }, + "identifierName": "webup" + }, + "name": "webup" + }, + "init": { + "type": "CallExpression", + "start": 61, + "end": 77, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 61, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 21 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 69, + "end": 76, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 29 + } + }, + "extra": { + "rawValue": "webup", + "raw": "'webup'" + }, + "value": "webup" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "ImportDeclaration", + "start": 79, + "end": 149, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 70 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 86, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 86, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 + }, + "identifierName": "builder" + }, + "name": "builder" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 99, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 69 + } + }, + "extra": { + "rawValue": "./../node_modules/backed-builder/src/builder.js", + "raw": "'./../node_modules/backed-builder/src/builder.js'" + }, + "value": "./../node_modules/backed-builder/src/builder.js" + } + }, + { + "type": "ImportDeclaration", + "start": 150, + "end": 183, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 33 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 157, + "end": 163, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 13 + } + }, + "local": { + "type": "Identifier", + "start": 157, + "end": 163, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 13 + }, + "identifierName": "server" + }, + "name": "server" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 169, + "end": 182, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 32 + } + }, + "extra": { + "rawValue": "./server.js", + "raw": "'./server.js'" + }, + "value": "./server.js" + } + }, + { + "type": "ImportDeclaration", + "start": 184, + "end": 219, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 35 + } + }, + "specifiers": [ + { + "type": "ImportDefaultSpecifier", + "start": 191, + "end": 198, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 14 + } + }, + "local": { + "type": "Identifier", + "start": 191, + "end": 198, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 14 + }, + "identifierName": "watcher" + }, + "name": "watcher" + } + } + ], + "source": { + "type": "StringLiteral", + "start": 204, + "end": 218, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 34 + } + }, + "extra": { + "rawValue": "./watcher.js", + "raw": "'./watcher.js'" + }, + "value": "./watcher.js" + } + }, + { + "type": "VariableDeclaration", + "start": 221, + "end": 472, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 17, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 227, + "end": 471, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 227, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 11 + }, + "identifierName": "build" + }, + "name": "build" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 235, + "end": 471, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 227, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 11 + }, + "identifierName": "build" + }, + "name": "build" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 235, + "end": 241, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 245, + "end": 471, + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 17, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 249, + "end": 469, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 16, + "column": 5 + } + }, + "argument": { + "type": "NewExpression", + "start": 256, + "end": 468, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 16, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 260, + "end": 267, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + }, + "identifierName": "Promise" + }, + "name": "Promise" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 268, + "end": 467, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 16, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 269, + "end": 276, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 29 + }, + "identifierName": "resolve" + }, + "name": "resolve" + }, + { + "type": "Identifier", + "start": 278, + "end": 284, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 37 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 289, + "end": 467, + "loc": { + "start": { + "line": 9, + "column": 42 + }, + "end": { + "line": 16, + "column": 3 + } + }, + "body": [ + { + "type": "IfStatement", + "start": 295, + "end": 414, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 14, + "column": 5 + } + }, + "test": { + "type": "LogicalExpression", + "start": 299, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 38 + } + }, + "left": { + "type": "MemberExpression", + "start": 299, + "end": 311, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 20 + } + }, + "object": { + "type": "Identifier", + "start": 299, + "end": 305, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 14 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 306, + "end": 311, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 20 + }, + "identifierName": "entry" + }, + "name": "entry" + }, + "computed": false + }, + "operator": "&&", + "right": { + "type": "MemberExpression", + "start": 315, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 38 + } + }, + "object": { + "type": "Identifier", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 30 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 322, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 38 + }, + "identifierName": "sources" + }, + "name": "sources" + }, + "computed": false + } + }, + "consequent": { + "type": "BlockStatement", + "start": 331, + "end": 414, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 14, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 339, + "end": 408, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 13, + "column": 9 + } + }, + "argument": { + "type": "CallExpression", + "start": 346, + "end": 407, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 13, + "column": 8 + } + }, + "callee": { + "type": "MemberExpression", + "start": 346, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 31 + } + }, + "object": { + "type": "CallExpression", + "start": 346, + "end": 359, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 26 + } + }, + "callee": { + "type": "Identifier", + "start": 346, + "end": 351, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 18 + }, + "identifierName": "webup" + }, + "name": "webup" + }, + "arguments": [ + { + "type": "Identifier", + "start": 352, + "end": 358, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 25 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + }, + "property": { + "type": "Identifier", + "start": 360, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 31 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 365, + "end": 406, + "loc": { + "start": { + "line": 11, + "column": 32 + }, + "end": { + "line": 13, + "column": 7 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 371, + "end": 406, + "loc": { + "start": { + "line": 11, + "column": 38 + }, + "end": { + "line": 13, + "column": 7 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 381, + "end": 398, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 25 + } + }, + "argument": { + "type": "CallExpression", + "start": 388, + "end": 397, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 24 + } + }, + "callee": { + "type": "Identifier", + "start": 388, + "end": 395, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 22 + }, + "identifierName": "resolve" + }, + "name": "resolve" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": null + }, + { + "type": "ExpressionStatement", + "start": 419, + "end": 463, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 48 + } + }, + "expression": { + "type": "CallExpression", + "start": 419, + "end": 462, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 47 + } + }, + "callee": { + "type": "MemberExpression", + "start": 419, + "end": 445, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 30 + } + }, + "object": { + "type": "CallExpression", + "start": 419, + "end": 440, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 25 + } + }, + "callee": { + "type": "MemberExpression", + "start": 419, + "end": 432, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 419, + "end": 426, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 11 + }, + "identifierName": "builder" + }, + "name": "builder" + }, + "property": { + "type": "Identifier", + "start": 427, + "end": 432, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 17 + }, + "identifierName": "build" + }, + "name": "build" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 433, + "end": 439, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 24 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + }, + "property": { + "type": "Identifier", + "start": 441, + "end": 445, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 30 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 446, + "end": 461, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 46 + } + }, + "id": null, + "generator": false, + "expression": true, + "async": false, + "params": [], + "body": { + "type": "CallExpression", + "start": 452, + "end": 461, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 46 + } + }, + "callee": { + "type": "Identifier", + "start": 452, + "end": 459, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 44 + }, + "identifierName": "resolve" + }, + "name": "resolve" + }, + "arguments": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 474, + "end": 635, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 25, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 480, + "end": 634, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 480, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 10 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 487, + "end": 634, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 480, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 10 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 487, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 19 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 497, + "end": 634, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 25, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 501, + "end": 632, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 24, + "column": 5 + } + }, + "argument": { + "type": "NewExpression", + "start": 508, + "end": 631, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 24, + "column": 4 + } + }, + "callee": { + "type": "Identifier", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 20 + }, + "identifierName": "Promise" + }, + "name": "Promise" + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 520, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 521, + "end": 528, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 29 + }, + "identifierName": "resolve" + }, + "name": "resolve" + }, + { + "type": "Identifier", + "start": 530, + "end": 536, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 37 + }, + "identifierName": "reject" + }, + "name": "reject" + } + ], + "body": { + "type": "BlockStatement", + "start": 541, + "end": 630, + "loc": { + "start": { + "line": 20, + "column": 42 + }, + "end": { + "line": 24, + "column": 3 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 547, + "end": 626, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 23, + "column": 7 + } + }, + "argument": { + "type": "CallExpression", + "start": 554, + "end": 625, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 23, + "column": 6 + } + }, + "callee": { + "type": "MemberExpression", + "start": 554, + "end": 586, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 43 + } + }, + "object": { + "type": "CallExpression", + "start": 554, + "end": 581, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 38 + } + }, + "callee": { + "type": "MemberExpression", + "start": 554, + "end": 568, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 25 + } + }, + "object": { + "type": "Identifier", + "start": 554, + "end": 556, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 13 + }, + "identifierName": "fs" + }, + "name": "fs" + }, + "property": { + "type": "Identifier", + "start": 557, + "end": 568, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 25 + }, + "identifierName": "copySources" + }, + "name": "copySources" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 569, + "end": 580, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 37 + } + }, + "object": { + "type": "Identifier", + "start": 569, + "end": 575, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 32 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 576, + "end": 580, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 37 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "computed": false + } + ] + }, + "property": { + "type": "Identifier", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 43 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 587, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 44 + }, + "end": { + "line": 23, + "column": 5 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 593, + "end": 624, + "loc": { + "start": { + "line": 21, + "column": 50 + }, + "end": { + "line": 23, + "column": 5 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 601, + "end": 618, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 23 + } + }, + "argument": { + "type": "CallExpression", + "start": 608, + "end": 617, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 22 + } + }, + "callee": { + "type": "Identifier", + "start": 608, + "end": 615, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 20 + }, + "identifierName": "resolve" + }, + "name": "resolve" + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 637, + "end": 703, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 29, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 643, + "end": 702, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 11 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 651, + "end": 702, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 11 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 651, + "end": 657, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 661, + "end": 702, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 29, + "column": 1 + } + }, + "body": [ + { + "type": "ReturnStatement", + "start": 665, + "end": 700, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 37 + } + }, + "argument": { + "type": "CallExpression", + "start": 672, + "end": 699, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 36 + } + }, + "callee": { + "type": "MemberExpression", + "start": 672, + "end": 684, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 21 + } + }, + "object": { + "type": "Identifier", + "start": 672, + "end": 678, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 15 + }, + "identifierName": "server" + }, + "name": "server" + }, + "property": { + "type": "Identifier", + "start": 679, + "end": 684, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 21 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "computed": false + }, + "arguments": [ + { + "type": "MemberExpression", + "start": 685, + "end": 698, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 35 + } + }, + "object": { + "type": "Identifier", + "start": 685, + "end": 691, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 28 + }, + "identifierName": "config" + }, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 692, + "end": 698, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 35 + }, + "identifierName": "server" + }, + "name": "server" + }, + "computed": false + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 705, + "end": 823, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 36, + "column": 2 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 711, + "end": 822, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 36, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 11 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "init": { + "type": "ArrowFunctionExpression", + "start": 719, + "end": 822, + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 36, + "column": 1 + } + }, + "id": { + "type": "Identifier", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 11 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "generator": false, + "expression": false, + "async": false, + "params": [ + { + "type": "Identifier", + "start": 719, + "end": 725, + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + } + ], + "body": { + "type": "BlockStatement", + "start": 729, + "end": 822, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 36, + "column": 1 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 733, + "end": 788, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 34, + "column": 5 + } + }, + "expression": { + "type": "CallExpression", + "start": 733, + "end": 787, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 34, + "column": 4 + } + }, + "callee": { + "type": "MemberExpression", + "start": 733, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 12 + } + }, + "object": { + "type": "Identifier", + "start": 733, + "end": 740, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 9 + }, + "identifierName": "watcher" + }, + "name": "watcher" + }, + "property": { + "type": "Identifier", + "start": 741, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 12 + }, + "identifierName": "on" + }, + "name": "on" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 744, + "end": 752, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 21 + } + }, + "extra": { + "rawValue": "reload", + "raw": "'reload'" + }, + "value": "reload" + }, + { + "type": "ArrowFunctionExpression", + "start": 754, + "end": 786, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 34, + "column": 3 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 760, + "end": 786, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 34, + "column": 3 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 766, + "end": 782, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 20 + } + }, + "expression": { + "type": "CallExpression", + "start": 766, + "end": 781, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 19 + } + }, + "callee": { + "type": "MemberExpression", + "start": 766, + "end": 779, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 17 + } + }, + "object": { + "type": "Identifier", + "start": 766, + "end": 772, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 10 + }, + "identifierName": "server" + }, + "name": "server" + }, + "property": { + "type": "Identifier", + "start": 773, + "end": 779, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 17 + }, + "identifierName": "reload" + }, + "name": "reload" + }, + "computed": false + }, + "arguments": [] + } + } + ], + "directives": [] + } + } + ] + } + }, + { + "type": "ReturnStatement", + "start": 791, + "end": 820, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 31 + } + }, + "argument": { + "type": "CallExpression", + "start": 798, + "end": 819, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 30 + } + }, + "callee": { + "type": "MemberExpression", + "start": 798, + "end": 811, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 798, + "end": 805, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 16 + }, + "identifierName": "watcher" + }, + "name": "watcher" + }, + "property": { + "type": "Identifier", + "start": 806, + "end": 811, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 22 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 812, + "end": 818, + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 29 + }, + "identifierName": "config" + }, + "name": "config" + } + ] + } + } + ], + "directives": [] + } + } + } + ], + "kind": "const" + }, + { + "type": "ExportDefaultDeclaration", + "start": 825, + "end": 878, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 43, + "column": 2 + } + }, + "declaration": { + "type": "ObjectExpression", + "start": 840, + "end": 877, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 43, + "column": 1 + } + }, + "properties": [ + { + "type": "ObjectProperty", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 7 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 7 + }, + "identifierName": "build" + }, + "name": "build" + }, + "value": { + "type": "Identifier", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 7 + }, + "identifierName": "build" + }, + "name": "build" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 6 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 6 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "value": { + "type": "Identifier", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 6 + }, + "identifierName": "copy" + }, + "name": "copy" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 861, + "end": 866, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 7 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 861, + "end": 866, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 7 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "value": { + "type": "Identifier", + "start": 861, + "end": 866, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 7 + }, + "identifierName": "serve" + }, + "name": "serve" + }, + "extra": { + "shorthand": true + } + }, + { + "type": "ObjectProperty", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + } + }, + "method": false, + "shorthand": true, + "computed": false, + "key": { + "type": "Identifier", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "value": { + "type": "Identifier", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + }, + "identifierName": "watch" + }, + "name": "watch" + }, + "extra": { + "shorthand": true + } + } + ], + "leadingComments": [], + "trailingComments": [] + } + } + ], + "directives": [ + { + "type": "Directive", + "start": 0, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + } + } + } + ] + }, + "comments": [], + "tokens": [ + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 14, + "end": 19, + "loc": { + "start": { + "line": 2, + "column": 0 + }, + "end": { + "line": 2, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fs", + "start": 20, + "end": 22, + "loc": { + "start": { + "line": 2, + "column": 6 + }, + "end": { + "line": 2, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 23, + "end": 24, + "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": "require", + "start": 25, + "end": 32, + "loc": { + "start": { + "line": 2, + "column": 11 + }, + "end": { + "line": 2, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 32, + "end": 33, + "loc": { + "start": { + "line": 2, + "column": 18 + }, + "end": { + "line": 2, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "backed-fs", + "start": 33, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 19 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 45, + "end": 46, + "loc": { + "start": { + "line": 2, + "column": 31 + }, + "end": { + "line": 2, + "column": 32 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 47, + "end": 52, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "webup", + "start": 53, + "end": 58, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 59, + "end": 60, + "loc": { + "start": { + "line": 3, + "column": 12 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 61, + "end": 68, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 68, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 21 + }, + "end": { + "line": 3, + "column": 22 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "webup", + "start": 69, + "end": 76, + "loc": { + "start": { + "line": 3, + "column": 22 + }, + "end": { + "line": 3, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 76, + "end": 77, + "loc": { + "start": { + "line": 3, + "column": 29 + }, + "end": { + "line": 3, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 77, + "end": 78, + "loc": { + "start": { + "line": 3, + "column": 30 + }, + "end": { + "line": 3, + "column": 31 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 79, + "end": 85, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "builder", + "start": 86, + "end": 93, + "loc": { + "start": { + "line": 4, + "column": 7 + }, + "end": { + "line": 4, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 94, + "end": 98, + "loc": { + "start": { + "line": 4, + "column": 15 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./../node_modules/backed-builder/src/builder.js", + "start": 99, + "end": 148, + "loc": { + "start": { + "line": 4, + "column": 20 + }, + "end": { + "line": 4, + "column": 69 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 148, + "end": 149, + "loc": { + "start": { + "line": 4, + "column": 69 + }, + "end": { + "line": 4, + "column": 70 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 150, + "end": 156, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "server", + "start": 157, + "end": 163, + "loc": { + "start": { + "line": 5, + "column": 7 + }, + "end": { + "line": 5, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 164, + "end": 168, + "loc": { + "start": { + "line": 5, + "column": 14 + }, + "end": { + "line": 5, + "column": 18 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./server.js", + "start": 169, + "end": 182, + "loc": { + "start": { + "line": 5, + "column": 19 + }, + "end": { + "line": 5, + "column": 32 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 182, + "end": 183, + "loc": { + "start": { + "line": 5, + "column": 32 + }, + "end": { + "line": 5, + "column": 33 + } + } + }, + { + "type": { + "label": "import", + "keyword": "import", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "import", + "start": 184, + "end": 190, + "loc": { + "start": { + "line": 6, + "column": 0 + }, + "end": { + "line": 6, + "column": 6 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watcher", + "start": 191, + "end": 198, + "loc": { + "start": { + "line": 6, + "column": 7 + }, + "end": { + "line": 6, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "from", + "start": 199, + "end": 203, + "loc": { + "start": { + "line": 6, + "column": 15 + }, + "end": { + "line": 6, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "./watcher.js", + "start": 204, + "end": 218, + "loc": { + "start": { + "line": 6, + "column": 20 + }, + "end": { + "line": 6, + "column": 34 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 218, + "end": 219, + "loc": { + "start": { + "line": 6, + "column": 34 + }, + "end": { + "line": 6, + "column": 35 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 221, + "end": 226, + "loc": { + "start": { + "line": 8, + "column": 0 + }, + "end": { + "line": 8, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "build", + "start": 227, + "end": 232, + "loc": { + "start": { + "line": 8, + "column": 6 + }, + "end": { + "line": 8, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 233, + "end": 234, + "loc": { + "start": { + "line": 8, + "column": 12 + }, + "end": { + "line": 8, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 235, + "end": 241, + "loc": { + "start": { + "line": 8, + "column": 14 + }, + "end": { + "line": 8, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 242, + "end": 244, + "loc": { + "start": { + "line": 8, + "column": 21 + }, + "end": { + "line": 8, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 245, + "end": 246, + "loc": { + "start": { + "line": 8, + "column": 24 + }, + "end": { + "line": 8, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 249, + "end": 255, + "loc": { + "start": { + "line": 9, + "column": 2 + }, + "end": { + "line": 9, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 256, + "end": 259, + "loc": { + "start": { + "line": 9, + "column": 9 + }, + "end": { + "line": 9, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Promise", + "start": 260, + "end": 267, + "loc": { + "start": { + "line": 9, + "column": 13 + }, + "end": { + "line": 9, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 267, + "end": 268, + "loc": { + "start": { + "line": 9, + "column": 20 + }, + "end": { + "line": 9, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 268, + "end": 269, + "loc": { + "start": { + "line": 9, + "column": 21 + }, + "end": { + "line": 9, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 269, + "end": 276, + "loc": { + "start": { + "line": 9, + "column": 22 + }, + "end": { + "line": 9, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 276, + "end": 277, + "loc": { + "start": { + "line": 9, + "column": 29 + }, + "end": { + "line": 9, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 278, + "end": 284, + "loc": { + "start": { + "line": 9, + "column": 31 + }, + "end": { + "line": 9, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 284, + "end": 285, + "loc": { + "start": { + "line": 9, + "column": 37 + }, + "end": { + "line": 9, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 286, + "end": 288, + "loc": { + "start": { + "line": 9, + "column": 39 + }, + "end": { + "line": 9, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 289, + "end": 290, + "loc": { + "start": { + "line": 9, + "column": 42 + }, + "end": { + "line": 9, + "column": 43 + } + } + }, + { + "type": { + "label": "if", + "keyword": "if", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "if", + "start": 295, + "end": 297, + "loc": { + "start": { + "line": 10, + "column": 4 + }, + "end": { + "line": 10, + "column": 6 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 298, + "end": 299, + "loc": { + "start": { + "line": 10, + "column": 7 + }, + "end": { + "line": 10, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 299, + "end": 305, + "loc": { + "start": { + "line": 10, + "column": 8 + }, + "end": { + "line": 10, + "column": 14 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 305, + "end": 306, + "loc": { + "start": { + "line": 10, + "column": 14 + }, + "end": { + "line": 10, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "entry", + "start": 306, + "end": 311, + "loc": { + "start": { + "line": 10, + "column": 15 + }, + "end": { + "line": 10, + "column": 20 + } + } + }, + { + "type": { + "label": "&&", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": 2, + "updateContext": null + }, + "value": "&&", + "start": 312, + "end": 314, + "loc": { + "start": { + "line": 10, + "column": 21 + }, + "end": { + "line": 10, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 315, + "end": 321, + "loc": { + "start": { + "line": 10, + "column": 24 + }, + "end": { + "line": 10, + "column": 30 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 321, + "end": 322, + "loc": { + "start": { + "line": 10, + "column": 30 + }, + "end": { + "line": 10, + "column": 31 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "sources", + "start": 322, + "end": 329, + "loc": { + "start": { + "line": 10, + "column": 31 + }, + "end": { + "line": 10, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 329, + "end": 330, + "loc": { + "start": { + "line": 10, + "column": 38 + }, + "end": { + "line": 10, + "column": 39 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 331, + "end": 332, + "loc": { + "start": { + "line": 10, + "column": 40 + }, + "end": { + "line": 10, + "column": 41 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 339, + "end": 345, + "loc": { + "start": { + "line": 11, + "column": 6 + }, + "end": { + "line": 11, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "webup", + "start": 346, + "end": 351, + "loc": { + "start": { + "line": 11, + "column": 13 + }, + "end": { + "line": 11, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 351, + "end": 352, + "loc": { + "start": { + "line": 11, + "column": 18 + }, + "end": { + "line": 11, + "column": 19 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 352, + "end": 358, + "loc": { + "start": { + "line": 11, + "column": 19 + }, + "end": { + "line": 11, + "column": 25 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 358, + "end": 359, + "loc": { + "start": { + "line": 11, + "column": 25 + }, + "end": { + "line": 11, + "column": 26 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 359, + "end": 360, + "loc": { + "start": { + "line": 11, + "column": 26 + }, + "end": { + "line": 11, + "column": 27 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 360, + "end": 364, + "loc": { + "start": { + "line": 11, + "column": 27 + }, + "end": { + "line": 11, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 364, + "end": 365, + "loc": { + "start": { + "line": 11, + "column": 31 + }, + "end": { + "line": 11, + "column": 32 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 365, + "end": 366, + "loc": { + "start": { + "line": 11, + "column": 32 + }, + "end": { + "line": 11, + "column": 33 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 366, + "end": 367, + "loc": { + "start": { + "line": 11, + "column": 33 + }, + "end": { + "line": 11, + "column": 34 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 368, + "end": 370, + "loc": { + "start": { + "line": 11, + "column": 35 + }, + "end": { + "line": 11, + "column": 37 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 371, + "end": 372, + "loc": { + "start": { + "line": 11, + "column": 38 + }, + "end": { + "line": 11, + "column": 39 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 381, + "end": 387, + "loc": { + "start": { + "line": 12, + "column": 8 + }, + "end": { + "line": 12, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 388, + "end": 395, + "loc": { + "start": { + "line": 12, + "column": 15 + }, + "end": { + "line": 12, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 395, + "end": 396, + "loc": { + "start": { + "line": 12, + "column": 22 + }, + "end": { + "line": 12, + "column": 23 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 396, + "end": 397, + "loc": { + "start": { + "line": 12, + "column": 23 + }, + "end": { + "line": 12, + "column": 24 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 397, + "end": 398, + "loc": { + "start": { + "line": 12, + "column": 24 + }, + "end": { + "line": 12, + "column": 25 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 405, + "end": 406, + "loc": { + "start": { + "line": 13, + "column": 6 + }, + "end": { + "line": 13, + "column": 7 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 406, + "end": 407, + "loc": { + "start": { + "line": 13, + "column": 7 + }, + "end": { + "line": 13, + "column": 8 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 407, + "end": 408, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 9 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 413, + "end": 414, + "loc": { + "start": { + "line": 14, + "column": 4 + }, + "end": { + "line": 14, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "builder", + "start": 419, + "end": 426, + "loc": { + "start": { + "line": 15, + "column": 4 + }, + "end": { + "line": 15, + "column": 11 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 426, + "end": 427, + "loc": { + "start": { + "line": 15, + "column": 11 + }, + "end": { + "line": 15, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "build", + "start": 427, + "end": 432, + "loc": { + "start": { + "line": 15, + "column": 12 + }, + "end": { + "line": 15, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 432, + "end": 433, + "loc": { + "start": { + "line": 15, + "column": 17 + }, + "end": { + "line": 15, + "column": 18 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 433, + "end": 439, + "loc": { + "start": { + "line": 15, + "column": 18 + }, + "end": { + "line": 15, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 439, + "end": 440, + "loc": { + "start": { + "line": 15, + "column": 24 + }, + "end": { + "line": 15, + "column": 25 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 440, + "end": 441, + "loc": { + "start": { + "line": 15, + "column": 25 + }, + "end": { + "line": 15, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 441, + "end": 445, + "loc": { + "start": { + "line": 15, + "column": 26 + }, + "end": { + "line": 15, + "column": 30 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 445, + "end": 446, + "loc": { + "start": { + "line": 15, + "column": 30 + }, + "end": { + "line": 15, + "column": 31 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 446, + "end": 447, + "loc": { + "start": { + "line": 15, + "column": 31 + }, + "end": { + "line": 15, + "column": 32 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 447, + "end": 448, + "loc": { + "start": { + "line": 15, + "column": 32 + }, + "end": { + "line": 15, + "column": 33 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 449, + "end": 451, + "loc": { + "start": { + "line": 15, + "column": 34 + }, + "end": { + "line": 15, + "column": 36 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 452, + "end": 459, + "loc": { + "start": { + "line": 15, + "column": 37 + }, + "end": { + "line": 15, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 459, + "end": 460, + "loc": { + "start": { + "line": 15, + "column": 44 + }, + "end": { + "line": 15, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 460, + "end": 461, + "loc": { + "start": { + "line": 15, + "column": 45 + }, + "end": { + "line": 15, + "column": 46 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 461, + "end": 462, + "loc": { + "start": { + "line": 15, + "column": 46 + }, + "end": { + "line": 15, + "column": 47 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 462, + "end": 463, + "loc": { + "start": { + "line": 15, + "column": 47 + }, + "end": { + "line": 15, + "column": 48 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 466, + "end": 467, + "loc": { + "start": { + "line": 16, + "column": 2 + }, + "end": { + "line": 16, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 467, + "end": 468, + "loc": { + "start": { + "line": 16, + "column": 3 + }, + "end": { + "line": 16, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 468, + "end": 469, + "loc": { + "start": { + "line": 16, + "column": 4 + }, + "end": { + "line": 16, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 470, + "end": 471, + "loc": { + "start": { + "line": 17, + "column": 0 + }, + "end": { + "line": 17, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 471, + "end": 472, + "loc": { + "start": { + "line": 17, + "column": 1 + }, + "end": { + "line": 17, + "column": 2 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 474, + "end": 479, + "loc": { + "start": { + "line": 19, + "column": 0 + }, + "end": { + "line": 19, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copy", + "start": 480, + "end": 484, + "loc": { + "start": { + "line": 19, + "column": 6 + }, + "end": { + "line": 19, + "column": 10 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 485, + "end": 486, + "loc": { + "start": { + "line": 19, + "column": 11 + }, + "end": { + "line": 19, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 487, + "end": 493, + "loc": { + "start": { + "line": 19, + "column": 13 + }, + "end": { + "line": 19, + "column": 19 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 494, + "end": 496, + "loc": { + "start": { + "line": 19, + "column": 20 + }, + "end": { + "line": 19, + "column": 22 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 497, + "end": 498, + "loc": { + "start": { + "line": 19, + "column": 23 + }, + "end": { + "line": 19, + "column": 24 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 501, + "end": 507, + "loc": { + "start": { + "line": 20, + "column": 2 + }, + "end": { + "line": 20, + "column": 8 + } + } + }, + { + "type": { + "label": "new", + "keyword": "new", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "new", + "start": 508, + "end": 511, + "loc": { + "start": { + "line": 20, + "column": 9 + }, + "end": { + "line": 20, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "Promise", + "start": 512, + "end": 519, + "loc": { + "start": { + "line": 20, + "column": 13 + }, + "end": { + "line": 20, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 519, + "end": 520, + "loc": { + "start": { + "line": 20, + "column": 20 + }, + "end": { + "line": 20, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 520, + "end": 521, + "loc": { + "start": { + "line": 20, + "column": 21 + }, + "end": { + "line": 20, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 521, + "end": 528, + "loc": { + "start": { + "line": 20, + "column": 22 + }, + "end": { + "line": 20, + "column": 29 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 528, + "end": 529, + "loc": { + "start": { + "line": 20, + "column": 29 + }, + "end": { + "line": 20, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reject", + "start": 530, + "end": 536, + "loc": { + "start": { + "line": 20, + "column": 31 + }, + "end": { + "line": 20, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 536, + "end": 537, + "loc": { + "start": { + "line": 20, + "column": 37 + }, + "end": { + "line": 20, + "column": 38 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 538, + "end": 540, + "loc": { + "start": { + "line": 20, + "column": 39 + }, + "end": { + "line": 20, + "column": 41 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 541, + "end": 542, + "loc": { + "start": { + "line": 20, + "column": 42 + }, + "end": { + "line": 20, + "column": 43 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 547, + "end": 553, + "loc": { + "start": { + "line": 21, + "column": 4 + }, + "end": { + "line": 21, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fs", + "start": 554, + "end": 556, + "loc": { + "start": { + "line": 21, + "column": 11 + }, + "end": { + "line": 21, + "column": 13 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 556, + "end": 557, + "loc": { + "start": { + "line": 21, + "column": 13 + }, + "end": { + "line": 21, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copySources", + "start": 557, + "end": 568, + "loc": { + "start": { + "line": 21, + "column": 14 + }, + "end": { + "line": 21, + "column": 25 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 568, + "end": 569, + "loc": { + "start": { + "line": 21, + "column": 25 + }, + "end": { + "line": 21, + "column": 26 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 569, + "end": 575, + "loc": { + "start": { + "line": 21, + "column": 26 + }, + "end": { + "line": 21, + "column": 32 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 575, + "end": 576, + "loc": { + "start": { + "line": 21, + "column": 32 + }, + "end": { + "line": 21, + "column": 33 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copy", + "start": 576, + "end": 580, + "loc": { + "start": { + "line": 21, + "column": 33 + }, + "end": { + "line": 21, + "column": 37 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 580, + "end": 581, + "loc": { + "start": { + "line": 21, + "column": 37 + }, + "end": { + "line": 21, + "column": 38 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 581, + "end": 582, + "loc": { + "start": { + "line": 21, + "column": 38 + }, + "end": { + "line": 21, + "column": 39 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "then", + "start": 582, + "end": 586, + "loc": { + "start": { + "line": 21, + "column": 39 + }, + "end": { + "line": 21, + "column": 43 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 586, + "end": 587, + "loc": { + "start": { + "line": 21, + "column": 43 + }, + "end": { + "line": 21, + "column": 44 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 587, + "end": 588, + "loc": { + "start": { + "line": 21, + "column": 44 + }, + "end": { + "line": 21, + "column": 45 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 588, + "end": 589, + "loc": { + "start": { + "line": 21, + "column": 45 + }, + "end": { + "line": 21, + "column": 46 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 590, + "end": 592, + "loc": { + "start": { + "line": 21, + "column": 47 + }, + "end": { + "line": 21, + "column": 49 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 593, + "end": 594, + "loc": { + "start": { + "line": 21, + "column": 50 + }, + "end": { + "line": 21, + "column": 51 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 601, + "end": 607, + "loc": { + "start": { + "line": 22, + "column": 6 + }, + "end": { + "line": 22, + "column": 12 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "resolve", + "start": 608, + "end": 615, + "loc": { + "start": { + "line": 22, + "column": 13 + }, + "end": { + "line": 22, + "column": 20 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 615, + "end": 616, + "loc": { + "start": { + "line": 22, + "column": 20 + }, + "end": { + "line": 22, + "column": 21 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 616, + "end": 617, + "loc": { + "start": { + "line": 22, + "column": 21 + }, + "end": { + "line": 22, + "column": 22 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 617, + "end": 618, + "loc": { + "start": { + "line": 22, + "column": 22 + }, + "end": { + "line": 22, + "column": 23 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 623, + "end": 624, + "loc": { + "start": { + "line": 23, + "column": 4 + }, + "end": { + "line": 23, + "column": 5 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 624, + "end": 625, + "loc": { + "start": { + "line": 23, + "column": 5 + }, + "end": { + "line": 23, + "column": 6 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 625, + "end": 626, + "loc": { + "start": { + "line": 23, + "column": 6 + }, + "end": { + "line": 23, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 629, + "end": 630, + "loc": { + "start": { + "line": 24, + "column": 2 + }, + "end": { + "line": 24, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 630, + "end": 631, + "loc": { + "start": { + "line": 24, + "column": 3 + }, + "end": { + "line": 24, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 631, + "end": 632, + "loc": { + "start": { + "line": 24, + "column": 4 + }, + "end": { + "line": 24, + "column": 5 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 633, + "end": 634, + "loc": { + "start": { + "line": 25, + "column": 0 + }, + "end": { + "line": 25, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 634, + "end": 635, + "loc": { + "start": { + "line": 25, + "column": 1 + }, + "end": { + "line": 25, + "column": 2 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 637, + "end": 642, + "loc": { + "start": { + "line": 27, + "column": 0 + }, + "end": { + "line": 27, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serve", + "start": 643, + "end": 648, + "loc": { + "start": { + "line": 27, + "column": 6 + }, + "end": { + "line": 27, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 649, + "end": 650, + "loc": { + "start": { + "line": 27, + "column": 12 + }, + "end": { + "line": 27, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 651, + "end": 657, + "loc": { + "start": { + "line": 27, + "column": 14 + }, + "end": { + "line": 27, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 658, + "end": 660, + "loc": { + "start": { + "line": 27, + "column": 21 + }, + "end": { + "line": 27, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 661, + "end": 662, + "loc": { + "start": { + "line": 27, + "column": 24 + }, + "end": { + "line": 27, + "column": 25 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 665, + "end": 671, + "loc": { + "start": { + "line": 28, + "column": 2 + }, + "end": { + "line": 28, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "server", + "start": 672, + "end": 678, + "loc": { + "start": { + "line": 28, + "column": 9 + }, + "end": { + "line": 28, + "column": 15 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 678, + "end": 679, + "loc": { + "start": { + "line": 28, + "column": 15 + }, + "end": { + "line": 28, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serve", + "start": 679, + "end": 684, + "loc": { + "start": { + "line": 28, + "column": 16 + }, + "end": { + "line": 28, + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 684, + "end": 685, + "loc": { + "start": { + "line": 28, + "column": 21 + }, + "end": { + "line": 28, + "column": 22 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 685, + "end": 691, + "loc": { + "start": { + "line": 28, + "column": 22 + }, + "end": { + "line": 28, + "column": 28 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 691, + "end": 692, + "loc": { + "start": { + "line": 28, + "column": 28 + }, + "end": { + "line": 28, + "column": 29 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "server", + "start": 692, + "end": 698, + "loc": { + "start": { + "line": 28, + "column": 29 + }, + "end": { + "line": 28, + "column": 35 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 698, + "end": 699, + "loc": { + "start": { + "line": 28, + "column": 35 + }, + "end": { + "line": 28, + "column": 36 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 699, + "end": 700, + "loc": { + "start": { + "line": 28, + "column": 36 + }, + "end": { + "line": 28, + "column": 37 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 701, + "end": 702, + "loc": { + "start": { + "line": 29, + "column": 0 + }, + "end": { + "line": 29, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 702, + "end": 703, + "loc": { + "start": { + "line": 29, + "column": 1 + }, + "end": { + "line": 29, + "column": 2 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 705, + "end": 710, + "loc": { + "start": { + "line": 31, + "column": 0 + }, + "end": { + "line": 31, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watch", + "start": 711, + "end": 716, + "loc": { + "start": { + "line": 31, + "column": 6 + }, + "end": { + "line": 31, + "column": 11 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 717, + "end": 718, + "loc": { + "start": { + "line": 31, + "column": 12 + }, + "end": { + "line": 31, + "column": 13 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 719, + "end": 725, + "loc": { + "start": { + "line": 31, + "column": 14 + }, + "end": { + "line": 31, + "column": 20 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 726, + "end": 728, + "loc": { + "start": { + "line": 31, + "column": 21 + }, + "end": { + "line": 31, + "column": 23 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 729, + "end": 730, + "loc": { + "start": { + "line": 31, + "column": 24 + }, + "end": { + "line": 31, + "column": 25 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watcher", + "start": 733, + "end": 740, + "loc": { + "start": { + "line": 32, + "column": 2 + }, + "end": { + "line": 32, + "column": 9 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 740, + "end": 741, + "loc": { + "start": { + "line": 32, + "column": 9 + }, + "end": { + "line": 32, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "on", + "start": 741, + "end": 743, + "loc": { + "start": { + "line": 32, + "column": 10 + }, + "end": { + "line": 32, + "column": 12 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 743, + "end": 744, + "loc": { + "start": { + "line": 32, + "column": 12 + }, + "end": { + "line": 32, + "column": 13 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "reload", + "start": 744, + "end": 752, + "loc": { + "start": { + "line": 32, + "column": 13 + }, + "end": { + "line": 32, + "column": 21 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 752, + "end": 753, + "loc": { + "start": { + "line": 32, + "column": 21 + }, + "end": { + "line": 32, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 754, + "end": 755, + "loc": { + "start": { + "line": 32, + "column": 23 + }, + "end": { + "line": 32, + "column": 24 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 755, + "end": 756, + "loc": { + "start": { + "line": 32, + "column": 24 + }, + "end": { + "line": 32, + "column": 25 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 757, + "end": 759, + "loc": { + "start": { + "line": 32, + "column": 26 + }, + "end": { + "line": 32, + "column": 28 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 760, + "end": 761, + "loc": { + "start": { + "line": 32, + "column": 29 + }, + "end": { + "line": 32, + "column": 30 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "server", + "start": 766, + "end": 772, + "loc": { + "start": { + "line": 33, + "column": 4 + }, + "end": { + "line": 33, + "column": 10 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 772, + "end": 773, + "loc": { + "start": { + "line": 33, + "column": 10 + }, + "end": { + "line": 33, + "column": 11 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "reload", + "start": 773, + "end": 779, + "loc": { + "start": { + "line": 33, + "column": 11 + }, + "end": { + "line": 33, + "column": 17 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 779, + "end": 780, + "loc": { + "start": { + "line": 33, + "column": 17 + }, + "end": { + "line": 33, + "column": 18 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 780, + "end": 781, + "loc": { + "start": { + "line": 33, + "column": 18 + }, + "end": { + "line": 33, + "column": 19 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 781, + "end": 782, + "loc": { + "start": { + "line": 33, + "column": 19 + }, + "end": { + "line": 33, + "column": 20 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 785, + "end": 786, + "loc": { + "start": { + "line": 34, + "column": 2 + }, + "end": { + "line": 34, + "column": 3 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 786, + "end": 787, + "loc": { + "start": { + "line": 34, + "column": 3 + }, + "end": { + "line": 34, + "column": 4 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 787, + "end": 788, + "loc": { + "start": { + "line": 34, + "column": 4 + }, + "end": { + "line": 34, + "column": 5 + } + } + }, + { + "type": { + "label": "return", + "keyword": "return", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "return", + "start": 791, + "end": 797, + "loc": { + "start": { + "line": 35, + "column": 2 + }, + "end": { + "line": 35, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watcher", + "start": 798, + "end": 805, + "loc": { + "start": { + "line": 35, + "column": 9 + }, + "end": { + "line": 35, + "column": 16 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 805, + "end": 806, + "loc": { + "start": { + "line": 35, + "column": 16 + }, + "end": { + "line": 35, + "column": 17 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watch", + "start": 806, + "end": 811, + "loc": { + "start": { + "line": 35, + "column": 17 + }, + "end": { + "line": 35, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 811, + "end": 812, + "loc": { + "start": { + "line": 35, + "column": 22 + }, + "end": { + "line": 35, + "column": 23 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 812, + "end": 818, + "loc": { + "start": { + "line": 35, + "column": 23 + }, + "end": { + "line": 35, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 818, + "end": 819, + "loc": { + "start": { + "line": 35, + "column": 29 + }, + "end": { + "line": 35, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 819, + "end": 820, + "loc": { + "start": { + "line": 35, + "column": 30 + }, + "end": { + "line": 35, + "column": 31 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 821, + "end": 822, + "loc": { + "start": { + "line": 36, + "column": 0 + }, + "end": { + "line": 36, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 822, + "end": 823, + "loc": { + "start": { + "line": 36, + "column": 1 + }, + "end": { + "line": 36, + "column": 2 + } + } + }, + { + "type": { + "label": "export", + "keyword": "export", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "export", + "start": 825, + "end": 831, + "loc": { + "start": { + "line": 38, + "column": 0 + }, + "end": { + "line": 38, + "column": 6 + } + } + }, + { + "type": { + "label": "default", + "keyword": "default", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "default", + "start": 832, + "end": 839, + "loc": { + "start": { + "line": 38, + "column": 7 + }, + "end": { + "line": 38, + "column": 14 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 840, + "end": 841, + "loc": { + "start": { + "line": 38, + "column": 15 + }, + "end": { + "line": 38, + "column": 16 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "build", + "start": 844, + "end": 849, + "loc": { + "start": { + "line": 39, + "column": 2 + }, + "end": { + "line": 39, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 849, + "end": 850, + "loc": { + "start": { + "line": 39, + "column": 7 + }, + "end": { + "line": 39, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "copy", + "start": 853, + "end": 857, + "loc": { + "start": { + "line": 40, + "column": 2 + }, + "end": { + "line": 40, + "column": 6 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 857, + "end": 858, + "loc": { + "start": { + "line": 40, + "column": 6 + }, + "end": { + "line": 40, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "serve", + "start": 861, + "end": 866, + "loc": { + "start": { + "line": 41, + "column": 2 + }, + "end": { + "line": 41, + "column": 7 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 866, + "end": 867, + "loc": { + "start": { + "line": 41, + "column": 7 + }, + "end": { + "line": 41, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "watch", + "start": 870, + "end": 875, + "loc": { + "start": { + "line": 42, + "column": 2 + }, + "end": { + "line": 42, + "column": 7 + } + } + }, + { + "type": { + "label": "}", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 876, + "end": 877, + "loc": { + "start": { + "line": 43, + "column": 0 + }, + "end": { + "line": 43, + "column": 1 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 877, + "end": 878, + "loc": { + "start": { + "line": 43, + "column": 1 + }, + "end": { + "line": 43, + "column": 2 + } + } + }, + { + "type": { + "label": "eof", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 879, + "end": 879, + "loc": { + "start": { + "line": 44, + "column": 0 + }, + "end": { + "line": 44, + "column": 0 + } + } + } + ] +} \ No newline at end of file diff --git a/docs/ast/source/workers/watcher-worker.js.json b/docs/ast/source/workers/watcher-worker.js.json index f9e7752..e8b9c2f 100644 --- a/docs/ast/source/workers/watcher-worker.js.json +++ b/docs/ast/source/workers/watcher-worker.js.json @@ -1,28 +1,28 @@ { "type": "File", "start": 0, - "end": 552, + "end": 714, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 30, "column": 0 } }, "program": { "type": "Program", "start": 0, - "end": 552, + "end": 714, "loc": { "start": { "line": 1, "column": 0 }, "end": { - "line": 24, + "line": 30, "column": 0 } }, @@ -30,8 +30,8 @@ "body": [ { "type": "VariableDeclaration", - "start": 1, - "end": 43, + "start": 14, + "end": 45, "loc": { "start": { "line": 2, @@ -39,14 +39,14 @@ }, "end": { "line": 2, - "column": 42 + "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 7, - "end": 42, + "start": 20, + "end": 44, "loc": { "start": { "line": 2, @@ -54,13 +54,13 @@ }, "end": { "line": 2, - "column": 41 + "column": 30 } }, "id": { "type": "Identifier", - "start": 7, - "end": 14, + "start": 20, + "end": 25, "loc": { "start": { "line": 2, @@ -68,6 +68,110 @@ }, "end": { "line": 2, + "column": 11 + }, + "identifierName": "webup" + }, + "name": "webup" + }, + "init": { + "type": "CallExpression", + "start": 28, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 30 + } + }, + "callee": { + "type": "Identifier", + "start": 28, + "end": 35, + "loc": { + "start": { + "line": 2, + "column": 14 + }, + "end": { + "line": 2, + "column": 21 + }, + "identifierName": "require" + }, + "name": "require" + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 36, + "end": 43, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 29 + } + }, + "extra": { + "rawValue": "webup", + "raw": "'webup'" + }, + "value": "webup" + } + ] + } + } + ], + "kind": "const" + }, + { + "type": "VariableDeclaration", + "start": 46, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 42 + } + }, + "declarations": [ + { + "type": "VariableDeclarator", + "start": 52, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 41 + } + }, + "id": { + "type": "Identifier", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, "column": 13 }, "identifierName": "builder" @@ -76,29 +180,29 @@ }, "init": { "type": "CallExpression", - "start": 17, - "end": 42, + "start": 62, + "end": 87, "loc": { "start": { - "line": 2, + "line": 3, "column": 16 }, "end": { - "line": 2, + "line": 3, "column": 41 } }, "callee": { "type": "Identifier", - "start": 17, - "end": 24, + "start": 62, + "end": 69, "loc": { "start": { - "line": 2, + "line": 3, "column": 16 }, "end": { - "line": 2, + "line": 3, "column": 23 }, "identifierName": "require" @@ -108,15 +212,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 25, - "end": 41, + "start": 70, + "end": 86, "loc": { "start": { - "line": 2, + "line": 3, "column": 24 }, "end": { - "line": 2, + "line": 3, "column": 40 } }, @@ -134,44 +238,44 @@ }, { "type": "VariableDeclaration", - "start": 44, - "end": 76, + "start": 89, + "end": 121, "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 50, - "end": 75, + "start": 95, + "end": 120, "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 31 } }, "id": { "type": "Identifier", - "start": 50, - "end": 52, + "start": 95, + "end": 97, "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 8 }, "identifierName": "fs" @@ -180,29 +284,29 @@ }, "init": { "type": "CallExpression", - "start": 55, - "end": 75, + "start": 100, + "end": 120, "loc": { "start": { - "line": 3, + "line": 4, "column": 11 }, "end": { - "line": 3, + "line": 4, "column": 31 } }, "callee": { "type": "Identifier", - "start": 55, - "end": 62, + "start": 100, + "end": 107, "loc": { "start": { - "line": 3, + "line": 4, "column": 11 }, "end": { - "line": 3, + "line": 4, "column": 18 }, "identifierName": "require" @@ -212,15 +316,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 63, - "end": 74, + "start": 108, + "end": 119, "loc": { "start": { - "line": 3, + "line": 4, "column": 19 }, "end": { - "line": 3, + "line": 4, "column": 30 } }, @@ -238,44 +342,44 @@ }, { "type": "VariableDeclaration", - "start": 77, - "end": 117, + "start": 122, + "end": 162, "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 83, - "end": 116, + "start": 128, + "end": 161, "loc": { "start": { - "line": 4, + "line": 5, "column": 6 }, "end": { - "line": 4, + "line": 5, "column": 39 } }, "id": { "type": "Identifier", - "start": 83, - "end": 89, + "start": 128, + "end": 134, "loc": { "start": { - "line": 4, + "line": 5, "column": 6 }, "end": { - "line": 4, + "line": 5, "column": 12 }, "identifierName": "logger" @@ -284,29 +388,29 @@ }, "init": { "type": "CallExpression", - "start": 92, - "end": 116, + "start": 137, + "end": 161, "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 39 } }, "callee": { "type": "Identifier", - "start": 92, - "end": 99, + "start": 137, + "end": 144, "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 22 }, "identifierName": "require" @@ -316,15 +420,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 100, - "end": 115, + "start": 145, + "end": 160, "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 38 } }, @@ -342,57 +446,57 @@ }, { "type": "ExpressionStatement", - "start": 119, - "end": 551, + "start": 164, + "end": 713, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 23, + "line": 29, "column": 3 } }, "expression": { "type": "CallExpression", - "start": 119, - "end": 550, + "start": 164, + "end": 712, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 23, + "line": 29, "column": 2 } }, "callee": { "type": "MemberExpression", - "start": 119, - "end": 129, + "start": 164, + "end": 174, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "object": { "type": "Identifier", - "start": 119, - "end": 126, + "start": 164, + "end": 171, "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 7 }, "identifierName": "process" @@ -401,15 +505,15 @@ }, "property": { "type": "Identifier", - "start": 127, - "end": 129, + "start": 172, + "end": 174, "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 10 }, "identifierName": "on" @@ -421,15 +525,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 130, - "end": 139, + "start": 175, + "end": 184, "loc": { "start": { - "line": 6, + "line": 7, "column": 11 }, "end": { - "line": 6, + "line": 7, "column": 20 } }, @@ -441,15 +545,15 @@ }, { "type": "ArrowFunctionExpression", - "start": 141, - "end": 549, + "start": 186, + "end": 711, "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 23, + "line": 29, "column": 1 } }, @@ -460,15 +564,15 @@ "params": [ { "type": "Identifier", - "start": 141, - "end": 148, + "start": 186, + "end": 193, "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 6, + "line": 7, "column": 29 }, "identifierName": "message" @@ -478,59 +582,59 @@ ], "body": { "type": "BlockStatement", - "start": 152, - "end": 549, + "start": 197, + "end": 711, "loc": { "start": { - "line": 6, + "line": 7, "column": 33 }, "end": { - "line": 23, + "line": 29, "column": 1 } }, "body": [ { "type": "VariableDeclaration", - "start": 156, - "end": 186, + "start": 201, + "end": 231, "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 162, - "end": 185, + "start": 207, + "end": 230, "loc": { "start": { - "line": 7, + "line": 8, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 31 } }, "id": { "type": "Identifier", - "start": 162, - "end": 168, + "start": 207, + "end": 213, "loc": { "start": { - "line": 7, + "line": 8, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 14 }, "identifierName": "config" @@ -539,29 +643,29 @@ }, "init": { "type": "MemberExpression", - "start": 171, - "end": 185, + "start": 216, + "end": 230, "loc": { "start": { - "line": 7, + "line": 8, "column": 17 }, "end": { - "line": 7, + "line": 8, "column": 31 } }, "object": { "type": "Identifier", - "start": 171, - "end": 178, + "start": 216, + "end": 223, "loc": { "start": { - "line": 7, + "line": 8, "column": 17 }, "end": { - "line": 7, + "line": 8, "column": 24 }, "identifierName": "message" @@ -570,15 +674,15 @@ }, "property": { "type": "Identifier", - "start": 179, - "end": 185, + "start": 224, + "end": 230, "loc": { "start": { - "line": 7, + "line": 8, "column": 25 }, "end": { - "line": 7, + "line": 8, "column": 31 }, "identifierName": "config" @@ -593,44 +697,44 @@ }, { "type": "VariableDeclaration", - "start": 189, - "end": 215, + "start": 234, + "end": 260, "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", - "start": 195, - "end": 214, + "start": 240, + "end": 259, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 27 } }, "id": { "type": "Identifier", - "start": 195, - "end": 199, + "start": 240, + "end": 244, "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 12 }, "identifierName": "task" @@ -639,29 +743,29 @@ }, "init": { "type": "MemberExpression", - "start": 202, - "end": 214, + "start": 247, + "end": 259, "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 27 } }, "object": { "type": "Identifier", - "start": 202, - "end": 209, + "start": 247, + "end": 254, "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 22 }, "identifierName": "message" @@ -670,15 +774,15 @@ }, "property": { "type": "Identifier", - "start": 210, - "end": 214, + "start": 255, + "end": 259, "loc": { "start": { - "line": 8, + "line": 9, "column": 23 }, "end": { - "line": 8, + "line": 9, "column": 27 }, "identifierName": "task" @@ -693,29 +797,29 @@ }, { "type": "SwitchStatement", - "start": 218, - "end": 547, + "start": 263, + "end": 709, "loc": { "start": { - "line": 9, + "line": 10, "column": 2 }, "end": { - "line": 22, + "line": 28, "column": 3 } }, "discriminant": { "type": "Identifier", - "start": 226, - "end": 230, + "start": 271, + "end": 275, "loc": { "start": { - "line": 9, + "line": 10, "column": 10 }, "end": { - "line": 9, + "line": 10, "column": 14 }, "identifierName": "task" @@ -725,319 +829,676 @@ "cases": [ { "type": "SwitchCase", - "start": 238, - "end": 347, + "start": 283, + "end": 532, "loc": { "start": { - "line": 10, + "line": 11, "column": 4 }, "end": { - "line": 14, + "line": 21, "column": 12 } }, "consequent": [ { - "type": "ExpressionStatement", - "start": 258, - "end": 334, + "type": "IfStatement", + "start": 303, + "end": 519, "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 13, - "column": 9 + "line": 20, + "column": 7 } }, - "expression": { - "type": "CallExpression", - "start": 258, - "end": 333, + "test": { + "type": "MemberExpression", + "start": 307, + "end": 323, "loc": { "start": { - "line": 11, - "column": 6 + "line": 12, + "column": 10 }, "end": { - "line": 13, - "column": 8 + "line": 12, + "column": 26 } }, - "callee": { - "type": "MemberExpression", - "start": 258, - "end": 284, + "object": { + "type": "Identifier", + "start": 307, + "end": 313, "loc": { "start": { - "line": 11, - "column": 6 + "line": 12, + "column": 10 }, "end": { - "line": 11, - "column": 32 - } + "line": 12, + "column": 16 + }, + "identifierName": "config" }, - "object": { - "type": "CallExpression", - "start": 258, - "end": 279, + "name": "config" + }, + "property": { + "type": "Identifier", + "start": 314, + "end": 323, + "loc": { + "start": { + "line": 12, + "column": 17 + }, + "end": { + "line": 12, + "column": 26 + }, + "identifierName": "fragments" + }, + "name": "fragments" + }, + "computed": false + }, + "consequent": { + "type": "BlockStatement", + "start": 325, + "end": 415, + "loc": { + "start": { + "line": 12, + "column": 28 + }, + "end": { + "line": 16, + "column": 7 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 335, + "end": 407, "loc": { "start": { - "line": 11, - "column": 6 + "line": 13, + "column": 8 }, "end": { - "line": 11, - "column": 27 + "line": 15, + "column": 11 } }, - "callee": { - "type": "MemberExpression", - "start": 258, - "end": 271, + "expression": { + "type": "CallExpression", + "start": 335, + "end": 406, "loc": { "start": { - "line": 11, - "column": 6 + "line": 13, + "column": 8 }, "end": { - "line": 11, - "column": 19 + "line": 15, + "column": 10 } }, - "object": { - "type": "Identifier", - "start": 258, - "end": 265, + "callee": { + "type": "MemberExpression", + "start": 335, + "end": 353, "loc": { "start": { - "line": 11, - "column": 6 + "line": 13, + "column": 8 }, "end": { - "line": 11, - "column": 13 - }, - "identifierName": "builder" + "line": 13, + "column": 26 + } }, - "name": "builder" - }, - "property": { - "type": "Identifier", - "start": 266, - "end": 271, - "loc": { - "start": { - "line": 11, - "column": 14 + "object": { + "type": "CallExpression", + "start": 335, + "end": 348, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 21 + } }, - "end": { - "line": 11, - "column": 19 + "callee": { + "type": "Identifier", + "start": 335, + "end": 340, + "loc": { + "start": { + "line": 13, + "column": 8 + }, + "end": { + "line": 13, + "column": 13 + }, + "identifierName": "webup" + }, + "name": "webup" }, - "identifierName": "build" + "arguments": [ + { + "type": "Identifier", + "start": 341, + "end": 347, + "loc": { + "start": { + "line": 13, + "column": 14 + }, + "end": { + "line": 13, + "column": 20 + }, + "identifierName": "config" + }, + "name": "config" + } + ] }, - "name": "build" - }, - "computed": false - }, - "arguments": [ - { - "type": "Identifier", - "start": 272, - "end": 278, - "loc": { - "start": { - "line": 11, - "column": 20 - }, - "end": { - "line": 11, - "column": 26 + "property": { + "type": "Identifier", + "start": 349, + "end": 353, + "loc": { + "start": { + "line": 13, + "column": 22 + }, + "end": { + "line": 13, + "column": 26 + }, + "identifierName": "then" }, - "identifierName": "config" + "name": "then" }, - "name": "config" - } - ] - }, - "property": { - "type": "Identifier", - "start": 280, - "end": 284, - "loc": { - "start": { - "line": 11, - "column": 28 - }, - "end": { - "line": 11, - "column": 32 + "computed": false }, - "identifierName": "then" - }, - "name": "then" + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 354, + "end": 405, + "loc": { + "start": { + "line": 13, + "column": 27 + }, + "end": { + "line": 15, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 360, + "end": 405, + "loc": { + "start": { + "line": 13, + "column": 33 + }, + "end": { + "line": 15, + "column": 9 + } + }, + "body": [ + { + "type": "ExpressionStatement", + "start": 372, + "end": 395, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 33 + } + }, + "expression": { + "type": "CallExpression", + "start": 372, + "end": 394, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 372, + "end": 384, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 372, + "end": 379, + "loc": { + "start": { + "line": 14, + "column": 10 + }, + "end": { + "line": 14, + "column": 17 + }, + "identifierName": "process" + }, + "name": "process" + }, + "property": { + "type": "Identifier", + "start": 380, + "end": 384, + "loc": { + "start": { + "line": 14, + "column": 18 + }, + "end": { + "line": 14, + "column": 22 + }, + "identifierName": "send" + }, + "name": "send" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 385, + "end": 393, + "loc": { + "start": { + "line": 14, + "column": 23 + }, + "end": { + "line": 14, + "column": 31 + } + }, + "extra": { + "rawValue": "reload", + "raw": "'reload'" + }, + "value": "reload" + } + ] + } + } + ], + "directives": [] + } + } + ] + } + } + ], + "directives": [] + }, + "alternate": { + "type": "BlockStatement", + "start": 421, + "end": 519, + "loc": { + "start": { + "line": 16, + "column": 13 }, - "computed": false + "end": { + "line": 20, + "column": 7 + } }, - "arguments": [ + "body": [ { - "type": "ArrowFunctionExpression", - "start": 285, - "end": 332, + "type": "ExpressionStatement", + "start": 431, + "end": 511, "loc": { "start": { - "line": 11, - "column": 33 + "line": 17, + "column": 8 }, "end": { - "line": 13, - "column": 7 + "line": 19, + "column": 11 } }, - "id": null, - "generator": false, - "expression": false, - "async": false, - "params": [], - "body": { - "type": "BlockStatement", - "start": 291, - "end": 332, + "expression": { + "type": "CallExpression", + "start": 431, + "end": 510, "loc": { "start": { - "line": 11, - "column": 39 + "line": 17, + "column": 8 }, "end": { - "line": 13, - "column": 7 + "line": 19, + "column": 10 } }, - "body": [ - { - "type": "ExpressionStatement", - "start": 301, - "end": 324, + "callee": { + "type": "MemberExpression", + "start": 431, + "end": 457, + "loc": { + "start": { + "line": 17, + "column": 8 + }, + "end": { + "line": 17, + "column": 34 + } + }, + "object": { + "type": "CallExpression", + "start": 431, + "end": 452, "loc": { "start": { - "line": 12, + "line": 17, "column": 8 }, "end": { - "line": 12, - "column": 31 + "line": 17, + "column": 29 } }, - "expression": { - "type": "CallExpression", - "start": 301, - "end": 323, + "callee": { + "type": "MemberExpression", + "start": 431, + "end": 444, "loc": { "start": { - "line": 12, + "line": 17, "column": 8 }, "end": { - "line": 12, - "column": 30 + "line": 17, + "column": 21 } }, - "callee": { - "type": "MemberExpression", - "start": 301, - "end": 313, + "object": { + "type": "Identifier", + "start": 431, + "end": 438, "loc": { "start": { - "line": 12, + "line": 17, "column": 8 }, "end": { - "line": 12, - "column": 20 - } + "line": 17, + "column": 15 + }, + "identifierName": "builder" }, - "object": { - "type": "Identifier", - "start": 301, - "end": 308, - "loc": { - "start": { - "line": 12, - "column": 8 - }, - "end": { - "line": 12, - "column": 15 - }, - "identifierName": "process" + "name": "builder" + }, + "property": { + "type": "Identifier", + "start": 439, + "end": 444, + "loc": { + "start": { + "line": 17, + "column": 16 }, - "name": "process" + "end": { + "line": 17, + "column": 21 + }, + "identifierName": "build" }, - "property": { - "type": "Identifier", - "start": 309, - "end": 313, - "loc": { - "start": { - "line": 12, - "column": 16 - }, - "end": { - "line": 12, - "column": 20 - }, - "identifierName": "send" + "name": "build" + }, + "computed": false + }, + "arguments": [ + { + "type": "Identifier", + "start": 445, + "end": 451, + "loc": { + "start": { + "line": 17, + "column": 22 }, - "name": "send" + "end": { + "line": 17, + "column": 28 + }, + "identifierName": "config" }, - "computed": false + "name": "config" + } + ] + }, + "property": { + "type": "Identifier", + "start": 453, + "end": 457, + "loc": { + "start": { + "line": 17, + "column": 30 }, - "arguments": [ + "end": { + "line": 17, + "column": 34 + }, + "identifierName": "then" + }, + "name": "then" + }, + "computed": false + }, + "arguments": [ + { + "type": "ArrowFunctionExpression", + "start": 458, + "end": 509, + "loc": { + "start": { + "line": 17, + "column": 35 + }, + "end": { + "line": 19, + "column": 9 + } + }, + "id": null, + "generator": false, + "expression": false, + "async": false, + "params": [], + "body": { + "type": "BlockStatement", + "start": 464, + "end": 509, + "loc": { + "start": { + "line": 17, + "column": 41 + }, + "end": { + "line": 19, + "column": 9 + } + }, + "body": [ { - "type": "StringLiteral", - "start": 314, - "end": 322, + "type": "ExpressionStatement", + "start": 476, + "end": 499, "loc": { "start": { - "line": 12, - "column": 21 + "line": 18, + "column": 10 }, "end": { - "line": 12, - "column": 29 + "line": 18, + "column": 33 } }, - "extra": { - "rawValue": "reload", - "raw": "'reload'" - }, - "value": "reload" + "expression": { + "type": "CallExpression", + "start": 476, + "end": 498, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 32 + } + }, + "callee": { + "type": "MemberExpression", + "start": 476, + "end": 488, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 22 + } + }, + "object": { + "type": "Identifier", + "start": 476, + "end": 483, + "loc": { + "start": { + "line": 18, + "column": 10 + }, + "end": { + "line": 18, + "column": 17 + }, + "identifierName": "process" + }, + "name": "process" + }, + "property": { + "type": "Identifier", + "start": 484, + "end": 488, + "loc": { + "start": { + "line": 18, + "column": 18 + }, + "end": { + "line": 18, + "column": 22 + }, + "identifierName": "send" + }, + "name": "send" + }, + "computed": false + }, + "arguments": [ + { + "type": "StringLiteral", + "start": 489, + "end": 497, + "loc": { + "start": { + "line": 18, + "column": 23 + }, + "end": { + "line": 18, + "column": 31 + } + }, + "extra": { + "rawValue": "reload", + "raw": "'reload'" + }, + "value": "reload" + } + ] + } } - ] + ], + "directives": [] } } - ], - "directives": [] + ] } } - ] + ], + "directives": [] } }, { "type": "BreakStatement", - "start": 341, - "end": 347, + "start": 526, + "end": 532, "loc": { "start": { - "line": 14, + "line": 21, "column": 6 }, "end": { - "line": 14, + "line": 21, "column": 12 } }, @@ -1046,15 +1507,15 @@ ], "test": { "type": "StringLiteral", - "start": 243, - "end": 250, + "start": 288, + "end": 295, "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, @@ -1067,136 +1528,100 @@ }, { "type": "SwitchCase", - "start": 352, - "end": 364, + "start": 537, + "end": 705, "loc": { "start": { - "line": 15, + "line": 22, "column": 4 }, "end": { - "line": 15, - "column": 16 - } - }, - "consequent": [], - "test": { - "type": "StringLiteral", - "start": 357, - "end": 363, - "loc": { - "start": { - "line": 15, - "column": 9 - }, - "end": { - "line": 15, - "column": 15 - } - }, - "extra": { - "rawValue": "copy", - "raw": "'copy'" - }, - "value": "copy" - } - }, - { - "type": "SwitchCase", - "start": 369, - "end": 543, - "loc": { - "start": { - "line": 16, - "column": 4 - }, - "end": { - "line": 21, - "column": 12 + "line": 27, + "column": 12 } }, "consequent": [ { "type": "ExpressionStatement", - "start": 391, - "end": 530, + "start": 556, + "end": 692, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 20, + "line": 26, "column": 9 } }, "expression": { "type": "CallExpression", - "start": 391, - "end": 529, + "start": 556, + "end": 691, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 20, + "line": 26, "column": 8 } }, "callee": { "type": "MemberExpression", - "start": 391, - "end": 426, + "start": 556, + "end": 588, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 17, - "column": 41 + "line": 23, + "column": 38 } }, "object": { "type": "CallExpression", - "start": 391, - "end": 421, + "start": 556, + "end": 583, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 17, - "column": 36 + "line": 23, + "column": 33 } }, "callee": { "type": "MemberExpression", - "start": 391, - "end": 405, + "start": 556, + "end": 570, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 17, + "line": 23, "column": 20 } }, "object": { "type": "Identifier", - "start": 391, - "end": 393, + "start": 556, + "end": 558, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 17, + "line": 23, "column": 8 }, "identifierName": "fs" @@ -1205,15 +1630,15 @@ }, "property": { "type": "Identifier", - "start": 394, - "end": 405, + "start": 559, + "end": 570, "loc": { "start": { - "line": 17, + "line": 23, "column": 9 }, "end": { - "line": 17, + "line": 23, "column": 20 }, "identifierName": "copySources" @@ -1225,29 +1650,29 @@ "arguments": [ { "type": "MemberExpression", - "start": 406, - "end": 420, + "start": 571, + "end": 582, "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, - "column": 35 + "line": 23, + "column": 32 } }, "object": { "type": "Identifier", - "start": 406, - "end": 412, + "start": 571, + "end": 577, "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 27 }, "identifierName": "config" @@ -1256,20 +1681,20 @@ }, "property": { "type": "Identifier", - "start": 413, - "end": 420, + "start": 578, + "end": 582, "loc": { "start": { - "line": 17, + "line": 23, "column": 28 }, "end": { - "line": 17, - "column": 35 + "line": 23, + "column": 32 }, - "identifierName": "sources" + "identifierName": "copy" }, - "name": "sources" + "name": "copy" }, "computed": false } @@ -1277,16 +1702,16 @@ }, "property": { "type": "Identifier", - "start": 422, - "end": 426, + "start": 584, + "end": 588, "loc": { "start": { - "line": 17, - "column": 37 + "line": 23, + "column": 34 }, "end": { - "line": 17, - "column": 41 + "line": 23, + "column": 38 }, "identifierName": "then" }, @@ -1297,15 +1722,15 @@ "arguments": [ { "type": "ArrowFunctionExpression", - "start": 427, - "end": 528, + "start": 589, + "end": 690, "loc": { "start": { - "line": 17, - "column": 42 + "line": 23, + "column": 39 }, "end": { - "line": 20, + "line": 26, "column": 7 } }, @@ -1316,72 +1741,72 @@ "params": [], "body": { "type": "BlockStatement", - "start": 433, - "end": 528, + "start": 595, + "end": 690, "loc": { "start": { - "line": 17, - "column": 48 + "line": 23, + "column": 45 }, "end": { - "line": 20, + "line": 26, "column": 7 } }, "body": [ { "type": "ExpressionStatement", - "start": 443, - "end": 490, + "start": 605, + "end": 652, "loc": { "start": { - "line": 18, + "line": 24, "column": 8 }, "end": { - "line": 18, + "line": 24, "column": 55 } }, "expression": { "type": "CallExpression", - "start": 443, - "end": 489, + "start": 605, + "end": 651, "loc": { "start": { - "line": 18, + "line": 24, "column": 8 }, "end": { - "line": 18, + "line": 24, "column": 54 } }, "callee": { "type": "MemberExpression", - "start": 443, - "end": 456, + "start": 605, + "end": 618, "loc": { "start": { - "line": 18, + "line": 24, "column": 8 }, "end": { - "line": 18, + "line": 24, "column": 21 } }, "object": { "type": "Identifier", - "start": 443, - "end": 449, + "start": 605, + "end": 611, "loc": { "start": { - "line": 18, + "line": 24, "column": 8 }, "end": { - "line": 18, + "line": 24, "column": 14 }, "identifierName": "logger" @@ -1390,15 +1815,15 @@ }, "property": { "type": "Identifier", - "start": 450, - "end": 456, + "start": 612, + "end": 618, "loc": { "start": { - "line": 18, + "line": 24, "column": 15 }, "end": { - "line": 18, + "line": 24, "column": 21 }, "identifierName": "succes" @@ -1410,44 +1835,44 @@ "arguments": [ { "type": "TemplateLiteral", - "start": 457, - "end": 488, + "start": 619, + "end": 650, "loc": { "start": { - "line": 18, + "line": 24, "column": 22 }, "end": { - "line": 18, + "line": 24, "column": 53 } }, "expressions": [ { "type": "MemberExpression", - "start": 460, - "end": 471, + "start": 622, + "end": 633, "loc": { "start": { - "line": 18, + "line": 24, "column": 25 }, "end": { - "line": 18, + "line": 24, "column": 36 } }, "object": { "type": "Identifier", - "start": 460, - "end": 466, + "start": 622, + "end": 628, "loc": { "start": { - "line": 18, + "line": 24, "column": 25 }, "end": { - "line": 18, + "line": 24, "column": 31 }, "identifierName": "config" @@ -1456,15 +1881,15 @@ }, "property": { "type": "Identifier", - "start": 467, - "end": 471, + "start": 629, + "end": 633, "loc": { "start": { - "line": 18, + "line": 24, "column": 32 }, "end": { - "line": 18, + "line": 24, "column": 36 }, "identifierName": "name" @@ -1477,15 +1902,15 @@ "quasis": [ { "type": "TemplateElement", - "start": 458, - "end": 458, + "start": 620, + "end": 620, "loc": { "start": { - "line": 18, + "line": 24, "column": 23 }, "end": { - "line": 18, + "line": 24, "column": 23 } }, @@ -1497,15 +1922,15 @@ }, { "type": "TemplateElement", - "start": 472, - "end": 487, + "start": 634, + "end": 649, "loc": { "start": { - "line": 18, + "line": 24, "column": 37 }, "end": { - "line": 18, + "line": 24, "column": 52 } }, @@ -1522,57 +1947,57 @@ }, { "type": "ExpressionStatement", - "start": 499, - "end": 520, + "start": 661, + "end": 682, "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, + "line": 25, "column": 29 } }, "expression": { "type": "CallExpression", - "start": 499, - "end": 519, + "start": 661, + "end": 681, "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, + "line": 25, "column": 28 } }, "callee": { "type": "MemberExpression", - "start": 499, - "end": 511, + "start": 661, + "end": 673, "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, + "line": 25, "column": 20 } }, "object": { "type": "Identifier", - "start": 499, - "end": 506, + "start": 661, + "end": 668, "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, + "line": 25, "column": 15 }, "identifierName": "process" @@ -1581,15 +2006,15 @@ }, "property": { "type": "Identifier", - "start": 507, - "end": 511, + "start": 669, + "end": 673, "loc": { "start": { - "line": 19, + "line": 25, "column": 16 }, "end": { - "line": 19, + "line": 25, "column": 20 }, "identifierName": "send" @@ -1601,15 +2026,15 @@ "arguments": [ { "type": "StringLiteral", - "start": 512, - "end": 518, + "start": 674, + "end": 680, "loc": { "start": { - "line": 19, + "line": 25, "column": 21 }, "end": { - "line": 19, + "line": 25, "column": 27 } }, @@ -1631,15 +2056,15 @@ }, { "type": "BreakStatement", - "start": 537, - "end": 543, + "start": 699, + "end": 705, "loc": { "start": { - "line": 21, + "line": 27, "column": 6 }, "end": { - "line": 21, + "line": 27, "column": 12 } }, @@ -1648,23 +2073,23 @@ ], "test": { "type": "StringLiteral", - "start": 374, - "end": 383, + "start": 542, + "end": 548, "loc": { "start": { - "line": 16, + "line": 22, "column": 9 }, "end": { - "line": 16, - "column": 18 + "line": 22, + "column": 15 } }, "extra": { - "rawValue": "sources", - "raw": "'sources'" + "rawValue": "copy", + "raw": "'copy'" }, - "value": "sources" + "value": "copy" } } ] @@ -1677,10 +2102,99 @@ } } ], - "directives": [] + "directives": [ + { + "type": "Directive", + "start": 0, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 13 + } + }, + "value": { + "type": "DirectiveLiteral", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + }, + "value": "use strict", + "extra": { + "raw": "'use strict'", + "rawValue": "use strict" + } + } + } + ] }, "comments": [], "tokens": [ + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "use strict", + "start": 0, + "end": 12, + "loc": { + "start": { + "line": 1, + "column": 0 + }, + "end": { + "line": 1, + "column": 12 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 12, + "end": 13, + "loc": { + "start": { + "line": 1, + "column": 12 + }, + "end": { + "line": 1, + "column": 13 + } + } + }, { "type": { "label": "const", @@ -1696,8 +2210,8 @@ "updateContext": null }, "value": "const", - "start": 1, - "end": 6, + "start": 14, + "end": 19, "loc": { "start": { "line": 2, @@ -1721,9 +2235,9 @@ "postfix": false, "binop": null }, - "value": "builder", - "start": 7, - "end": 14, + "value": "webup", + "start": 20, + "end": 25, "loc": { "start": { "line": 2, @@ -1731,7 +2245,7 @@ }, "end": { "line": 2, - "column": 13 + "column": 11 } } }, @@ -1749,16 +2263,16 @@ "updateContext": null }, "value": "=", - "start": 15, - "end": 16, + "start": 26, + "end": 27, "loc": { "start": { "line": 2, - "column": 14 + "column": 12 }, "end": { "line": 2, - "column": 15 + "column": 13 } } }, @@ -1775,23 +2289,1070 @@ "binop": null }, "value": "require", - "start": 17, - "end": 24, + "start": 28, + "end": 35, "loc": { "start": { "line": 2, - "column": 16 + "column": 14 }, "end": { "line": 2, - "column": 23 + "column": 21 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 35, + "end": 36, + "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": "webup", + "start": 36, + "end": 43, + "loc": { + "start": { + "line": 2, + "column": 22 + }, + "end": { + "line": 2, + "column": 29 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 43, + "end": 44, + "loc": { + "start": { + "line": 2, + "column": 29 + }, + "end": { + "line": 2, + "column": 30 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 44, + "end": 45, + "loc": { + "start": { + "line": 2, + "column": 30 + }, + "end": { + "line": 2, + "column": 31 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 46, + "end": 51, + "loc": { + "start": { + "line": 3, + "column": 0 + }, + "end": { + "line": 3, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "builder", + "start": 52, + "end": 59, + "loc": { + "start": { + "line": 3, + "column": 6 + }, + "end": { + "line": 3, + "column": 13 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 60, + "end": 61, + "loc": { + "start": { + "line": 3, + "column": 14 + }, + "end": { + "line": 3, + "column": 15 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 62, + "end": 69, + "loc": { + "start": { + "line": 3, + "column": 16 + }, + "end": { + "line": 3, + "column": 23 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 69, + "end": 70, + "loc": { + "start": { + "line": 3, + "column": 23 + }, + "end": { + "line": 3, + "column": 24 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "backed-builder", + "start": 70, + "end": 86, + "loc": { + "start": { + "line": 3, + "column": 24 + }, + "end": { + "line": 3, + "column": 40 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 86, + "end": 87, + "loc": { + "start": { + "line": 3, + "column": 40 + }, + "end": { + "line": 3, + "column": 41 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 87, + "end": 88, + "loc": { + "start": { + "line": 3, + "column": 41 + }, + "end": { + "line": 3, + "column": 42 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 89, + "end": 94, + "loc": { + "start": { + "line": 4, + "column": 0 + }, + "end": { + "line": 4, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "fs", + "start": 95, + "end": 97, + "loc": { + "start": { + "line": 4, + "column": 6 + }, + "end": { + "line": 4, + "column": 8 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 98, + "end": 99, + "loc": { + "start": { + "line": 4, + "column": 9 + }, + "end": { + "line": 4, + "column": 10 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 100, + "end": 107, + "loc": { + "start": { + "line": 4, + "column": 11 + }, + "end": { + "line": 4, + "column": 18 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 107, + "end": 108, + "loc": { + "start": { + "line": 4, + "column": 18 + }, + "end": { + "line": 4, + "column": 19 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "backed-fs", + "start": 108, + "end": 119, + "loc": { + "start": { + "line": 4, + "column": 19 + }, + "end": { + "line": 4, + "column": 30 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 119, + "end": 120, + "loc": { + "start": { + "line": 4, + "column": 30 + }, + "end": { + "line": 4, + "column": 31 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 120, + "end": 121, + "loc": { + "start": { + "line": 4, + "column": 31 + }, + "end": { + "line": 4, + "column": 32 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 122, + "end": 127, + "loc": { + "start": { + "line": 5, + "column": 0 + }, + "end": { + "line": 5, + "column": 5 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "logger", + "start": 128, + "end": 134, + "loc": { + "start": { + "line": 5, + "column": 6 + }, + "end": { + "line": 5, + "column": 12 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 135, + "end": 136, + "loc": { + "start": { + "line": 5, + "column": 13 + }, + "end": { + "line": 5, + "column": 14 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "require", + "start": 137, + "end": 144, + "loc": { + "start": { + "line": 5, + "column": 15 + }, + "end": { + "line": 5, + "column": 22 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 144, + "end": 145, + "loc": { + "start": { + "line": 5, + "column": 22 + }, + "end": { + "line": 5, + "column": 23 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "backed-logger", + "start": 145, + "end": 160, + "loc": { + "start": { + "line": 5, + "column": 23 + }, + "end": { + "line": 5, + "column": 38 + } + } + }, + { + "type": { + "label": ")", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 160, + "end": 161, + "loc": { + "start": { + "line": 5, + "column": 38 + }, + "end": { + "line": 5, + "column": 39 + } + } + }, + { + "type": { + "label": ";", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 161, + "end": 162, + "loc": { + "start": { + "line": 5, + "column": 39 + }, + "end": { + "line": 5, + "column": 40 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "process", + "start": 164, + "end": 171, + "loc": { + "start": { + "line": 7, + "column": 0 + }, + "end": { + "line": 7, + "column": 7 + } + } + }, + { + "type": { + "label": ".", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 171, + "end": 172, + "loc": { + "start": { + "line": 7, + "column": 7 + }, + "end": { + "line": 7, + "column": 8 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "on", + "start": 172, + "end": 174, + "loc": { + "start": { + "line": 7, + "column": 8 + }, + "end": { + "line": 7, + "column": 10 + } + } + }, + { + "type": { + "label": "(", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 174, + "end": 175, + "loc": { + "start": { + "line": 7, + "column": 10 + }, + "end": { + "line": 7, + "column": 11 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "message", + "start": 175, + "end": 184, + "loc": { + "start": { + "line": 7, + "column": 11 + }, + "end": { + "line": 7, + "column": 20 + } + } + }, + { + "type": { + "label": ",", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 184, + "end": 185, + "loc": { + "start": { + "line": 7, + "column": 20 + }, + "end": { + "line": 7, + "column": 21 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "message", + "start": 186, + "end": 193, + "loc": { + "start": { + "line": 7, + "column": 22 + }, + "end": { + "line": 7, + "column": 29 + } + } + }, + { + "type": { + "label": "=>", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "start": 194, + "end": 196, + "loc": { + "start": { + "line": 7, + "column": 30 + }, + "end": { + "line": 7, + "column": 32 + } + } + }, + { + "type": { + "label": "{", + "beforeExpr": true, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "start": 197, + "end": 198, + "loc": { + "start": { + "line": 7, + "column": 33 + }, + "end": { + "line": 7, + "column": 34 + } + } + }, + { + "type": { + "label": "const", + "keyword": "const", + "beforeExpr": false, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "const", + "start": 201, + "end": 206, + "loc": { + "start": { + "line": 8, + "column": 2 + }, + "end": { + "line": 8, + "column": 7 + } + } + }, + { + "type": { + "label": "name", + "beforeExpr": false, + "startsExpr": true, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null + }, + "value": "config", + "start": 207, + "end": 213, + "loc": { + "start": { + "line": 8, + "column": 8 + }, + "end": { + "line": 8, + "column": 14 + } + } + }, + { + "type": { + "label": "=", + "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": true, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "=", + "start": 214, + "end": 215, + "loc": { + "start": { + "line": 8, + "column": 15 + }, + "end": { + "line": 8, + "column": 16 } } }, { "type": { - "label": "(", - "beforeExpr": true, + "label": "name", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -1800,24 +3361,25 @@ "postfix": false, "binop": null }, - "start": 24, - "end": 25, + "value": "message", + "start": 216, + "end": 223, "loc": { "start": { - "line": 2, - "column": 23 + "line": 8, + "column": 17 }, "end": { - "line": 2, + "line": 8, "column": 24 } } }, { "type": { - "label": "string", + "label": ".", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1826,25 +3388,24 @@ "binop": null, "updateContext": null }, - "value": "backed-builder", - "start": 25, - "end": 41, + "start": 223, + "end": 224, "loc": { "start": { - "line": 2, + "line": 8, "column": 24 }, "end": { - "line": 2, - "column": 40 + "line": 8, + "column": 25 } } }, { "type": { - "label": ")", + "label": "name", "beforeExpr": false, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -1852,16 +3413,17 @@ "postfix": false, "binop": null }, - "start": 41, - "end": 42, + "value": "config", + "start": 224, + "end": 230, "loc": { "start": { - "line": 2, - "column": 40 + "line": 8, + "column": 25 }, "end": { - "line": 2, - "column": 41 + "line": 8, + "column": 31 } } }, @@ -1878,16 +3440,16 @@ "binop": null, "updateContext": null }, - "start": 42, - "end": 43, + "start": 230, + "end": 231, "loc": { "start": { - "line": 2, - "column": 41 + "line": 8, + "column": 31 }, "end": { - "line": 2, - "column": 42 + "line": 8, + "column": 32 } } }, @@ -1906,16 +3468,16 @@ "updateContext": null }, "value": "const", - "start": 44, - "end": 49, + "start": 234, + "end": 239, "loc": { "start": { - "line": 3, - "column": 0 + "line": 9, + "column": 2 }, "end": { - "line": 3, - "column": 5 + "line": 9, + "column": 7 } } }, @@ -1931,17 +3493,17 @@ "postfix": false, "binop": null }, - "value": "fs", - "start": 50, - "end": 52, + "value": "task", + "start": 240, + "end": 244, "loc": { "start": { - "line": 3, - "column": 6 + "line": 9, + "column": 8 }, "end": { - "line": 3, - "column": 8 + "line": 9, + "column": 12 } } }, @@ -1959,16 +3521,16 @@ "updateContext": null }, "value": "=", - "start": 53, - "end": 54, + "start": 245, + "end": 246, "loc": { "start": { - "line": 3, - "column": 9 + "line": 9, + "column": 13 }, "end": { - "line": 3, - "column": 10 + "line": 9, + "column": 14 } } }, @@ -1984,48 +3546,49 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 55, - "end": 62, + "value": "message", + "start": 247, + "end": 254, "loc": { "start": { - "line": 3, - "column": 11 + "line": 9, + "column": 15 }, "end": { - "line": 3, - "column": 18 + "line": 9, + "column": 22 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ".", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 62, - "end": 63, + "start": 254, + "end": 255, "loc": { "start": { - "line": 3, - "column": 18 + "line": 9, + "column": 22 }, "end": { - "line": 3, - "column": 19 + "line": 9, + "column": 23 } } }, { "type": { - "label": "string", + "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2033,52 +3596,53 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "backed-fs", - "start": 63, - "end": 74, + "value": "task", + "start": 255, + "end": 259, "loc": { "start": { - "line": 3, - "column": 19 + "line": 9, + "column": 23 }, "end": { - "line": 3, - "column": 30 + "line": 9, + "column": 27 } } }, { "type": { - "label": ")", - "beforeExpr": false, + "label": ";", + "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 74, - "end": 75, + "start": 259, + "end": 260, "loc": { "start": { - "line": 3, - "column": 30 + "line": 9, + "column": 27 }, "end": { - "line": 3, - "column": 31 + "line": 9, + "column": 28 } } }, { "type": { - "label": ";", - "beforeExpr": true, + "label": "switch", + "keyword": "switch", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, @@ -2088,44 +3652,42 @@ "binop": null, "updateContext": null }, - "start": 75, - "end": 76, + "value": "switch", + "start": 263, + "end": 269, "loc": { "start": { - "line": 3, - "column": 31 + "line": 10, + "column": 2 }, "end": { - "line": 3, - "column": 32 + "line": 10, + "column": 8 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 77, - "end": 82, + "start": 270, + "end": 271, "loc": { "start": { - "line": 4, - "column": 0 + "line": 10, + "column": 9 }, "end": { - "line": 4, - "column": 5 + "line": 10, + "column": 10 } } }, @@ -2141,51 +3703,49 @@ "postfix": false, "binop": null }, - "value": "logger", - "start": 83, - "end": 89, + "value": "task", + "start": 271, + "end": 275, "loc": { "start": { - "line": 4, - "column": 6 + "line": 10, + "column": 10 }, "end": { - "line": 4, - "column": 12 + "line": 10, + "column": 14 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ")", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "=", - "start": 90, - "end": 91, + "start": 275, + "end": 276, "loc": { "start": { - "line": 4, - "column": 13 + "line": 10, + "column": 14 }, "end": { - "line": 4, - "column": 14 + "line": 10, + "column": 15 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2194,50 +3754,79 @@ "postfix": false, "binop": null }, - "value": "require", - "start": 92, - "end": 99, + "start": 277, + "end": 278, "loc": { "start": { - "line": 4, - "column": 15 + "line": 10, + "column": 16 }, "end": { - "line": 4, - "column": 22 + "line": 10, + "column": 17 } } }, { "type": { - "label": "(", + "label": "case", + "keyword": "case", "beforeExpr": true, + "startsExpr": false, + "rightAssociative": false, + "isLoop": false, + "isAssign": false, + "prefix": false, + "postfix": false, + "binop": null, + "updateContext": null + }, + "value": "case", + "start": 283, + "end": 287, + "loc": { + "start": { + "line": 11, + "column": 4 + }, + "end": { + "line": 11, + "column": 8 + } + } + }, + { + "type": { + "label": "string", + "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 99, - "end": 100, + "value": "build", + "start": 288, + "end": 295, "loc": { "start": { - "line": 4, - "column": 22 + "line": 11, + "column": 9 }, "end": { - "line": 4, - "column": 23 + "line": 11, + "column": 16 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": ":", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2246,23 +3835,23 @@ "binop": null, "updateContext": null }, - "value": "backed-logger", - "start": 100, - "end": 115, + "start": 295, + "end": 296, "loc": { "start": { - "line": 4, - "column": 23 + "line": 11, + "column": 16 }, "end": { - "line": 4, - "column": 38 + "line": 11, + "column": 17 } } }, { "type": { - "label": ")", + "label": "if", + "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2270,44 +3859,45 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 115, - "end": 116, + "value": "if", + "start": 303, + "end": 305, "loc": { "start": { - "line": 4, - "column": 38 + "line": 12, + "column": 6 }, "end": { - "line": 4, - "column": 39 + "line": 12, + "column": 8 } } }, { "type": { - "label": ";", + "label": "(", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 116, - "end": 117, + "start": 306, + "end": 307, "loc": { "start": { - "line": 4, - "column": 39 + "line": 12, + "column": 9 }, "end": { - "line": 4, - "column": 40 + "line": 12, + "column": 10 } } }, @@ -2323,17 +3913,17 @@ "postfix": false, "binop": null }, - "value": "process", - "start": 119, - "end": 126, + "value": "config", + "start": 307, + "end": 313, "loc": { "start": { - "line": 6, - "column": 0 + "line": 12, + "column": 10 }, "end": { - "line": 6, - "column": 7 + "line": 12, + "column": 16 } } }, @@ -2350,16 +3940,16 @@ "binop": null, "updateContext": null }, - "start": 126, - "end": 127, + "start": 313, + "end": 314, "loc": { "start": { - "line": 6, - "column": 7 + "line": 12, + "column": 16 }, "end": { - "line": 6, - "column": 8 + "line": 12, + "column": 17 } } }, @@ -2375,25 +3965,25 @@ "postfix": false, "binop": null }, - "value": "on", - "start": 127, - "end": 129, + "value": "fragments", + "start": 314, + "end": 323, "loc": { "start": { - "line": 6, - "column": 8 + "line": 12, + "column": 17 }, "end": { - "line": 6, - "column": 10 + "line": 12, + "column": 26 } } }, { "type": { - "label": "(", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2401,76 +3991,74 @@ "postfix": false, "binop": null }, - "start": 129, - "end": 130, + "start": 323, + "end": 324, "loc": { "start": { - "line": 6, - "column": 10 + "line": 12, + "column": 26 }, "end": { - "line": 6, - "column": 11 + "line": 12, + "column": 27 } } }, { "type": { - "label": "string", - "beforeExpr": false, + "label": "{", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "message", - "start": 130, - "end": 139, + "start": 325, + "end": 326, "loc": { "start": { - "line": 6, - "column": 11 + "line": 12, + "column": 28 }, "end": { - "line": 6, - "column": 20 + "line": 12, + "column": 29 } } }, { "type": { - "label": ",", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 139, - "end": 140, + "value": "webup", + "start": 335, + "end": 340, "loc": { "start": { - "line": 6, - "column": 20 + "line": 13, + "column": 8 }, "end": { - "line": 6, - "column": 21 + "line": 13, + "column": 13 } } }, { "type": { - "label": "name", - "beforeExpr": false, + "label": "(", + "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2479,51 +4067,50 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 141, - "end": 148, + "start": 340, + "end": 341, "loc": { "start": { - "line": 6, - "column": 22 + "line": 13, + "column": 13 }, "end": { - "line": 6, - "column": 29 + "line": 13, + "column": 14 } } }, { "type": { - "label": "=>", - "beforeExpr": true, - "startsExpr": false, + "label": "name", + "beforeExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 149, - "end": 151, + "value": "config", + "start": 341, + "end": 347, "loc": { "start": { - "line": 6, - "column": 30 + "line": 13, + "column": 14 }, "end": { - "line": 6, - "column": 32 + "line": 13, + "column": 20 } } }, { "type": { - "label": "{", - "beforeExpr": true, - "startsExpr": true, + "label": ")", + "beforeExpr": false, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2531,23 +4118,22 @@ "postfix": false, "binop": null }, - "start": 152, - "end": 153, + "start": 347, + "end": 348, "loc": { "start": { - "line": 6, - "column": 33 + "line": 13, + "column": 20 }, "end": { - "line": 6, - "column": 34 + "line": 13, + "column": 21 } } }, { "type": { - "label": "const", - "keyword": "const", + "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2558,17 +4144,16 @@ "binop": null, "updateContext": null }, - "value": "const", - "start": 156, - "end": 161, + "start": 348, + "end": 349, "loc": { "start": { - "line": 7, - "column": 2 + "line": 13, + "column": 21 }, "end": { - "line": 7, - "column": 7 + "line": 13, + "column": 22 } } }, @@ -2584,51 +4169,24 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 162, - "end": 168, + "value": "then", + "start": 349, + "end": 353, "loc": { "start": { - "line": 7, - "column": 8 + "line": 13, + "column": 22 }, "end": { - "line": 7, - "column": 14 + "line": 13, + "column": 26 } } }, { "type": { - "label": "=", + "label": "(", "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": true, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "=", - "start": 169, - "end": 170, - "loc": { - "start": { - "line": 7, - "column": 15 - }, - "end": { - "line": 7, - "column": 16 - } - } - }, - { - "type": { - "label": "name", - "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, @@ -2637,51 +4195,49 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 171, - "end": 178, + "start": 353, + "end": 354, "loc": { "start": { - "line": 7, - "column": 17 + "line": 13, + "column": 26 }, "end": { - "line": 7, - "column": 24 + "line": 13, + "column": 27 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 178, - "end": 179, + "start": 354, + "end": 355, "loc": { "start": { - "line": 7, - "column": 24 + "line": 13, + "column": 27 }, "end": { - "line": 7, - "column": 25 + "line": 13, + "column": 28 } } }, { "type": { - "label": "name", + "label": ")", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2689,23 +4245,22 @@ "postfix": false, "binop": null }, - "value": "config", - "start": 179, - "end": 185, + "start": 355, + "end": 356, "loc": { "start": { - "line": 7, - "column": 25 + "line": 13, + "column": 28 }, "end": { - "line": 7, - "column": 31 + "line": 13, + "column": 29 } } }, { "type": { - "label": ";", + "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -2716,44 +4271,41 @@ "binop": null, "updateContext": null }, - "start": 185, - "end": 186, + "start": 357, + "end": 359, "loc": { "start": { - "line": 7, - "column": 31 + "line": 13, + "column": 30 }, "end": { - "line": 7, + "line": 13, "column": 32 } } }, { "type": { - "label": "const", - "keyword": "const", - "beforeExpr": false, - "startsExpr": false, + "label": "{", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "const", - "start": 189, - "end": 194, + "start": 360, + "end": 361, "loc": { "start": { - "line": 8, - "column": 2 + "line": 13, + "column": 33 }, "end": { - "line": 8, - "column": 7 + "line": 13, + "column": 34 } } }, @@ -2769,44 +4321,43 @@ "postfix": false, "binop": null }, - "value": "task", - "start": 195, - "end": 199, + "value": "process", + "start": 372, + "end": 379, "loc": { "start": { - "line": 8, - "column": 8 + "line": 14, + "column": 10 }, "end": { - "line": 8, - "column": 12 + "line": 14, + "column": 17 } } }, { "type": { - "label": "=", - "beforeExpr": true, + "label": ".", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, - "isAssign": true, + "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, - "value": "=", - "start": 200, - "end": 201, + "start": 379, + "end": 380, "loc": { "start": { - "line": 8, - "column": 13 + "line": 14, + "column": 17 }, "end": { - "line": 8, - "column": 14 + "line": 14, + "column": 18 } } }, @@ -2822,49 +4373,48 @@ "postfix": false, "binop": null }, - "value": "message", - "start": 202, - "end": 209, + "value": "send", + "start": 380, + "end": 384, "loc": { "start": { - "line": 8, - "column": 15 + "line": 14, + "column": 18 }, "end": { - "line": 8, + "line": 14, "column": 22 } } }, { "type": { - "label": ".", - "beforeExpr": false, - "startsExpr": false, + "label": "(", + "beforeExpr": true, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 209, - "end": 210, + "start": 384, + "end": 385, "loc": { "start": { - "line": 8, + "line": 14, "column": 22 }, "end": { - "line": 8, + "line": 14, "column": 23 } } }, { "type": { - "label": "name", + "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, @@ -2872,52 +4422,26 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null - }, - "value": "task", - "start": 210, - "end": 214, - "loc": { - "start": { - "line": 8, - "column": 23 - }, - "end": { - "line": 8, - "column": 27 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, "binop": null, "updateContext": null }, - "start": 214, - "end": 215, + "value": "reload", + "start": 385, + "end": 393, "loc": { "start": { - "line": 8, - "column": 27 + "line": 14, + "column": 23 }, "end": { - "line": 8, - "column": 28 + "line": 14, + "column": 31 } } }, { "type": { - "label": "switch", - "keyword": "switch", + "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -2925,53 +4449,52 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "switch", - "start": 218, - "end": 224, + "start": 393, + "end": 394, "loc": { "start": { - "line": 9, - "column": 2 + "line": 14, + "column": 31 }, "end": { - "line": 9, - "column": 8 + "line": 14, + "column": 32 } } }, { "type": { - "label": "(", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 225, - "end": 226, + "start": 394, + "end": 395, "loc": { "start": { - "line": 9, - "column": 9 + "line": 14, + "column": 32 }, "end": { - "line": 9, - "column": 10 + "line": 14, + "column": 33 } } }, { "type": { - "label": "name", + "label": "}", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -2979,17 +4502,16 @@ "postfix": false, "binop": null }, - "value": "task", - "start": 226, - "end": 230, + "start": 404, + "end": 405, "loc": { "start": { - "line": 9, - "column": 10 + "line": 15, + "column": 8 }, "end": { - "line": 9, - "column": 14 + "line": 15, + "column": 9 } } }, @@ -3005,77 +4527,76 @@ "postfix": false, "binop": null }, - "start": 230, - "end": 231, + "start": 405, + "end": 406, "loc": { "start": { - "line": 9, - "column": 14 + "line": 15, + "column": 9 }, "end": { - "line": 9, - "column": 15 + "line": 15, + "column": 10 } } }, { "type": { - "label": "{", + "label": ";", "beforeExpr": true, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null + "binop": null, + "updateContext": null }, - "start": 232, - "end": 233, + "start": 406, + "end": 407, "loc": { "start": { - "line": 9, - "column": 16 + "line": 15, + "column": 10 }, "end": { - "line": 9, - "column": 17 + "line": 15, + "column": 11 } } }, { "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, + "label": "}", + "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "case", - "start": 238, - "end": 242, + "start": 414, + "end": 415, "loc": { "start": { - "line": 10, - "column": 4 + "line": 16, + "column": 6 }, "end": { - "line": 10, - "column": 8 + "line": 16, + "column": 7 } } }, { "type": { - "label": "string", - "beforeExpr": false, - "startsExpr": true, + "label": "else", + "keyword": "else", + "beforeExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3084,43 +4605,42 @@ "binop": null, "updateContext": null }, - "value": "build", - "start": 243, - "end": 250, + "value": "else", + "start": 416, + "end": 420, "loc": { "start": { - "line": 10, - "column": 9 + "line": 16, + "column": 8 }, "end": { - "line": 10, - "column": 16 + "line": 16, + "column": 12 } } }, { "type": { - "label": ":", + "label": "{", "beforeExpr": true, - "startsExpr": false, + "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "start": 250, - "end": 251, + "start": 421, + "end": 422, "loc": { "start": { - "line": 10, - "column": 16 + "line": 16, + "column": 13 }, "end": { - "line": 10, - "column": 17 + "line": 16, + "column": 14 } } }, @@ -3137,16 +4657,16 @@ "binop": null }, "value": "builder", - "start": 258, - "end": 265, + "start": 431, + "end": 438, "loc": { "start": { - "line": 11, - "column": 6 + "line": 17, + "column": 8 }, "end": { - "line": 11, - "column": 13 + "line": 17, + "column": 15 } } }, @@ -3163,16 +4683,16 @@ "binop": null, "updateContext": null }, - "start": 265, - "end": 266, + "start": 438, + "end": 439, "loc": { "start": { - "line": 11, - "column": 13 + "line": 17, + "column": 15 }, "end": { - "line": 11, - "column": 14 + "line": 17, + "column": 16 } } }, @@ -3189,16 +4709,16 @@ "binop": null }, "value": "build", - "start": 266, - "end": 271, + "start": 439, + "end": 444, "loc": { "start": { - "line": 11, - "column": 14 + "line": 17, + "column": 16 }, "end": { - "line": 11, - "column": 19 + "line": 17, + "column": 21 } } }, @@ -3214,16 +4734,16 @@ "postfix": false, "binop": null }, - "start": 271, - "end": 272, + "start": 444, + "end": 445, "loc": { "start": { - "line": 11, - "column": 19 + "line": 17, + "column": 21 }, "end": { - "line": 11, - "column": 20 + "line": 17, + "column": 22 } } }, @@ -3240,16 +4760,16 @@ "binop": null }, "value": "config", - "start": 272, - "end": 278, + "start": 445, + "end": 451, "loc": { "start": { - "line": 11, - "column": 20 + "line": 17, + "column": 22 }, "end": { - "line": 11, - "column": 26 + "line": 17, + "column": 28 } } }, @@ -3265,16 +4785,16 @@ "postfix": false, "binop": null }, - "start": 278, - "end": 279, + "start": 451, + "end": 452, "loc": { "start": { - "line": 11, - "column": 26 + "line": 17, + "column": 28 }, "end": { - "line": 11, - "column": 27 + "line": 17, + "column": 29 } } }, @@ -3291,16 +4811,16 @@ "binop": null, "updateContext": null }, - "start": 279, - "end": 280, + "start": 452, + "end": 453, "loc": { "start": { - "line": 11, - "column": 27 + "line": 17, + "column": 29 }, "end": { - "line": 11, - "column": 28 + "line": 17, + "column": 30 } } }, @@ -3317,16 +4837,16 @@ "binop": null }, "value": "then", - "start": 280, - "end": 284, + "start": 453, + "end": 457, "loc": { "start": { - "line": 11, - "column": 28 + "line": 17, + "column": 30 }, "end": { - "line": 11, - "column": 32 + "line": 17, + "column": 34 } } }, @@ -3342,16 +4862,16 @@ "postfix": false, "binop": null }, - "start": 284, - "end": 285, + "start": 457, + "end": 458, "loc": { "start": { - "line": 11, - "column": 32 + "line": 17, + "column": 34 }, "end": { - "line": 11, - "column": 33 + "line": 17, + "column": 35 } } }, @@ -3367,16 +4887,16 @@ "postfix": false, "binop": null }, - "start": 285, - "end": 286, + "start": 458, + "end": 459, "loc": { "start": { - "line": 11, - "column": 33 + "line": 17, + "column": 35 }, "end": { - "line": 11, - "column": 34 + "line": 17, + "column": 36 } } }, @@ -3392,16 +4912,16 @@ "postfix": false, "binop": null }, - "start": 286, - "end": 287, + "start": 459, + "end": 460, "loc": { "start": { - "line": 11, - "column": 34 + "line": 17, + "column": 36 }, "end": { - "line": 11, - "column": 35 + "line": 17, + "column": 37 } } }, @@ -3418,16 +4938,16 @@ "binop": null, "updateContext": null }, - "start": 288, - "end": 290, + "start": 461, + "end": 463, "loc": { "start": { - "line": 11, - "column": 36 + "line": 17, + "column": 38 }, "end": { - "line": 11, - "column": 38 + "line": 17, + "column": 40 } } }, @@ -3443,16 +4963,16 @@ "postfix": false, "binop": null }, - "start": 291, - "end": 292, + "start": 464, + "end": 465, "loc": { "start": { - "line": 11, - "column": 39 + "line": 17, + "column": 41 }, "end": { - "line": 11, - "column": 40 + "line": 17, + "column": 42 } } }, @@ -3469,16 +4989,16 @@ "binop": null }, "value": "process", - "start": 301, - "end": 308, + "start": 476, + "end": 483, "loc": { "start": { - "line": 12, - "column": 8 + "line": 18, + "column": 10 }, "end": { - "line": 12, - "column": 15 + "line": 18, + "column": 17 } } }, @@ -3495,16 +5015,16 @@ "binop": null, "updateContext": null }, - "start": 308, - "end": 309, + "start": 483, + "end": 484, "loc": { "start": { - "line": 12, - "column": 15 + "line": 18, + "column": 17 }, "end": { - "line": 12, - "column": 16 + "line": 18, + "column": 18 } } }, @@ -3521,16 +5041,16 @@ "binop": null }, "value": "send", - "start": 309, - "end": 313, + "start": 484, + "end": 488, "loc": { "start": { - "line": 12, - "column": 16 + "line": 18, + "column": 18 }, "end": { - "line": 12, - "column": 20 + "line": 18, + "column": 22 } } }, @@ -3546,16 +5066,16 @@ "postfix": false, "binop": null }, - "start": 313, - "end": 314, + "start": 488, + "end": 489, "loc": { "start": { - "line": 12, - "column": 20 + "line": 18, + "column": 22 }, "end": { - "line": 12, - "column": 21 + "line": 18, + "column": 23 } } }, @@ -3573,16 +5093,16 @@ "updateContext": null }, "value": "reload", - "start": 314, - "end": 322, + "start": 489, + "end": 497, "loc": { "start": { - "line": 12, - "column": 21 + "line": 18, + "column": 23 }, "end": { - "line": 12, - "column": 29 + "line": 18, + "column": 31 } } }, @@ -3598,16 +5118,16 @@ "postfix": false, "binop": null }, - "start": 322, - "end": 323, + "start": 497, + "end": 498, "loc": { "start": { - "line": 12, - "column": 29 + "line": 18, + "column": 31 }, "end": { - "line": 12, - "column": 30 + "line": 18, + "column": 32 } } }, @@ -3624,16 +5144,16 @@ "binop": null, "updateContext": null }, - "start": 323, - "end": 324, + "start": 498, + "end": 499, "loc": { "start": { - "line": 12, - "column": 30 + "line": 18, + "column": 32 }, "end": { - "line": 12, - "column": 31 + "line": 18, + "column": 33 } } }, @@ -3649,16 +5169,16 @@ "postfix": false, "binop": null }, - "start": 331, - "end": 332, + "start": 508, + "end": 509, "loc": { "start": { - "line": 13, - "column": 6 + "line": 19, + "column": 8 }, "end": { - "line": 13, - "column": 7 + "line": 19, + "column": 9 } } }, @@ -3674,16 +5194,16 @@ "postfix": false, "binop": null }, - "start": 332, - "end": 333, + "start": 509, + "end": 510, "loc": { "start": { - "line": 13, - "column": 7 + "line": 19, + "column": 9 }, "end": { - "line": 13, - "column": 8 + "line": 19, + "column": 10 } } }, @@ -3700,23 +5220,22 @@ "binop": null, "updateContext": null }, - "start": 333, - "end": 334, + "start": 510, + "end": 511, "loc": { "start": { - "line": 13, - "column": 8 + "line": 19, + "column": 10 }, "end": { - "line": 13, - "column": 9 + "line": 19, + "column": 11 } } }, { "type": { - "label": "break", - "keyword": "break", + "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, @@ -3724,82 +5243,27 @@ "isAssign": false, "prefix": false, "postfix": false, - "binop": null, - "updateContext": null + "binop": null }, - "value": "break", - "start": 341, - "end": 346, + "start": 518, + "end": 519, "loc": { "start": { - "line": 14, + "line": 20, "column": 6 }, "end": { - "line": 14, - "column": 11 - } - } - }, - { - "type": { - "label": ";", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "start": 346, - "end": 347, - "loc": { - "start": { - "line": 14, - "column": 11 - }, - "end": { - "line": 14, - "column": 12 - } - } - }, - { - "type": { - "label": "case", - "keyword": "case", - "beforeExpr": true, - "startsExpr": false, - "rightAssociative": false, - "isLoop": false, - "isAssign": false, - "prefix": false, - "postfix": false, - "binop": null, - "updateContext": null - }, - "value": "case", - "start": 352, - "end": 356, - "loc": { - "start": { - "line": 15, - "column": 4 - }, - "end": { - "line": 15, - "column": 8 + "line": 20, + "column": 7 } } }, { "type": { - "label": "string", + "label": "break", + "keyword": "break", "beforeExpr": false, - "startsExpr": true, + "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, @@ -3807,24 +5271,24 @@ "postfix": false, "binop": null, "updateContext": null - }, - "value": "copy", - "start": 357, - "end": 363, + }, + "value": "break", + "start": 526, + "end": 531, "loc": { "start": { - "line": 15, - "column": 9 + "line": 21, + "column": 6 }, "end": { - "line": 15, - "column": 15 + "line": 21, + "column": 11 } } }, { "type": { - "label": ":", + "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, @@ -3835,16 +5299,16 @@ "binop": null, "updateContext": null }, - "start": 363, - "end": 364, + "start": 531, + "end": 532, "loc": { "start": { - "line": 15, - "column": 15 + "line": 21, + "column": 11 }, "end": { - "line": 15, - "column": 16 + "line": 21, + "column": 12 } } }, @@ -3863,15 +5327,15 @@ "updateContext": null }, "value": "case", - "start": 369, - "end": 373, + "start": 537, + "end": 541, "loc": { "start": { - "line": 16, + "line": 22, "column": 4 }, "end": { - "line": 16, + "line": 22, "column": 8 } } @@ -3889,17 +5353,17 @@ "binop": null, "updateContext": null }, - "value": "sources", - "start": 374, - "end": 383, + "value": "copy", + "start": 542, + "end": 548, "loc": { "start": { - "line": 16, + "line": 22, "column": 9 }, "end": { - "line": 16, - "column": 18 + "line": 22, + "column": 15 } } }, @@ -3916,16 +5380,16 @@ "binop": null, "updateContext": null }, - "start": 383, - "end": 384, + "start": 548, + "end": 549, "loc": { "start": { - "line": 16, - "column": 18 + "line": 22, + "column": 15 }, "end": { - "line": 16, - "column": 19 + "line": 22, + "column": 16 } } }, @@ -3942,15 +5406,15 @@ "binop": null }, "value": "fs", - "start": 391, - "end": 393, + "start": 556, + "end": 558, "loc": { "start": { - "line": 17, + "line": 23, "column": 6 }, "end": { - "line": 17, + "line": 23, "column": 8 } } @@ -3968,15 +5432,15 @@ "binop": null, "updateContext": null }, - "start": 393, - "end": 394, + "start": 558, + "end": 559, "loc": { "start": { - "line": 17, + "line": 23, "column": 8 }, "end": { - "line": 17, + "line": 23, "column": 9 } } @@ -3994,15 +5458,15 @@ "binop": null }, "value": "copySources", - "start": 394, - "end": 405, + "start": 559, + "end": 570, "loc": { "start": { - "line": 17, + "line": 23, "column": 9 }, "end": { - "line": 17, + "line": 23, "column": 20 } } @@ -4019,15 +5483,15 @@ "postfix": false, "binop": null }, - "start": 405, - "end": 406, + "start": 570, + "end": 571, "loc": { "start": { - "line": 17, + "line": 23, "column": 20 }, "end": { - "line": 17, + "line": 23, "column": 21 } } @@ -4045,15 +5509,15 @@ "binop": null }, "value": "config", - "start": 406, - "end": 412, + "start": 571, + "end": 577, "loc": { "start": { - "line": 17, + "line": 23, "column": 21 }, "end": { - "line": 17, + "line": 23, "column": 27 } } @@ -4071,15 +5535,15 @@ "binop": null, "updateContext": null }, - "start": 412, - "end": 413, + "start": 577, + "end": 578, "loc": { "start": { - "line": 17, + "line": 23, "column": 27 }, "end": { - "line": 17, + "line": 23, "column": 28 } } @@ -4096,17 +5560,17 @@ "postfix": false, "binop": null }, - "value": "sources", - "start": 413, - "end": 420, + "value": "copy", + "start": 578, + "end": 582, "loc": { "start": { - "line": 17, + "line": 23, "column": 28 }, "end": { - "line": 17, - "column": 35 + "line": 23, + "column": 32 } } }, @@ -4122,16 +5586,16 @@ "postfix": false, "binop": null }, - "start": 420, - "end": 421, + "start": 582, + "end": 583, "loc": { "start": { - "line": 17, - "column": 35 + "line": 23, + "column": 32 }, "end": { - "line": 17, - "column": 36 + "line": 23, + "column": 33 } } }, @@ -4148,16 +5612,16 @@ "binop": null, "updateContext": null }, - "start": 421, - "end": 422, + "start": 583, + "end": 584, "loc": { "start": { - "line": 17, - "column": 36 + "line": 23, + "column": 33 }, "end": { - "line": 17, - "column": 37 + "line": 23, + "column": 34 } } }, @@ -4174,16 +5638,16 @@ "binop": null }, "value": "then", - "start": 422, - "end": 426, + "start": 584, + "end": 588, "loc": { "start": { - "line": 17, - "column": 37 + "line": 23, + "column": 34 }, "end": { - "line": 17, - "column": 41 + "line": 23, + "column": 38 } } }, @@ -4199,16 +5663,16 @@ "postfix": false, "binop": null }, - "start": 426, - "end": 427, + "start": 588, + "end": 589, "loc": { "start": { - "line": 17, - "column": 41 + "line": 23, + "column": 38 }, "end": { - "line": 17, - "column": 42 + "line": 23, + "column": 39 } } }, @@ -4224,16 +5688,16 @@ "postfix": false, "binop": null }, - "start": 427, - "end": 428, + "start": 589, + "end": 590, "loc": { "start": { - "line": 17, - "column": 42 + "line": 23, + "column": 39 }, "end": { - "line": 17, - "column": 43 + "line": 23, + "column": 40 } } }, @@ -4249,16 +5713,16 @@ "postfix": false, "binop": null }, - "start": 428, - "end": 429, + "start": 590, + "end": 591, "loc": { "start": { - "line": 17, - "column": 43 + "line": 23, + "column": 40 }, "end": { - "line": 17, - "column": 44 + "line": 23, + "column": 41 } } }, @@ -4275,16 +5739,16 @@ "binop": null, "updateContext": null }, - "start": 430, - "end": 432, + "start": 592, + "end": 594, "loc": { "start": { - "line": 17, - "column": 45 + "line": 23, + "column": 42 }, "end": { - "line": 17, - "column": 47 + "line": 23, + "column": 44 } } }, @@ -4300,16 +5764,16 @@ "postfix": false, "binop": null }, - "start": 433, - "end": 434, + "start": 595, + "end": 596, "loc": { "start": { - "line": 17, - "column": 48 + "line": 23, + "column": 45 }, "end": { - "line": 17, - "column": 49 + "line": 23, + "column": 46 } } }, @@ -4326,15 +5790,15 @@ "binop": null }, "value": "logger", - "start": 443, - "end": 449, + "start": 605, + "end": 611, "loc": { "start": { - "line": 18, + "line": 24, "column": 8 }, "end": { - "line": 18, + "line": 24, "column": 14 } } @@ -4352,15 +5816,15 @@ "binop": null, "updateContext": null }, - "start": 449, - "end": 450, + "start": 611, + "end": 612, "loc": { "start": { - "line": 18, + "line": 24, "column": 14 }, "end": { - "line": 18, + "line": 24, "column": 15 } } @@ -4378,15 +5842,15 @@ "binop": null }, "value": "succes", - "start": 450, - "end": 456, + "start": 612, + "end": 618, "loc": { "start": { - "line": 18, + "line": 24, "column": 15 }, "end": { - "line": 18, + "line": 24, "column": 21 } } @@ -4403,15 +5867,15 @@ "postfix": false, "binop": null }, - "start": 456, - "end": 457, + "start": 618, + "end": 619, "loc": { "start": { - "line": 18, + "line": 24, "column": 21 }, "end": { - "line": 18, + "line": 24, "column": 22 } } @@ -4428,15 +5892,15 @@ "postfix": false, "binop": null }, - "start": 457, - "end": 458, + "start": 619, + "end": 620, "loc": { "start": { - "line": 18, + "line": 24, "column": 22 }, "end": { - "line": 18, + "line": 24, "column": 23 } } @@ -4455,15 +5919,15 @@ "updateContext": null }, "value": "", - "start": 458, - "end": 458, + "start": 620, + "end": 620, "loc": { "start": { - "line": 18, + "line": 24, "column": 23 }, "end": { - "line": 18, + "line": 24, "column": 23 } } @@ -4480,15 +5944,15 @@ "postfix": false, "binop": null }, - "start": 458, - "end": 460, + "start": 620, + "end": 622, "loc": { "start": { - "line": 18, + "line": 24, "column": 23 }, "end": { - "line": 18, + "line": 24, "column": 25 } } @@ -4506,15 +5970,15 @@ "binop": null }, "value": "config", - "start": 460, - "end": 466, + "start": 622, + "end": 628, "loc": { "start": { - "line": 18, + "line": 24, "column": 25 }, "end": { - "line": 18, + "line": 24, "column": 31 } } @@ -4532,15 +5996,15 @@ "binop": null, "updateContext": null }, - "start": 466, - "end": 467, + "start": 628, + "end": 629, "loc": { "start": { - "line": 18, + "line": 24, "column": 31 }, "end": { - "line": 18, + "line": 24, "column": 32 } } @@ -4558,15 +6022,15 @@ "binop": null }, "value": "name", - "start": 467, - "end": 471, + "start": 629, + "end": 633, "loc": { "start": { - "line": 18, + "line": 24, "column": 32 }, "end": { - "line": 18, + "line": 24, "column": 36 } } @@ -4583,15 +6047,15 @@ "postfix": false, "binop": null }, - "start": 471, - "end": 472, + "start": 633, + "end": 634, "loc": { "start": { - "line": 18, + "line": 24, "column": 36 }, "end": { - "line": 18, + "line": 24, "column": 37 } } @@ -4610,15 +6074,15 @@ "updateContext": null }, "value": "::copy finished", - "start": 472, - "end": 487, + "start": 634, + "end": 649, "loc": { "start": { - "line": 18, + "line": 24, "column": 37 }, "end": { - "line": 18, + "line": 24, "column": 52 } } @@ -4635,15 +6099,15 @@ "postfix": false, "binop": null }, - "start": 487, - "end": 488, + "start": 649, + "end": 650, "loc": { "start": { - "line": 18, + "line": 24, "column": 52 }, "end": { - "line": 18, + "line": 24, "column": 53 } } @@ -4660,15 +6124,15 @@ "postfix": false, "binop": null }, - "start": 488, - "end": 489, + "start": 650, + "end": 651, "loc": { "start": { - "line": 18, + "line": 24, "column": 53 }, "end": { - "line": 18, + "line": 24, "column": 54 } } @@ -4686,15 +6150,15 @@ "binop": null, "updateContext": null }, - "start": 489, - "end": 490, + "start": 651, + "end": 652, "loc": { "start": { - "line": 18, + "line": 24, "column": 54 }, "end": { - "line": 18, + "line": 24, "column": 55 } } @@ -4712,15 +6176,15 @@ "binop": null }, "value": "process", - "start": 499, - "end": 506, + "start": 661, + "end": 668, "loc": { "start": { - "line": 19, + "line": 25, "column": 8 }, "end": { - "line": 19, + "line": 25, "column": 15 } } @@ -4738,15 +6202,15 @@ "binop": null, "updateContext": null }, - "start": 506, - "end": 507, + "start": 668, + "end": 669, "loc": { "start": { - "line": 19, + "line": 25, "column": 15 }, "end": { - "line": 19, + "line": 25, "column": 16 } } @@ -4764,15 +6228,15 @@ "binop": null }, "value": "send", - "start": 507, - "end": 511, + "start": 669, + "end": 673, "loc": { "start": { - "line": 19, + "line": 25, "column": 16 }, "end": { - "line": 19, + "line": 25, "column": 20 } } @@ -4789,15 +6253,15 @@ "postfix": false, "binop": null }, - "start": 511, - "end": 512, + "start": 673, + "end": 674, "loc": { "start": { - "line": 19, + "line": 25, "column": 20 }, "end": { - "line": 19, + "line": 25, "column": 21 } } @@ -4816,15 +6280,15 @@ "updateContext": null }, "value": "done", - "start": 512, - "end": 518, + "start": 674, + "end": 680, "loc": { "start": { - "line": 19, + "line": 25, "column": 21 }, "end": { - "line": 19, + "line": 25, "column": 27 } } @@ -4841,15 +6305,15 @@ "postfix": false, "binop": null }, - "start": 518, - "end": 519, + "start": 680, + "end": 681, "loc": { "start": { - "line": 19, + "line": 25, "column": 27 }, "end": { - "line": 19, + "line": 25, "column": 28 } } @@ -4867,15 +6331,15 @@ "binop": null, "updateContext": null }, - "start": 519, - "end": 520, + "start": 681, + "end": 682, "loc": { "start": { - "line": 19, + "line": 25, "column": 28 }, "end": { - "line": 19, + "line": 25, "column": 29 } } @@ -4892,15 +6356,15 @@ "postfix": false, "binop": null }, - "start": 527, - "end": 528, + "start": 689, + "end": 690, "loc": { "start": { - "line": 20, + "line": 26, "column": 6 }, "end": { - "line": 20, + "line": 26, "column": 7 } } @@ -4917,15 +6381,15 @@ "postfix": false, "binop": null }, - "start": 528, - "end": 529, + "start": 690, + "end": 691, "loc": { "start": { - "line": 20, + "line": 26, "column": 7 }, "end": { - "line": 20, + "line": 26, "column": 8 } } @@ -4943,15 +6407,15 @@ "binop": null, "updateContext": null }, - "start": 529, - "end": 530, + "start": 691, + "end": 692, "loc": { "start": { - "line": 20, + "line": 26, "column": 8 }, "end": { - "line": 20, + "line": 26, "column": 9 } } @@ -4971,15 +6435,15 @@ "updateContext": null }, "value": "break", - "start": 537, - "end": 542, + "start": 699, + "end": 704, "loc": { "start": { - "line": 21, + "line": 27, "column": 6 }, "end": { - "line": 21, + "line": 27, "column": 11 } } @@ -4997,15 +6461,15 @@ "binop": null, "updateContext": null }, - "start": 542, - "end": 543, + "start": 704, + "end": 705, "loc": { "start": { - "line": 21, + "line": 27, "column": 11 }, "end": { - "line": 21, + "line": 27, "column": 12 } } @@ -5022,15 +6486,15 @@ "postfix": false, "binop": null }, - "start": 546, - "end": 547, + "start": 708, + "end": 709, "loc": { "start": { - "line": 22, + "line": 28, "column": 2 }, "end": { - "line": 22, + "line": 28, "column": 3 } } @@ -5047,15 +6511,15 @@ "postfix": false, "binop": null }, - "start": 548, - "end": 549, + "start": 710, + "end": 711, "loc": { "start": { - "line": 23, + "line": 29, "column": 0 }, "end": { - "line": 23, + "line": 29, "column": 1 } } @@ -5072,15 +6536,15 @@ "postfix": false, "binop": null }, - "start": 549, - "end": 550, + "start": 711, + "end": 712, "loc": { "start": { - "line": 23, + "line": 29, "column": 1 }, "end": { - "line": 23, + "line": 29, "column": 2 } } @@ -5098,15 +6562,15 @@ "binop": null, "updateContext": null }, - "start": 550, - "end": 551, + "start": 712, + "end": 713, "loc": { "start": { - "line": 23, + "line": 29, "column": 2 }, "end": { - "line": 23, + "line": 29, "column": 3 } } @@ -5124,15 +6588,15 @@ "binop": null, "updateContext": null }, - "start": 552, - "end": 552, + "start": 714, + "end": 714, "loc": { "start": { - "line": 24, + "line": 30, "column": 0 }, "end": { - "line": 24, + "line": 30, "column": 0 } } diff --git a/docs/badge.svg b/docs/badge.svg index 78bd2d9..8f516c4 100644 --- a/docs/badge.svg +++ b/docs/badge.svg @@ -5,13 +5,13 @@ - - + + document document - 37% - 37% + 51% + 51% diff --git a/docs/class/src/config.js~Config.html b/docs/class/src/config.js~Config.html index f1ee396..c4e9941 100644 --- a/docs/class/src/config.js~Config.html +++ b/docs/class/src/config.js~Config.html @@ -160,13 +160,14 @@

Config

- bundles: undefined[] + bundles: array: undefined[]

- +

Default bundles config

+
@@ -241,13 +242,14 @@

Config

- server: {"port": number, "entry": string, "demo": string, "docs": string, "bowerPath": string, "nodeModulesPath": string, "index": *} + server: object: {"port": number, "entry": string, "demo": string, "docs": string, "bowerPath": string, "nodeModulesPath": string, "index": *}

- +

Default server config

+
@@ -268,13 +270,14 @@

Config

- watch: undefined[] + watch: array: undefined[]

- +

Default watcher config

+
@@ -302,7 +305,7 @@

Config

- importBowerName(): string + defaultPlugins(plugins: array): *

@@ -329,7 +332,7 @@

Config

- importConfig(): object + importBowerName(): string

@@ -356,7 +359,7 @@

Config

- importPackageName(): string + importConfig(): object

@@ -383,15 +386,13 @@

Config

- require(path: string): object | array | function | class + importPackageName(): string

-

wrapper around cjs require -try's to read file from current working directory

-
+
@@ -412,13 +413,15 @@

Config

- setupPlugins(plugins: {}): * + require(path: string): object | array | function | class

- +

wrapper around cjs require +try's to read file from current working directory

+
@@ -560,25 +563,39 @@

- bundles: undefined[] + bundles: array: undefined[] - source + source

- +

Default bundles config

+
- +
+

Return:

+ + + + + + + +
array

[{src: src/${name}.js, dest: dist/${name}.js, format: 'es'}

+
+
+
+
@@ -689,25 +706,47 @@

- server: {"port": number, "entry": string, "demo": string, "docs": string, "bowerPath": string, "nodeModulesPath": string, "index": *} + server: object: {"port": number, "entry": string, "demo": string, "docs": string, "bowerPath": string, "nodeModulesPath": string, "index": *} - source + source

- +

Default server config

+
- +
+

Return:

+ + + + + + + +
object

{ + port: 3000, + entry: '/', + demo: 'demo', + docs: 'docs', + bowerPath: 'bower_components', + nodeModulesPath: 'node_modules', + index: null + }

+
+
+
+
@@ -732,25 +771,39 @@

- watch: undefined[] + watch: array: undefined[] - source + source

- +

Default watcher config

+
- +
+

Return:

+ + + + + + + +
array

[{task: 'build', src: ['./src'], options: {}}

+
+
+
+
@@ -771,18 +824,18 @@

Public Methods

-

+

public - importBowerName(): string + defaultPlugins(plugins: array): * - source + source

@@ -793,7 +846,23 @@

-
+
+

Params:

+ + + + + + + + + + + + + +
NameTypeAttributeDescription
pluginsarray
+
@@ -801,9 +870,8 @@

Return:

- - + +
string

name from 'bower.json'

-
*
@@ -827,18 +895,18 @@

Return:

-

+

public - importConfig(): object + importBowerName(): string - source + source

@@ -857,8 +925,8 @@

Return:

- - + @@ -883,18 +951,18 @@

Return:

-

+

public - importPackageName(): string + importConfig(): object - source + source

@@ -913,8 +981,8 @@

Return:

object

value of 'backed.json'

+
string

name from 'bower.json'

- - + @@ -939,48 +1007,29 @@

Return:

-

+

public - require(path: string): object | array | function | class + importPackageName(): string - source + source

-

wrapper around cjs require -try's to read file from current working directory

-
+ -
-

Params:

-
string

name from 'package.json'

+
object

value of 'backed.json'

- - - - - - - - - - - - -
NameTypeAttributeDescription
pathstring

path to file/module

-
-
+
@@ -988,8 +1037,8 @@

Return:

- - + @@ -1014,25 +1063,27 @@

Return:

-

+

public - setupPlugins(plugins: {}): * + require(path: string): object | array | function | class - source + source

- +

wrapper around cjs require +try's to read file from current working directory

+
@@ -1045,11 +1096,11 @@

Params:

- - - - + + + +
object | array | function | class

module or file

+
string

name from 'package.json'

plugins{}
  • optional
  • -
  • default: {}
pathstring

path to file/module

+
@@ -1061,8 +1112,9 @@

Return:

- - + +
*object | array | function | class

module or file

+
@@ -1097,7 +1149,7 @@

- source + source

diff --git a/docs/coverage.json b/docs/coverage.json index f0ee5e8..8669950 100644 --- a/docs/coverage.json +++ b/docs/coverage.json @@ -1,20 +1,16 @@ { - "coverage": "37.03%", + "coverage": "51.85%", "expectCount": 27, - "actualCount": 10, + "actualCount": 14, "files": { "src/config.js": { "expectCount": 14, - "actualCount": 6, + "actualCount": 10, "undocumentLines": [ 24, - 45, 23, 19, - 22, - 55, - 35, - 66 + 22 ] }, "src/server.js": { diff --git a/docs/dump.json b/docs/dump.json index 2d11b79..c9ea30f 100644 --- a/docs/dump.json +++ b/docs/dump.json @@ -3,7 +3,7 @@ "__docId__": 0, "kind": "file", "name": "src/backed.js", - "content": "'use strict';\nprocess.title = 'backed';\nconst commander = require('commander');\nconst {version} = require('./../package.json');\nconst fs = require('backed-fs');\n\nimport Config from './config.js';\nimport builder from './../node_modules/backed-builder/src/builder.js';\nimport server from './server.js';\nimport watcher from './watcher.js';\n\n\ncommander\n .version(version)\n .option('-w, --watch', 'watch for file changes & rebuild on change')\n .option('-b, --build', 'build your app/component')\n .option('-s, --serve', 'serve your app/component')\n .option('-c, --copy', 'copy files from your app/component src folder to it distribution folder')\n .option('-d, --debug', 'show all warnings')\n .parse(process.argv);\n\nlet watch = commander.watch;\nlet build = commander.build;\nlet copy = commander.build || commander.copy;\nlet serve = commander.serve;\nglobal.debug = commander.debug\n/**\n * @param {object} config {@link Config}\n */\nasync function * run(config) {\n if (build) {\n await builder.build(config);\n }\n\n if (copy) {\n await fs.copySources(config.sources);\n }\n\n if (watch) {\n watcher.on('reload', () => {\n server.reload();\n });\n await watcher.watch(config);\n }\n\n if (serve) {\n await server.serve(config.server);\n }\n}\n\nnew Config().then(config => {\n global.debug = commander.debug || config.debug;\n let it = run(config);\n it.next();\n});\n", + "content": "'use strict';\nprocess.title = 'backed';\nconst commander = require('commander');\nconst {version} = require('./../package.json');\nconst webup = require('webup');\nconst logger = require('backed-logger');\n\nimport Config from './config.js';\nimport tasks from './tasks.js';\n\ncommander\n .version(version)\n .option('-w, --watch', 'watch for file changes & rebuild on change')\n .option('-b, --build', 'build your app/component')\n .option('-s, --serve', 'serve your app/component')\n .option('-c, --copy', 'copy files from your app/component src folder to it distribution folder')\n .option('-d, --debug', 'show all warnings')\n .option('-v, --version', 'current version')\n .parse(process.argv);\n\nconst commands = {\n build: Boolean(commander.build),\n watch: Boolean(commander.watch),\n copy: Boolean(commander.build) || Boolean(commander.copy),\n serve: Boolean(commander.serve)\n};\n\nglobal.debug = commander.debug;\n\n/**\n * @param {object} config {@link Config}\n */\nnew Config().then(config => {\n async function run(config) {\n for (const task of Object.entries(commands)) {\n const name = task[0];\n const enabled = task[1];\n if (enabled) {\n try {\n const done = await tasks[name](config);\n } catch (e) {\n logger.warn(`task::function ${name} is undefined`);\n }\n }\n }\n process.exit(0);\n }\n run(config);\n});\n", "static": true, "longname": "src/backed.js", "access": null, @@ -65,10 +65,10 @@ { "__docId__": 3, "kind": "variable", - "name": "fs", + "name": "webup", "memberof": "src/backed.js", "static": true, - "longname": "src/backed.js~fs", + "longname": "src/backed.js~webup", "access": null, "export": false, "importPath": "backed-cli/src/backed.js", @@ -91,16 +91,16 @@ { "__docId__": 4, "kind": "variable", - "name": "watch", + "name": "logger", "memberof": "src/backed.js", "static": true, - "longname": "src/backed.js~watch", + "longname": "src/backed.js~logger", "access": null, "export": false, "importPath": "backed-cli/src/backed.js", "importStyle": null, "description": null, - "lineNumber": 22, + "lineNumber": 6, "undocument": true, "unknown": [ { @@ -117,16 +117,16 @@ { "__docId__": 5, "kind": "variable", - "name": "build", + "name": "commands", "memberof": "src/backed.js", "static": true, - "longname": "src/backed.js~build", + "longname": "src/backed.js~commands", "access": null, "export": false, "importPath": "backed-cli/src/backed.js", "importStyle": null, "description": null, - "lineNumber": 23, + "lineNumber": 21, "undocument": true, "unknown": [ { @@ -136,95 +136,15 @@ ], "type": { "types": [ - "*" + "{\"build\": *, \"watch\": *, \"copy\": *, \"serve\": *}" ] } }, { "__docId__": 6, - "kind": "variable", - "name": "copy", - "memberof": "src/backed.js", - "static": true, - "longname": "src/backed.js~copy", - "access": null, - "export": false, - "importPath": "backed-cli/src/backed.js", - "importStyle": null, - "description": null, - "lineNumber": 24, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 7, - "kind": "variable", - "name": "serve", - "memberof": "src/backed.js", - "static": true, - "longname": "src/backed.js~serve", - "access": null, - "export": false, - "importPath": "backed-cli/src/backed.js", - "importStyle": null, - "description": null, - "lineNumber": 25, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], - "type": { - "types": [ - "*" - ] - } - }, - { - "__docId__": 8, - "kind": "function", - "name": "run", - "memberof": "src/backed.js", - "generator": true, - "async": true, - "static": true, - "longname": "src/backed.js~run", - "access": null, - "export": false, - "importPath": "backed-cli/src/backed.js", - "importStyle": null, - "description": "", - "lineNumber": 30, - "params": [ - { - "nullable": null, - "types": [ - "object" - ], - "spread": false, - "optional": false, - "name": "config", - "description": "{@link Config}" - } - ] - }, - { - "__docId__": 9, "kind": "file", "name": "src/config.js", - "content": "'use strict';\nconst {readFileSync} = require('fs');\nconst path = require('path');\nconst {merge} = require('lodash');\nconst logger = require('backed-logger');\n\n/**\n * @param {string} config.name name off your project\n * @param {string} config.server.entry path to where your build is located\n * @param {string} config.server.entry path to where your build is located\n * @param {string} config.server.docs path to where your docs are located\n * @param {string} config.server.bowerPath path to bower_components\n * @param {string} config.server.nodeModulesPath path to node_modules\n * @param {string} config.server.demo path to the demo\n * @param {string} config.server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} config.server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n */\nexport default class Config {\n constructor() {\n return new Promise((resolve, reject) => {\n this.importConfig().then(config => {\n this.name = config.name;\n this.cleanup = config.cleanup || true;\n this.babel = config.babel || true;\n if (config.bundles) {\n for (let bundle of config.bundles) {\n bundle.plugins = this.setupPlugins(bundle.plugins);\n }\n }\n resolve(this.updateConfig(config));\n });\n });\n }\n\n setupPlugins(plugins={}) {\n const defaults = ['babel', 'cleanup'];\n for (let key of defaults) {\n if (this[key] && !plugins[key]) {\n plugins[key] = {};\n }\n }\n return plugins;\n }\n\n get bundles() {\n return [\n {\n src: `src/${this.name}.js`,\n dest: `dist/${this.name}.js`,\n format: 'es'\n }\n ]\n }\n\n get server() {\n return {\n port: 3000,\n entry: '/',\n demo: 'demo',\n docs: 'docs',\n bowerPath: 'bower_components',\n nodeModulesPath: 'node_modules',\n index: null};\n }\n\n get watch() {\n return [{\n task: 'build',\n src: ['./src'],\n options: {}\n }];\n }\n\n /**\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n */\n require(path) {\n return new Promise((resolve, reject) => {\n let root = process.cwd();\n root += `/${path}`;\n try {\n let required = require(root);\n resolve(required);\n } catch (error) {\n reject(error);\n }\n });\n }\n\n /**\n * @return {object} value of 'backed.json'\n */\n importConfig() {\n return new Promise((resolve, reject) => {\n async function * generator(fn) {\n const pkg = await fn('package.json').catch(error => {\n if (global.debug) {\n logger.error(error)\n }\n });\n const config = await fn('backed.json').catch(error => {\n if (global.debug) {\n logger.warn('backed.json::not found, ignore this when using backed in package.json')\n }\n });\n if (!config && !pkg) {\n logger.warn('No backed.json or backed section in package.json, using default options.');\n return resolve({name: process.cwd()});\n }\n if (config) {\n let name = config.name;\n if (!name && pkg && pkg.name && !pkg.backed) {\n return resolve(merge(config, {name: pkg.name}));\n } else if (!name && !pkg) {\n return resolve(merge(config, {name: process.cwd()}))\n }\n }\n if(pkg && pkg.backed) {\n return resolve(merge(pkg.backed, {name: pkg.name}));\n }\n }\n const it = generator(this.require);\n it.next();\n });\n }\n\n /**\n * @return {string} name from 'package.json'\n */\n importPackageName() {\n try {\n return JSON.parse(readFileSync(`${process.cwd()}/package.json`)).name;\n } catch (e) {\n if (global.debug) {\n logger.warn('no package.json found');\n }\n }\n return undefined;\n }\n\n /**\n * @return {string} name from 'bower.json'\n */\n importBowerName() {\n try {\n return JSON.parse(readFileSync(`${process.cwd()}/bower.json`)).name;\n } catch (e) {\n if (global.debug) {\n logger.warn('no bower.json found');\n }\n }\n return undefined;\n }\n\n /**\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n */\n updateConfig(config, name) {\n config.sourceMap = config.sourceMap || true;\n config.bundles = merge(this.bundles, config.bundles);\n config.server = merge(this.server, config.server);\n config.watch = merge(this.watch, config.watch);\n global.config = config;\n return config;\n }\n}\n", + "content": "'use strict';\nconst {readFileSync} = require('fs');\nconst path = require('path');\nconst {merge} = require('lodash');\nconst logger = require('backed-logger');\n\n/**\n * @param {string} config.name name off your project\n * @param {string} config.server.entry path to where your build is located\n * @param {string} config.server.entry path to where your build is located\n * @param {string} config.server.docs path to where your docs are located\n * @param {string} config.server.bowerPath path to bower_components\n * @param {string} config.server.nodeModulesPath path to node_modules\n * @param {string} config.server.demo path to the demo\n * @param {string} config.server.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} config.server.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n */\nexport default class Config {\n constructor() {\n return new Promise((resolve, reject) => {\n this.importConfig().then(config => {\n this.name = config.name;\n this.cleanup = config.cleanup || true;\n this.babel = config.babel || true;\n if (config.bundles) {\n for (let bundle of config.bundles) {\n bundle.plugins = this.defaultPlugins(bundle.plugins);\n }\n }\n return resolve(this.updateConfig(config));\n });\n });\n }\n\n /**\n * @param {array} plugins\n */\n defaultPlugins(plugins = {}) {\n const defaults = ['babel', 'cleanup'];\n for (let key of defaults) {\n if (this[key] && !plugins[key]) {\n plugins[key] = {};\n }\n }\n return plugins;\n }\n\n /**\n * Default bundles config\n *\n * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}\n */\n get bundles() {\n return [\n {\n src: `src/${this.name}.js`,\n dest: `dist/${this.name}.js`,\n format: 'es'\n }\n ];\n }\n\n /**\n * Default server config\n *\n * @return {object} {\n * port: 3000,\n * entry: '/',\n * demo: 'demo',\n * docs: 'docs',\n * bowerPath: 'bower_components',\n * nodeModulesPath: 'node_modules',\n * index: null\n * }\n */\n get server() {\n return {\n port: 3000,\n entry: '/',\n demo: 'demo',\n docs: 'docs',\n bowerPath: 'bower_components',\n nodeModulesPath: 'node_modules',\n index: null};\n }\n\n /**\n * Default watcher config\n *\n * @return {array} [{task: 'build', src: ['./src'], options: {}}\n */\n get watch() {\n return [{\n task: 'build',\n src: ['./src'],\n options: {}\n }];\n }\n\n /**\n * wrapper around cjs require\n * try's to read file from current working directory\n * @param {string} path path to file/module\n * @return {object|array|function|class} module or file\n */\n require(path) {\n return new Promise((resolve, reject) => {\n let root = process.cwd();\n root += `/${path}`;\n try {\n let required = require(root);\n resolve(required);\n } catch (error) {\n reject(error);\n }\n });\n }\n\n /**\n * @return {object} value of 'backed.json'\n */\n importConfig() {\n return new Promise((resolve, reject) => {\n async function generator(fn) {\n const pkg = await fn('package.json').catch(error => {\n if (global.debug) {\n logger.error(error);\n }\n });\n const config = await fn('backed.json').catch(error => {\n if (global.debug) {\n logger.warn('backed.json::not found, ignore this when using backed in package.json');\n }\n });\n if (!config && !pkg) {\n logger.warn('No backed.json or backed section in package.json, using default options.');\n return resolve({name: process.cwd()});\n }\n if (config) {\n let name = config.name;\n if (!name && pkg && pkg.name && !pkg.backed) {\n return resolve(merge(config, {name: pkg.name}));\n } else if (!name && !pkg) {\n return resolve(merge(config, {name: process.cwd()}));\n }\n }\n if (pkg && pkg.backed) {\n return resolve(merge(pkg.backed, {name: pkg.name}));\n }\n }\n generator(this.require);\n });\n }\n\n /**\n * @return {string} name from 'package.json'\n */\n importPackageName() {\n try {\n return JSON.parse(readFileSync(`${process.cwd()}/package.json`)).name;\n } catch (e) {\n if (global.debug) {\n logger.warn('no package.json found');\n }\n }\n return undefined;\n }\n\n /**\n * @return {string} name from 'bower.json'\n */\n importBowerName() {\n try {\n return JSON.parse(readFileSync(`${process.cwd()}/bower.json`)).name;\n } catch (e) {\n if (global.debug) {\n logger.warn('no bower.json found');\n }\n }\n return undefined;\n }\n\n /**\n * @param {object} config - the config to be updated\n * @param {string} name - the name of the element, component, etc\n *\n * @example\n * config.updateConfig({\n * bundles: [{\n * src: 'src',\n * dest: 'dist'\n * }]\n * });\n *\n * @todo create method for building atom app with atom-builder\n * @todo implement element, app & atom-app config\n * @todo handle sourceMap at bundle level\n */\n updateConfig(config, name) {\n config.sourceMap = config.sourceMap || true;\n if (config.entry && config.sources) {\n delete config.bundles;\n } else {\n config.bundles = merge(this.bundles, config.bundles);\n }\n config.server = merge(this.server, config.server);\n config.watch = merge(this.watch, config.watch);\n global.config = config;\n return config;\n }\n}\n", "static": true, "longname": "src/config.js", "access": null, @@ -232,7 +152,7 @@ "lineNumber": 1 }, { - "__docId__": 10, + "__docId__": 7, "kind": "variable", "name": "readFileSync", "memberof": "src/config.js", @@ -258,7 +178,7 @@ } }, { - "__docId__": 11, + "__docId__": 8, "kind": "variable", "name": "path", "memberof": "src/config.js", @@ -284,7 +204,7 @@ } }, { - "__docId__": 12, + "__docId__": 9, "kind": "variable", "name": "merge", "memberof": "src/config.js", @@ -310,7 +230,7 @@ } }, { - "__docId__": 13, + "__docId__": 10, "kind": "variable", "name": "logger", "memberof": "src/config.js", @@ -336,7 +256,7 @@ } }, { - "__docId__": 14, + "__docId__": 11, "kind": "class", "name": "Config", "memberof": "src/config.js", @@ -443,7 +363,7 @@ "interface": false }, { - "__docId__": 15, + "__docId__": 12, "kind": "constructor", "name": "constructor", "memberof": "src/config.js~Config", @@ -464,7 +384,7 @@ "params": [] }, { - "__docId__": 16, + "__docId__": 13, "kind": "member", "name": "name", "memberof": "src/config.js~Config", @@ -487,7 +407,7 @@ } }, { - "__docId__": 17, + "__docId__": 14, "kind": "member", "name": "cleanup", "memberof": "src/config.js~Config", @@ -510,7 +430,7 @@ } }, { - "__docId__": 18, + "__docId__": 15, "kind": "member", "name": "babel", "memberof": "src/config.js~Config", @@ -533,33 +453,27 @@ } }, { - "__docId__": 19, + "__docId__": 16, "kind": "method", - "name": "setupPlugins", + "name": "defaultPlugins", "memberof": "src/config.js~Config", "generator": false, "async": false, "static": false, - "longname": "src/config.js~Config#setupPlugins", + "longname": "src/config.js~Config#defaultPlugins", "access": null, - "description": null, - "lineNumber": 35, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], + "description": "", + "lineNumber": 38, "params": [ { - "name": "plugins", - "optional": true, + "nullable": null, "types": [ - "{}" + "array" ], - "defaultRaw": {}, - "defaultValue": "{}" + "spread": false, + "optional": false, + "name": "plugins", + "description": "" } ], "return": { @@ -569,7 +483,7 @@ } }, { - "__docId__": 20, + "__docId__": 17, "kind": "get", "name": "bundles", "memberof": "src/config.js~Config", @@ -578,15 +492,16 @@ "static": false, "longname": "src/config.js~Config#bundles", "access": null, - "description": null, - "lineNumber": 45, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], + "description": " Default bundles config", + "lineNumber": 53, + "return": { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "description": "[{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'}" + }, "type": { "types": [ "undefined[]" @@ -594,7 +509,7 @@ } }, { - "__docId__": 21, + "__docId__": 18, "kind": "get", "name": "server", "memberof": "src/config.js~Config", @@ -603,15 +518,16 @@ "static": false, "longname": "src/config.js~Config#server", "access": null, - "description": null, - "lineNumber": 55, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], + "description": " Default server config", + "lineNumber": 76, + "return": { + "nullable": null, + "types": [ + "object" + ], + "spread": false, + "description": "{\n port: 3000,\n entry: '/',\n demo: 'demo',\n docs: 'docs',\n bowerPath: 'bower_components',\n nodeModulesPath: 'node_modules',\n index: null\n }" + }, "type": { "types": [ "{\"port\": number, \"entry\": string, \"demo\": string, \"docs\": string, \"bowerPath\": string, \"nodeModulesPath\": string, \"index\": *}" @@ -619,7 +535,7 @@ } }, { - "__docId__": 22, + "__docId__": 19, "kind": "get", "name": "watch", "memberof": "src/config.js~Config", @@ -628,15 +544,16 @@ "static": false, "longname": "src/config.js~Config#watch", "access": null, - "description": null, - "lineNumber": 66, - "undocument": true, - "unknown": [ - { - "tagName": "@_undocument", - "tagValue": "" - } - ], + "description": " Default watcher config", + "lineNumber": 92, + "return": { + "nullable": null, + "types": [ + "array" + ], + "spread": false, + "description": "[{task: 'build', src: ['./src'], options: {}}" + }, "type": { "types": [ "undefined[]" @@ -644,7 +561,7 @@ } }, { - "__docId__": 23, + "__docId__": 20, "kind": "method", "name": "require", "memberof": "src/config.js~Config", @@ -654,7 +571,7 @@ "longname": "src/config.js~Config#require", "access": null, "description": "wrapper around cjs require\ntry's to read file from current working directory", - "lineNumber": 80, + "lineNumber": 106, "params": [ { "nullable": null, @@ -680,7 +597,7 @@ } }, { - "__docId__": 24, + "__docId__": 21, "kind": "method", "name": "importConfig", "memberof": "src/config.js~Config", @@ -690,7 +607,7 @@ "longname": "src/config.js~Config#importConfig", "access": null, "description": "", - "lineNumber": 96, + "lineNumber": 122, "params": [], "return": { "nullable": null, @@ -702,7 +619,7 @@ } }, { - "__docId__": 25, + "__docId__": 22, "kind": "method", "name": "importPackageName", "memberof": "src/config.js~Config", @@ -712,7 +629,7 @@ "longname": "src/config.js~Config#importPackageName", "access": null, "description": "", - "lineNumber": 133, + "lineNumber": 158, "params": [], "return": { "nullable": null, @@ -724,7 +641,7 @@ } }, { - "__docId__": 26, + "__docId__": 23, "kind": "method", "name": "importBowerName", "memberof": "src/config.js~Config", @@ -734,7 +651,7 @@ "longname": "src/config.js~Config#importBowerName", "access": null, "description": "", - "lineNumber": 147, + "lineNumber": 172, "params": [], "return": { "nullable": null, @@ -746,7 +663,7 @@ } }, { - "__docId__": 27, + "__docId__": 24, "kind": "method", "name": "updateConfig", "memberof": "src/config.js~Config", @@ -759,7 +676,7 @@ "examples": [ "config.updateConfig({\n bundles: [{\n src: 'src',\n dest: 'dist'\n }]\n});" ], - "lineNumber": 174, + "lineNumber": 199, "todo": [ "create method for building atom app with atom-builder", "implement element, app & atom-app config", @@ -794,7 +711,7 @@ } }, { - "__docId__": 28, + "__docId__": 25, "kind": "file", "name": "src/server.js", "content": "'use strict';\nconst express = require('express');\nconst http = require('http');\nconst reload = require('reload');\nconst glob = require('glob');\n\nconst app = express();\nconst server = http.createServer(app);\nconst reloadServer = reload(server, app);\nconst logger = require('backed-logger');\n\n/**\n * glob file path\n * @param {string} string\n */\nconst src = string => {\n return new Promise((resolve, reject) => {\n glob(string, (error, files) => {\n if (error) {\n reject(error);\n }\n if (files.length > 0) {\n resolve(files);\n }\n });\n });\n};\n\nclass Server {\n\n/**\n * @param {object} config - configuration\n * @param {string} config.entry path to where your build is located\n * @param {string} config.docs path to where your docs are located\n * @param {string} config.bowerPath path to bower_components\n * @param {string} config.nodeModulesPath path to node_modules\n * @param {string} config.demo path to the demo\n * @param {string} config.index path to your index.html file we serve a helper/docs index by default (not support for now)\n * @param {array} config.use static files to include [{path: some/path, static: some//path}] when static is undefined path will be used.\n */\n serve(config = {\n entry: '/',\n demo: 'demo',\n docs: 'docs',\n use: [{path: null, static: null}],\n bowerPath: 'bower_components',\n nodeModulesPath: 'node_modules',\n index: null}) {\n if (config) {\n this.handleOldOptions(config);\n if (config.use) {\n for (let use of config.use) {\n app.use(use.path, express.static(this.appLocation(use.static || use.path)));\n }\n }\n\n app.use('/', express.static(\n this.appLocation(config.entry)));\n\n app.use('/bower_components', express.static(\n this.appLocation(config.bowerPath, 'bower_components')));\n\n app.use('/node_modules', express.static(\n this.appLocation(config.nodeModulesPath, 'node_modules')));\n\n app.use('/demo/node_modules', express.static(\n this.appLocation(config.nodeModulesPath, 'node_modules')));\n\n app.use('/demo', express.static(\n this.appLocation(config.demo, 'demo')));\n\n app.use('/docs', express.static(\n this.appLocation(config.docs, 'docs')));\n\n app.use('/package.json', express.static(\n this.appLocation('package.json')\n ));\n\n // serve backed-cli documentation\n app.use('/backed-cli/docs', express.static(\n __dirname.replace('bin', 'docs')));\n\n // serve backed documentation\n app.use('/backed/docs', express.static(\n this.appLocation('node_modules/backed/docs')));\n\n // TODO: Add option to override index\n app.use('/', express.static(__dirname.replace('bin', 'node_modules\\\\backed-client\\\\dist')));\n\n // TODO: implement copyrighted by package author & package name if no file is found\n src(process.cwd() + '/license.*').then(files => {\n app.use('/license', express.static(files[0]));\n });\n\n server.listen(3000, error => {\n if (error) {\n return logger.warn(error);\n }\n logger.log(`${global.config.name}::serving app from http://localhost:${config.port}/${config.entry.replace('/', '')}`);\n });\n } else {\n return logger.warn(`${global.config.name}::server config not found [example](https://raw.githubusercontent.com/VandeurenGlenn/backed-cli/master/config/backed.json)`);\n }\n }\n\n /**\n * @param {string} path - location of the file\n * @param {string} alternate - returns when path is undefined\n * @param {string} disableAlternate - current working directory is ignored when true, defaults to false\n */\n appLocation(path, alternate, disableAlternate = false) {\n let root = process.cwd();\n if (!path && !disableAlternate) {\n path = alternate;\n } else if (!path && disableAlternate) {\n // when we disable alternate we return the value of alternate\n return alternate;\n }\n root += `\\\\${path}`;\n return root;\n }\n\n handleOldOptions(options) {\n if (options.path || options.elementLocation) {\n logger.warn(`${options.path ? 'server.path' : 'server.elementLocation'} is no longer supported, [visit](https://github.com/vandeurenglenn/backed-cli#serve) to learn more'`);\n } else if (options.bowerPath) {\n logger.warn('server.bowerPath::deprecated: removal planned @1.0.0+');\n }\n }\n\n reload() {\n reloadServer.reload();\n }\n}\nexport default new Server();\n", @@ -805,7 +722,7 @@ "lineNumber": 1 }, { - "__docId__": 29, + "__docId__": 26, "kind": "variable", "name": "express", "memberof": "src/server.js", @@ -831,7 +748,7 @@ } }, { - "__docId__": 30, + "__docId__": 27, "kind": "variable", "name": "http", "memberof": "src/server.js", @@ -857,7 +774,7 @@ } }, { - "__docId__": 31, + "__docId__": 28, "kind": "variable", "name": "reload", "memberof": "src/server.js", @@ -883,7 +800,7 @@ } }, { - "__docId__": 32, + "__docId__": 29, "kind": "variable", "name": "glob", "memberof": "src/server.js", @@ -909,7 +826,7 @@ } }, { - "__docId__": 33, + "__docId__": 30, "kind": "variable", "name": "app", "memberof": "src/server.js", @@ -935,7 +852,7 @@ } }, { - "__docId__": 34, + "__docId__": 31, "kind": "variable", "name": "server", "memberof": "src/server.js", @@ -961,7 +878,7 @@ } }, { - "__docId__": 35, + "__docId__": 32, "kind": "variable", "name": "reloadServer", "memberof": "src/server.js", @@ -987,7 +904,7 @@ } }, { - "__docId__": 36, + "__docId__": 33, "kind": "variable", "name": "logger", "memberof": "src/server.js", @@ -1013,7 +930,7 @@ } }, { - "__docId__": 37, + "__docId__": 34, "kind": "function", "name": "src", "memberof": "src/server.js", @@ -1046,7 +963,7 @@ } }, { - "__docId__": 38, + "__docId__": 35, "kind": "class", "name": "Server", "memberof": "src/server.js", @@ -1069,7 +986,7 @@ "interface": false }, { - "__docId__": 39, + "__docId__": 36, "kind": "method", "name": "serve", "memberof": "src/server.js~Server", @@ -1169,7 +1086,7 @@ } }, { - "__docId__": 40, + "__docId__": 37, "kind": "method", "name": "appLocation", "memberof": "src/server.js~Server", @@ -1219,17 +1136,230 @@ } }, { - "__docId__": 41, + "__docId__": 38, "kind": "method", "name": "handleOldOptions", "memberof": "src/server.js~Server", "generator": false, "async": false, - "static": false, - "longname": "src/server.js~Server#handleOldOptions", + "static": false, + "longname": "src/server.js~Server#handleOldOptions", + "access": null, + "description": null, + "lineNumber": 123, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ + { + "name": "options", + "types": [ + "*" + ] + } + ] + }, + { + "__docId__": 39, + "kind": "method", + "name": "reload", + "memberof": "src/server.js~Server", + "generator": false, + "async": false, + "static": false, + "longname": "src/server.js~Server#reload", + "access": null, + "description": null, + "lineNumber": 131, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [] + }, + { + "__docId__": 40, + "kind": "variable", + "name": "server", + "memberof": "src/server.js", + "static": true, + "longname": "src/server.js~server", + "access": null, + "export": true, + "importPath": "backed-cli/src/server.js", + "importStyle": "server", + "description": null, + "lineNumber": 135, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "src/server.js~Server" + ] + } + }, + { + "__docId__": 41, + "kind": "file", + "name": "src/tasks.js", + "content": "'use strict';\nconst fs = require('backed-fs');\nconst webup = require('webup');\nimport builder from './../node_modules/backed-builder/src/builder.js';\nimport server from './server.js';\nimport watcher from './watcher.js';\n\nconst build = config => {\n return new Promise((resolve, reject) => {\n if (config.entry && config.sources) {\n return webup(config).then(() => {\n return resolve();\n });\n }\n builder.build(config).then(() => resolve());\n });\n};\n\nconst copy = config => {\n return new Promise((resolve, reject) => {\n return fs.copySources(config.copy).then(() => {\n return resolve();\n });\n });\n};\n\nconst serve = config => {\n return server.serve(config.server);\n};\n\nconst watch = config => {\n watcher.on('reload', () => {\n server.reload();\n });\n return watcher.watch(config);\n};\n\nexport default {\n build,\n copy,\n serve,\n watch\n};\n", + "static": true, + "longname": "src/tasks.js", + "access": null, + "description": null, + "lineNumber": 1 + }, + { + "__docId__": 42, + "kind": "variable", + "name": "fs", + "memberof": "src/tasks.js", + "static": true, + "longname": "src/tasks.js~fs", + "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 43, + "kind": "variable", + "name": "webup", + "memberof": "src/tasks.js", + "static": true, + "longname": "src/tasks.js~webup", + "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, + "description": null, + "lineNumber": 3, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 44, + "kind": "function", + "name": "build", + "memberof": "src/tasks.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/tasks.js~build", + "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, + "description": null, + "lineNumber": 8, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ + { + "name": "config", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 45, + "kind": "function", + "name": "copy", + "memberof": "src/tasks.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/tasks.js~copy", + "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, + "description": null, + "lineNumber": 19, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "params": [ + { + "name": "config", + "types": [ + "*" + ] + } + ], + "return": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 46, + "kind": "function", + "name": "serve", + "memberof": "src/tasks.js", + "generator": false, + "async": false, + "static": true, + "longname": "src/tasks.js~serve", "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, "description": null, - "lineNumber": 123, + "lineNumber": 27, "undocument": true, "unknown": [ { @@ -1239,25 +1369,33 @@ ], "params": [ { - "name": "options", + "name": "config", "types": [ "*" ] } - ] + ], + "return": { + "types": [ + "*" + ] + } }, { - "__docId__": 42, - "kind": "method", - "name": "reload", - "memberof": "src/server.js~Server", + "__docId__": 47, + "kind": "function", + "name": "watch", + "memberof": "src/tasks.js", "generator": false, "async": false, - "static": false, - "longname": "src/server.js~Server#reload", + "static": true, + "longname": "src/tasks.js~watch", "access": null, + "export": false, + "importPath": "backed-cli/src/tasks.js", + "importStyle": null, "description": null, - "lineNumber": 131, + "lineNumber": 31, "undocument": true, "unknown": [ { @@ -1265,36 +1403,22 @@ "tagValue": "" } ], - "params": [] - }, - { - "__docId__": 43, - "kind": "variable", - "name": "server", - "memberof": "src/server.js", - "static": true, - "longname": "src/server.js~server", - "access": null, - "export": true, - "importPath": "backed-cli/src/server.js", - "importStyle": "server", - "description": null, - "lineNumber": 135, - "undocument": true, - "unknown": [ + "params": [ { - "tagName": "@_undocument", - "tagValue": "" + "name": "config", + "types": [ + "*" + ] } ], - "type": { + "return": { "types": [ - "src/server.js~Server" + "*" ] } }, { - "__docId__": 44, + "__docId__": 48, "kind": "file", "name": "src/watcher.js", "content": "'use strict';\nconst {fork} = require('child_process');\nconst chokidar = require('chokidar');\nconst path = require('path');\nconst EventEmitter = require('events');\nconst {readFileSync, writeFileSync} = require('fs');\n// const {merge} = require('lodash');\nconst logger = require('backed-logger');\nconst time = () => {\n return new Date().toLocaleTimeString();\n};\nlet worker;\n\n/**\n * @extends EventEmitter\n */\nclass Watcher extends EventEmitter {\n\n /**\n * @param {object} config {@link Config}\n */\n watch(config) {\n return new Promise((resolve, reject) => {\n if (!config.watch) {\n logger.warn('nothing to watch');\n reject('nothing to watch');\n return process.kill(process.pid, 'SIGINT');\n }\n this.server = config.server;\n this.configureDemo(this.server);\n\n logger.log(`[${time()}] ${logger._chalk('Starting initial build', 'cyan')}`);\n this.runWorker(config);\n\n logger.log(`[${time()}] ${logger._chalk('Watching files for changes', 'cyan')}`);\n\n let watchers = {};\n for (let watch of config.watch) {\n watchers[watch.task] = chokidar.watch(watch.src, watch.options);\n watchers[watch.task].on('change', () => {\n this.runWorker(watch.task, config);\n });\n }\n resolve();\n });\n }\n\n configureDemo(server) {\n logger.log(`[${time()}] ${logger._chalk('Configuring demo', 'cyan')}`);\n\n if (server) {\n let demoPath = path.join(process.cwd(), server.demo);\n\n if (!demoPath.includes('index.html')) {\n demoPath = path.join(demoPath, 'index.html');\n }\n let demo = readFileSync(demoPath, 'utf-8');\n if (!demo.includes('/reload/reload.js')) {\n demo = demo.replace('', '\\t\\n');\n writeFileSync(demoPath, demo);\n }\n }\n }\n\n runWorker(task, config) {\n if (this.busy) {\n worker.kill();\n this.busy = false;\n }\n this.busy = true;\n worker = fork(path.join(__dirname, 'workers/watcher-worker.js'));\n worker.on('message', message => {\n if (message === 'done') {\n this.configureDemo(this.server);\n message = 'reload';\n }\n logger.log(`[${time()}] ${logger._chalk('Reloading browser', 'cyan')}`);\n this.emit(message);\n worker.kill();\n this.busy = false;\n });\n worker.send({task: task, config: config});\n }\n\n // on(event, fn) {\n // this.on(event, fn);\n // }\n\n // this.watcher = chokidar.watch(config.watchers, config.options);\n // this.watcher.on('change', path => logger.log(`File ${path} has been changed`));\n}\nexport default new Watcher();\n", @@ -1305,7 +1429,7 @@ "lineNumber": 1 }, { - "__docId__": 45, + "__docId__": 49, "kind": "variable", "name": "fork", "memberof": "src/watcher.js", @@ -1331,7 +1455,7 @@ } }, { - "__docId__": 46, + "__docId__": 50, "kind": "variable", "name": "chokidar", "memberof": "src/watcher.js", @@ -1357,7 +1481,7 @@ } }, { - "__docId__": 47, + "__docId__": 51, "kind": "variable", "name": "path", "memberof": "src/watcher.js", @@ -1383,7 +1507,7 @@ } }, { - "__docId__": 48, + "__docId__": 52, "kind": "variable", "name": "EventEmitter", "memberof": "src/watcher.js", @@ -1409,7 +1533,7 @@ } }, { - "__docId__": 49, + "__docId__": 53, "kind": "variable", "name": "readFileSync", "memberof": "src/watcher.js", @@ -1435,7 +1559,7 @@ } }, { - "__docId__": 50, + "__docId__": 54, "kind": "variable", "name": "logger", "memberof": "src/watcher.js", @@ -1461,7 +1585,7 @@ } }, { - "__docId__": 51, + "__docId__": 55, "kind": "function", "name": "time", "memberof": "src/watcher.js", @@ -1490,7 +1614,7 @@ } }, { - "__docId__": 52, + "__docId__": 56, "kind": "class", "name": "Watcher", "memberof": "src/watcher.js", @@ -1509,7 +1633,7 @@ ] }, { - "__docId__": 53, + "__docId__": 57, "kind": "method", "name": "watch", "memberof": "src/watcher.js~Watcher", @@ -1539,7 +1663,7 @@ } }, { - "__docId__": 54, + "__docId__": 58, "kind": "member", "name": "server", "memberof": "src/watcher.js~Watcher", @@ -1562,7 +1686,7 @@ } }, { - "__docId__": 55, + "__docId__": 59, "kind": "method", "name": "configureDemo", "memberof": "src/watcher.js~Watcher", @@ -1590,7 +1714,7 @@ ] }, { - "__docId__": 56, + "__docId__": 60, "kind": "method", "name": "runWorker", "memberof": "src/watcher.js~Watcher", @@ -1624,7 +1748,7 @@ ] }, { - "__docId__": 57, + "__docId__": 61, "kind": "member", "name": "busy", "memberof": "src/watcher.js~Watcher", @@ -1647,7 +1771,7 @@ } }, { - "__docId__": 58, + "__docId__": 62, "kind": "member", "name": "busy", "memberof": "src/watcher.js~Watcher", @@ -1670,7 +1794,7 @@ } }, { - "__docId__": 59, + "__docId__": 63, "kind": "member", "name": "busy", "memberof": "src/watcher.js~Watcher", @@ -1693,7 +1817,7 @@ } }, { - "__docId__": 60, + "__docId__": 64, "kind": "variable", "name": "watcher", "memberof": "src/watcher.js", @@ -1719,7 +1843,7 @@ } }, { - "__docId__": 61, + "__docId__": 65, "kind": "file", "name": "src/workers/log-worker.js", "content": "'use strict';\nconst elegantSpinner = require('elegant-spinner');\nconst logUpdate = require('log-update');\nconst chalk = require('chalk');\nlet frame = elegantSpinner();\nlet text = 'Building';\nlet done = false;\nlet running = false;\nlet startTime;\n\nconst time = () => {\n return new Date().toLocaleTimeString();\n};\n\nconst now = () => {\n return Date.now();\n};\n\nlet interval = () => {\n setInterval(() => {\n if (running) {\n logUpdate(`[${time()}] ${text} ${frame()}`);\n if (done) {\n process.send('done');\n }\n }\n }, 50);\n};\nprocess.on('message', message => {\n if (message === 'start') {\n running = true;\n startTime = now();\n interval();\n } else if (message === 'pauze') {\n running = false;\n } else if (message === 'resume') {\n running = true;\n } else if (message.includes('finished')) {\n frame = () => {\n return '';\n };\n let period = now() - startTime;\n period /= 1000;\n text = `${message} after: ${chalk.magenta(period + ' sec')}`;\n } else if (message === 'done') {\n done = true;\n } else {\n text = message;\n }\n});\n", @@ -1730,7 +1854,7 @@ "lineNumber": 1 }, { - "__docId__": 62, + "__docId__": 66, "kind": "variable", "name": "elegantSpinner", "memberof": "src/workers/log-worker.js", @@ -1756,7 +1880,7 @@ } }, { - "__docId__": 63, + "__docId__": 67, "kind": "variable", "name": "logUpdate", "memberof": "src/workers/log-worker.js", @@ -1782,7 +1906,7 @@ } }, { - "__docId__": 64, + "__docId__": 68, "kind": "variable", "name": "chalk", "memberof": "src/workers/log-worker.js", @@ -1808,7 +1932,7 @@ } }, { - "__docId__": 65, + "__docId__": 69, "kind": "variable", "name": "frame", "memberof": "src/workers/log-worker.js", @@ -1834,7 +1958,7 @@ } }, { - "__docId__": 66, + "__docId__": 70, "kind": "variable", "name": "text", "memberof": "src/workers/log-worker.js", @@ -1860,7 +1984,7 @@ } }, { - "__docId__": 67, + "__docId__": 71, "kind": "variable", "name": "done", "memberof": "src/workers/log-worker.js", @@ -1886,7 +2010,7 @@ } }, { - "__docId__": 68, + "__docId__": 72, "kind": "variable", "name": "running", "memberof": "src/workers/log-worker.js", @@ -1912,7 +2036,7 @@ } }, { - "__docId__": 69, + "__docId__": 73, "kind": "function", "name": "time", "memberof": "src/workers/log-worker.js", @@ -1941,7 +2065,7 @@ } }, { - "__docId__": 70, + "__docId__": 74, "kind": "function", "name": "now", "memberof": "src/workers/log-worker.js", @@ -1970,7 +2094,7 @@ } }, { - "__docId__": 71, + "__docId__": 75, "kind": "function", "name": "interval", "memberof": "src/workers/log-worker.js", @@ -1994,10 +2118,10 @@ "params": [] }, { - "__docId__": 72, + "__docId__": 76, "kind": "file", "name": "src/workers/watcher-worker.js", - "content": "\nconst builder = require('backed-builder');\nconst fs = require('backed-fs');\nconst logger = require('backed-logger');\n\nprocess.on('message', message => {\n const config = message.config;\n const task = message.task;\n switch (task) {\n case 'build':\n builder.build(config).then(() => {\n process.send('reload');\n });\n break;\n case 'copy':\n case 'sources':\n fs.copySources(config.sources).then(() => {\n logger.succes(`${config.name}::copy finished`);\n process.send('done');\n });\n break;\n }\n});\n", + "content": "'use strict';\nconst webup = require('webup');\nconst builder = require('backed-builder');\nconst fs = require('backed-fs');\nconst logger = require('backed-logger');\n\nprocess.on('message', message => {\n const config = message.config;\n const task = message.task;\n switch (task) {\n case 'build':\n if (config.fragments) {\n webup(config).then(() => {\n process.send('reload');\n });\n } else {\n builder.build(config).then(() => {\n process.send('reload');\n });\n }\n break;\n case 'copy':\n fs.copySources(config.copy).then(() => {\n logger.succes(`${config.name}::copy finished`);\n process.send('done');\n });\n break;\n }\n});\n", "static": true, "longname": "src/workers/watcher-worker.js", "access": null, @@ -2005,7 +2129,33 @@ "lineNumber": 1 }, { - "__docId__": 73, + "__docId__": 77, + "kind": "variable", + "name": "webup", + "memberof": "src/workers/watcher-worker.js", + "static": true, + "longname": "src/workers/watcher-worker.js~webup", + "access": null, + "export": false, + "importPath": "backed-cli/src/workers/watcher-worker.js", + "importStyle": null, + "description": null, + "lineNumber": 2, + "undocument": true, + "unknown": [ + { + "tagName": "@_undocument", + "tagValue": "" + } + ], + "type": { + "types": [ + "*" + ] + } + }, + { + "__docId__": 78, "kind": "variable", "name": "builder", "memberof": "src/workers/watcher-worker.js", @@ -2016,7 +2166,7 @@ "importPath": "backed-cli/src/workers/watcher-worker.js", "importStyle": null, "description": null, - "lineNumber": 2, + "lineNumber": 3, "undocument": true, "unknown": [ { @@ -2031,7 +2181,7 @@ } }, { - "__docId__": 74, + "__docId__": 79, "kind": "variable", "name": "fs", "memberof": "src/workers/watcher-worker.js", @@ -2042,7 +2192,7 @@ "importPath": "backed-cli/src/workers/watcher-worker.js", "importStyle": null, "description": null, - "lineNumber": 3, + "lineNumber": 4, "undocument": true, "unknown": [ { @@ -2057,7 +2207,7 @@ } }, { - "__docId__": 75, + "__docId__": 80, "kind": "variable", "name": "logger", "memberof": "src/workers/watcher-worker.js", @@ -2068,7 +2218,7 @@ "importPath": "backed-cli/src/workers/watcher-worker.js", "importStyle": null, "description": null, - "lineNumber": 4, + "lineNumber": 5, "undocument": true, "unknown": [ { @@ -2083,7 +2233,7 @@ } }, { - "__docId__": 77, + "__docId__": 82, "kind": "external", "name": "Infinity", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Infinity", @@ -2095,7 +2245,7 @@ "builtinExternal": true }, { - "__docId__": 78, + "__docId__": 83, "kind": "external", "name": "NaN", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN", @@ -2107,7 +2257,7 @@ "builtinExternal": true }, { - "__docId__": 79, + "__docId__": 84, "kind": "external", "name": "undefined", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/undefined", @@ -2119,7 +2269,7 @@ "builtinExternal": true }, { - "__docId__": 80, + "__docId__": 85, "kind": "external", "name": "null", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/null", @@ -2131,7 +2281,7 @@ "builtinExternal": true }, { - "__docId__": 81, + "__docId__": 86, "kind": "external", "name": "Object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -2143,7 +2293,7 @@ "builtinExternal": true }, { - "__docId__": 82, + "__docId__": 87, "kind": "external", "name": "object", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object", @@ -2155,7 +2305,7 @@ "builtinExternal": true }, { - "__docId__": 83, + "__docId__": 88, "kind": "external", "name": "Function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -2167,7 +2317,7 @@ "builtinExternal": true }, { - "__docId__": 84, + "__docId__": 89, "kind": "external", "name": "function", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function", @@ -2179,7 +2329,7 @@ "builtinExternal": true }, { - "__docId__": 85, + "__docId__": 90, "kind": "external", "name": "Boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -2191,7 +2341,7 @@ "builtinExternal": true }, { - "__docId__": 86, + "__docId__": 91, "kind": "external", "name": "boolean", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean", @@ -2203,7 +2353,7 @@ "builtinExternal": true }, { - "__docId__": 87, + "__docId__": 92, "kind": "external", "name": "Symbol", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol", @@ -2215,7 +2365,7 @@ "builtinExternal": true }, { - "__docId__": 88, + "__docId__": 93, "kind": "external", "name": "Error", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error", @@ -2227,7 +2377,7 @@ "builtinExternal": true }, { - "__docId__": 89, + "__docId__": 94, "kind": "external", "name": "EvalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError", @@ -2239,7 +2389,7 @@ "builtinExternal": true }, { - "__docId__": 90, + "__docId__": 95, "kind": "external", "name": "InternalError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError", @@ -2251,7 +2401,7 @@ "builtinExternal": true }, { - "__docId__": 91, + "__docId__": 96, "kind": "external", "name": "RangeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError", @@ -2263,7 +2413,7 @@ "builtinExternal": true }, { - "__docId__": 92, + "__docId__": 97, "kind": "external", "name": "ReferenceError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError", @@ -2275,7 +2425,7 @@ "builtinExternal": true }, { - "__docId__": 93, + "__docId__": 98, "kind": "external", "name": "SyntaxError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError", @@ -2287,7 +2437,7 @@ "builtinExternal": true }, { - "__docId__": 94, + "__docId__": 99, "kind": "external", "name": "TypeError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypeError", @@ -2299,7 +2449,7 @@ "builtinExternal": true }, { - "__docId__": 95, + "__docId__": 100, "kind": "external", "name": "URIError", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/URIError", @@ -2311,7 +2461,7 @@ "builtinExternal": true }, { - "__docId__": 96, + "__docId__": 101, "kind": "external", "name": "Number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -2323,7 +2473,7 @@ "builtinExternal": true }, { - "__docId__": 97, + "__docId__": 102, "kind": "external", "name": "number", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number", @@ -2335,7 +2485,7 @@ "builtinExternal": true }, { - "__docId__": 98, + "__docId__": 103, "kind": "external", "name": "Date", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date", @@ -2347,7 +2497,7 @@ "builtinExternal": true }, { - "__docId__": 99, + "__docId__": 104, "kind": "external", "name": "String", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -2359,7 +2509,7 @@ "builtinExternal": true }, { - "__docId__": 100, + "__docId__": 105, "kind": "external", "name": "string", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String", @@ -2371,7 +2521,7 @@ "builtinExternal": true }, { - "__docId__": 101, + "__docId__": 106, "kind": "external", "name": "RegExp", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", @@ -2383,7 +2533,7 @@ "builtinExternal": true }, { - "__docId__": 102, + "__docId__": 107, "kind": "external", "name": "Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array", @@ -2395,7 +2545,7 @@ "builtinExternal": true }, { - "__docId__": 103, + "__docId__": 108, "kind": "external", "name": "Int8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array", @@ -2407,7 +2557,7 @@ "builtinExternal": true }, { - "__docId__": 104, + "__docId__": 109, "kind": "external", "name": "Uint8Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array", @@ -2419,7 +2569,7 @@ "builtinExternal": true }, { - "__docId__": 105, + "__docId__": 110, "kind": "external", "name": "Uint8ClampedArray", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray", @@ -2431,7 +2581,7 @@ "builtinExternal": true }, { - "__docId__": 106, + "__docId__": 111, "kind": "external", "name": "Int16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array", @@ -2443,7 +2593,7 @@ "builtinExternal": true }, { - "__docId__": 107, + "__docId__": 112, "kind": "external", "name": "Uint16Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array", @@ -2455,7 +2605,7 @@ "builtinExternal": true }, { - "__docId__": 108, + "__docId__": 113, "kind": "external", "name": "Int32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array", @@ -2467,7 +2617,7 @@ "builtinExternal": true }, { - "__docId__": 109, + "__docId__": 114, "kind": "external", "name": "Uint32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array", @@ -2479,7 +2629,7 @@ "builtinExternal": true }, { - "__docId__": 110, + "__docId__": 115, "kind": "external", "name": "Float32Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array", @@ -2491,7 +2641,7 @@ "builtinExternal": true }, { - "__docId__": 111, + "__docId__": 116, "kind": "external", "name": "Float64Array", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float64Array", @@ -2503,7 +2653,7 @@ "builtinExternal": true }, { - "__docId__": 112, + "__docId__": 117, "kind": "external", "name": "Map", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map", @@ -2515,7 +2665,7 @@ "builtinExternal": true }, { - "__docId__": 113, + "__docId__": 118, "kind": "external", "name": "Set", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set", @@ -2527,7 +2677,7 @@ "builtinExternal": true }, { - "__docId__": 114, + "__docId__": 119, "kind": "external", "name": "WeakMap", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakMap", @@ -2539,7 +2689,7 @@ "builtinExternal": true }, { - "__docId__": 115, + "__docId__": 120, "kind": "external", "name": "WeakSet", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WeakSet", @@ -2551,7 +2701,7 @@ "builtinExternal": true }, { - "__docId__": 116, + "__docId__": 121, "kind": "external", "name": "ArrayBuffer", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer", @@ -2563,7 +2713,7 @@ "builtinExternal": true }, { - "__docId__": 117, + "__docId__": 122, "kind": "external", "name": "DataView", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DataView", @@ -2575,7 +2725,7 @@ "builtinExternal": true }, { - "__docId__": 118, + "__docId__": 123, "kind": "external", "name": "JSON", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON", @@ -2587,7 +2737,7 @@ "builtinExternal": true }, { - "__docId__": 119, + "__docId__": 124, "kind": "external", "name": "Promise", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise", @@ -2599,7 +2749,7 @@ "builtinExternal": true }, { - "__docId__": 120, + "__docId__": 125, "kind": "external", "name": "Generator", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator", @@ -2611,7 +2761,7 @@ "builtinExternal": true }, { - "__docId__": 121, + "__docId__": 126, "kind": "external", "name": "GeneratorFunction", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/GeneratorFunction", @@ -2623,7 +2773,7 @@ "builtinExternal": true }, { - "__docId__": 122, + "__docId__": 127, "kind": "external", "name": "Reflect", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Reflect", @@ -2635,7 +2785,7 @@ "builtinExternal": true }, { - "__docId__": 123, + "__docId__": 128, "kind": "external", "name": "Proxy", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy", @@ -2648,7 +2798,7 @@ "builtinExternal": true }, { - "__docId__": 125, + "__docId__": 130, "kind": "external", "name": "CanvasRenderingContext2D", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D", @@ -2660,7 +2810,7 @@ "builtinExternal": true }, { - "__docId__": 126, + "__docId__": 131, "kind": "external", "name": "DocumentFragment", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment", @@ -2672,7 +2822,7 @@ "builtinExternal": true }, { - "__docId__": 127, + "__docId__": 132, "kind": "external", "name": "Element", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Element", @@ -2684,7 +2834,7 @@ "builtinExternal": true }, { - "__docId__": 128, + "__docId__": 133, "kind": "external", "name": "Event", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Event", @@ -2696,7 +2846,7 @@ "builtinExternal": true }, { - "__docId__": 129, + "__docId__": 134, "kind": "external", "name": "Node", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/Node", @@ -2708,7 +2858,7 @@ "builtinExternal": true }, { - "__docId__": 130, + "__docId__": 135, "kind": "external", "name": "NodeList", "externalLink": "https://developer.mozilla.org/en-US/docs/Web/API/NodeList", @@ -2720,7 +2870,7 @@ "builtinExternal": true }, { - "__docId__": 131, + "__docId__": 136, "kind": "external", "name": "XMLHttpRequest", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/XMLHttpRequest", @@ -2732,7 +2882,7 @@ "builtinExternal": true }, { - "__docId__": 132, + "__docId__": 137, "kind": "external", "name": "AudioContext", "externalLink": "https://developer.mozilla.org/en/docs/Web/API/AudioContext", diff --git a/docs/file/src/backed.js.html b/docs/file/src/backed.js.html index c67e6d5..2ae7aa4 100644 --- a/docs/file/src/backed.js.html +++ b/docs/file/src/backed.js.html @@ -46,13 +46,11 @@ process.title = 'backed'; const commander = require('commander'); const {version} = require('./../package.json'); -const fs = require('backed-fs'); +const webup = require('webup'); +const logger = require('backed-logger'); import Config from './config.js'; -import builder from './../node_modules/backed-builder/src/builder.js'; -import server from './server.js'; -import watcher from './watcher.js'; - +import tasks from './tasks.js'; commander .version(version) @@ -61,41 +59,37 @@ .option('-s, --serve', 'serve your app/component') .option('-c, --copy', 'copy files from your app/component src folder to it distribution folder') .option('-d, --debug', 'show all warnings') + .option('-v, --version', 'current version') .parse(process.argv); -let watch = commander.watch; -let build = commander.build; -let copy = commander.build || commander.copy; -let serve = commander.serve; -global.debug = commander.debug +const commands = { + build: Boolean(commander.build), + watch: Boolean(commander.watch), + copy: Boolean(commander.build) || Boolean(commander.copy), + serve: Boolean(commander.serve) +}; + +global.debug = commander.debug; + /** * @param {object} config {@link Config} */ -async function * run(config) { - if (build) { - await builder.build(config); - } - - if (copy) { - await fs.copySources(config.sources); - } - - if (watch) { - watcher.on('reload', () => { - server.reload(); - }); - await watcher.watch(config); - } - - if (serve) { - await server.serve(config.server); - } -} - new Config().then(config => { - global.debug = commander.debug || config.debug; - let it = run(config); - it.next(); + async function run(config) { + for (const task of Object.entries(commands)) { + const name = task[0]; + const enabled = task[1]; + if (enabled) { + try { + const done = await tasks[name](config); + } catch (e) { + logger.warn(`task::function ${name} is undefined`); + } + } + } + process.exit(0); + } + run(config); }); diff --git a/docs/file/src/config.js.html b/docs/file/src/config.js.html index 39ef51a..d6b36c5 100644 --- a/docs/file/src/config.js.html +++ b/docs/file/src/config.js.html @@ -68,15 +68,18 @@ this.babel = config.babel || true; if (config.bundles) { for (let bundle of config.bundles) { - bundle.plugins = this.setupPlugins(bundle.plugins); + bundle.plugins = this.defaultPlugins(bundle.plugins); } } - resolve(this.updateConfig(config)); + return resolve(this.updateConfig(config)); }); }); } - setupPlugins(plugins={}) { + /** + * @param {array} plugins + */ + defaultPlugins(plugins = {}) { const defaults = ['babel', 'cleanup']; for (let key of defaults) { if (this[key] && !plugins[key]) { @@ -86,6 +89,11 @@ return plugins; } + /** + * Default bundles config + * + * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'} + */ get bundles() { return [ { @@ -93,9 +101,22 @@ dest: `dist/${this.name}.js`, format: 'es' } - ] + ]; } + /** + * Default server config + * + * @return {object} { + * port: 3000, + * entry: '/', + * demo: 'demo', + * docs: 'docs', + * bowerPath: 'bower_components', + * nodeModulesPath: 'node_modules', + * index: null + * } + */ get server() { return { port: 3000, @@ -107,6 +128,11 @@ index: null}; } + /** + * Default watcher config + * + * @return {array} [{task: 'build', src: ['./src'], options: {}} + */ get watch() { return [{ task: 'build', @@ -139,15 +165,15 @@ */ importConfig() { return new Promise((resolve, reject) => { - async function * generator(fn) { + async function generator(fn) { const pkg = await fn('package.json').catch(error => { if (global.debug) { - logger.error(error) + logger.error(error); } }); const config = await fn('backed.json').catch(error => { if (global.debug) { - logger.warn('backed.json::not found, ignore this when using backed in package.json') + logger.warn('backed.json::not found, ignore this when using backed in package.json'); } }); if (!config && !pkg) { @@ -159,15 +185,14 @@ if (!name && pkg && pkg.name && !pkg.backed) { return resolve(merge(config, {name: pkg.name})); } else if (!name && !pkg) { - return resolve(merge(config, {name: process.cwd()})) + return resolve(merge(config, {name: process.cwd()})); } } - if(pkg && pkg.backed) { + if (pkg && pkg.backed) { return resolve(merge(pkg.backed, {name: pkg.name})); } } - const it = generator(this.require); - it.next(); + generator(this.require); }); } @@ -217,7 +242,11 @@ */ updateConfig(config, name) { config.sourceMap = config.sourceMap || true; - config.bundles = merge(this.bundles, config.bundles); + if (config.entry && config.sources) { + delete config.bundles; + } else { + config.bundles = merge(this.bundles, config.bundles); + } config.server = merge(this.server, config.server); config.watch = merge(this.watch, config.watch); global.config = config; diff --git a/docs/file/src/tasks.js.html b/docs/file/src/tasks.js.html new file mode 100644 index 0000000..86ffe03 --- /dev/null +++ b/docs/file/src/tasks.js.html @@ -0,0 +1,104 @@ + + + + + + src/tasks.js | API Document + + + + + + + + + +
+ Home + + Reference + Source + + Repository + +
+ + + +

src/tasks.js

+
'use strict';
+const fs = require('backed-fs');
+const webup = require('webup');
+import builder from './../node_modules/backed-builder/src/builder.js';
+import server from './server.js';
+import watcher from './watcher.js';
+
+const build = config => {
+  return new Promise((resolve, reject) => {
+    if (config.entry && config.sources) {
+      return webup(config).then(() => {
+        return resolve();
+      });
+    }
+    builder.build(config).then(() => resolve());
+  });
+};
+
+const copy = config => {
+  return new Promise((resolve, reject) => {
+    return fs.copySources(config.copy).then(() => {
+      return resolve();
+    });
+  });
+};
+
+const serve = config => {
+  return server.serve(config.server);
+};
+
+const watch = config => {
+  watcher.on('reload', () => {
+    server.reload();
+  });
+  return watcher.watch(config);
+};
+
+export default {
+  build,
+  copy,
+  serve,
+  watch
+};
+
+ +
+ + + + + + + + + + + + diff --git a/docs/file/src/workers/watcher-worker.js.html b/docs/file/src/workers/watcher-worker.js.html index f5fa268..b14499c 100644 --- a/docs/file/src/workers/watcher-worker.js.html +++ b/docs/file/src/workers/watcher-worker.js.html @@ -42,7 +42,8 @@

src/workers/watcher-worker.js

-

+
'use strict';
+const webup = require('webup');
 const builder = require('backed-builder');
 const fs = require('backed-fs');
 const logger = require('backed-logger');
@@ -52,13 +53,18 @@
   const task = message.task;
   switch (task) {
     case 'build':
-      builder.build(config).then(() => {
-        process.send('reload');
-      });
+      if (config.fragments) {
+        webup(config).then(() => {
+          process.send('reload');
+        });
+      } else {
+        builder.build(config).then(() => {
+          process.send('reload');
+        });
+      }
       break;
     case 'copy':
-    case 'sources':
-      fs.copySources(config.sources).then(() => {
+      fs.copySources(config.copy).then(() => {
         logger.succes(`${config.name}::copy finished`);
         process.send('done');
       });
diff --git a/docs/package.json b/docs/package.json
index 6c5965b..ba0c98d 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -1,6 +1,6 @@
 {
   "name": "backed-cli",
-  "version": "0.6.0",
+  "version": "0.8.0",
   "description": "The official command line interface for Backed",
   "homepage": "https://github.com/vandeurenglenn/backed-cli",
   "author": {
@@ -50,7 +50,7 @@
   },
   "repository": "https://github.com/VandeurenGlenn/backed-cli",
   "scripts": {
-    "prepublish": "gulp prepublish && esdoc",
+    "prepublish": "esdoc",
     "test": "gulp"
   },
   "license": "CC-BY-NC-ND-4.0",
@@ -58,7 +58,7 @@
     "babel-plugin-external-helpers": "^6.22.0",
     "babel-plugin-transform-async-generator-functions": "^6.24.1",
     "babel-plugin-transform-runtime": "^6.23.0",
-    "backed-builder": "^1.2.0",
+    "backed-builder": "^1.3.2",
     "backed-client": "^1.1.0",
     "backed-fs": "^1.0.2",
     "chalk": "^1.1.3",
@@ -75,7 +75,10 @@
     "rollup-plugin-babel": "^2.7.1",
     "rollup-plugin-cleanup": "^1.0.0",
     "rollup-plugin-json": "^2.1.0",
-    "vinyl-read": "^1.0.0"
+    "vinyl-read": "^1.0.0",
+    "webup": "^1.5.0",
+    "webup-preset-default": "^1.1.0",
+    "webup-preset-element": "^1.0.0"
   },
   "esdoc": {
     "source": "./src",
diff --git a/docs/script/search_index.js b/docs/script/search_index.js
index 2412687..0c98cfb 100644
--- a/docs/script/search_index.js
+++ b/docs/script/search_index.js
@@ -395,6 +395,12 @@ window.esdocSearchIndex = [
     "src/config.js~Config#constructor",
     "method"
   ],
+  [
+    "src/config.js~config#defaultplugins",
+    "class/src/config.js~Config.html#instance-method-defaultPlugins",
+    "src/config.js~Config#defaultPlugins",
+    "method"
+  ],
   [
     "src/config.js~config#importbowername",
     "class/src/config.js~Config.html#instance-method-importBowerName",
@@ -431,12 +437,6 @@ window.esdocSearchIndex = [
     "src/config.js~Config#server",
     "member"
   ],
-  [
-    "src/config.js~config#setupplugins",
-    "class/src/config.js~Config.html#instance-method-setupPlugins",
-    "src/config.js~Config#setupPlugins",
-    "method"
-  ],
   [
     "src/config.js~config#updateconfig",
     "class/src/config.js~Config.html#instance-method-updateConfig",
@@ -479,6 +479,12 @@ window.esdocSearchIndex = [
     "src/server.js~Server#serve",
     "method"
   ],
+  [
+    "src/tasks.js",
+    "file/src/tasks.js.html",
+    "src/tasks.js",
+    "file"
+  ],
   [
     "src/watcher.js",
     "file/src/watcher.js.html",
diff --git a/docs/source.html b/docs/source.html
index 8d744c2..28b5b14 100644
--- a/docs/source.html
+++ b/docs/source.html
@@ -41,7 +41,7 @@
 
-

Source 10/27

+

Source 14/27

@@ -60,17 +60,17 @@ - - - + + + - + - - - - + + + + @@ -81,6 +81,14 @@ + + + + + + + + - - - + + +
src/backed.js - -1373 byte552017-04-01 22:04:05 (UTC)1370 byte492017-07-05 00:31:36 (UTC)
src/config.jssrc/config.js Config42 %6/145063 byte1822017-04-01 20:11:39 (UTC)71 %10/145816 byte2112017-07-05 00:25:37 (UTC)
src/server.js135 2017-04-01 20:11:55 (UTC)
src/tasks.js--879 byte432017-07-04 23:49:30 (UTC)
src/watcher.js Watcher @@ -102,9 +110,9 @@ src/workers/watcher-worker.js - -552 byte232017-03-04 22:35:16 (UTC)714 byte292017-07-04 22:21:29 (UTC)
diff --git a/gulpfile.js b/gulpfile.js index 53c6e2a..a16e572 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -19,7 +19,7 @@ var async = require('rollup-plugin-async'); let cache; task('static', () => { - return src('**/*.js') + return src('src/*.js') .pipe(excludeGitignore()) .pipe(eslint()) .pipe(eslint.format()) @@ -31,7 +31,7 @@ task('nsp', cb => { }); task('pre-test', () => { - return src('lib/**/*.js') + return src('bin/**/*.js') .pipe(excludeGitignore()) .pipe(istanbul({ includeUntested: true @@ -55,7 +55,7 @@ task('test:after', cb => { task('test', series('pre-test', 'test:after')); task('watch', () => { - watch(['lib/**/*.js', 'test/**'], ['test']); + watch(['bin/**/*.js', 'test/**'], ['test']); }); task('coveralls:after', () => { diff --git a/package.json b/package.json index 6c5965b..ba0c98d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "backed-cli", - "version": "0.6.0", + "version": "0.8.0", "description": "The official command line interface for Backed", "homepage": "https://github.com/vandeurenglenn/backed-cli", "author": { @@ -50,7 +50,7 @@ }, "repository": "https://github.com/VandeurenGlenn/backed-cli", "scripts": { - "prepublish": "gulp prepublish && esdoc", + "prepublish": "esdoc", "test": "gulp" }, "license": "CC-BY-NC-ND-4.0", @@ -58,7 +58,7 @@ "babel-plugin-external-helpers": "^6.22.0", "babel-plugin-transform-async-generator-functions": "^6.24.1", "babel-plugin-transform-runtime": "^6.23.0", - "backed-builder": "^1.2.0", + "backed-builder": "^1.3.2", "backed-client": "^1.1.0", "backed-fs": "^1.0.2", "chalk": "^1.1.3", @@ -75,7 +75,10 @@ "rollup-plugin-babel": "^2.7.1", "rollup-plugin-cleanup": "^1.0.0", "rollup-plugin-json": "^2.1.0", - "vinyl-read": "^1.0.0" + "vinyl-read": "^1.0.0", + "webup": "^1.5.0", + "webup-preset-default": "^1.1.0", + "webup-preset-element": "^1.0.0" }, "esdoc": { "source": "./src", diff --git a/src/backed.js b/src/backed.js index 40b0c16..c1b550e 100644 --- a/src/backed.js +++ b/src/backed.js @@ -2,13 +2,11 @@ process.title = 'backed'; const commander = require('commander'); const {version} = require('./../package.json'); -const fs = require('backed-fs'); +const webup = require('webup'); +const logger = require('backed-logger'); import Config from './config.js'; -import builder from './../node_modules/backed-builder/src/builder.js'; -import server from './server.js'; -import watcher from './watcher.js'; - +import tasks from './tasks.js'; commander .version(version) @@ -17,39 +15,35 @@ commander .option('-s, --serve', 'serve your app/component') .option('-c, --copy', 'copy files from your app/component src folder to it distribution folder') .option('-d, --debug', 'show all warnings') + .option('-v, --version', 'current version') .parse(process.argv); -let watch = commander.watch; -let build = commander.build; -let copy = commander.build || commander.copy; -let serve = commander.serve; -global.debug = commander.debug +const commands = { + build: Boolean(commander.build), + watch: Boolean(commander.watch), + copy: Boolean(commander.build) || Boolean(commander.copy), + serve: Boolean(commander.serve) +}; + +global.debug = commander.debug; + /** * @param {object} config {@link Config} */ -async function * run(config) { - if (build) { - await builder.build(config); - } - - if (copy) { - await fs.copySources(config.sources); - } - - if (watch) { - watcher.on('reload', () => { - server.reload(); - }); - await watcher.watch(config); - } - - if (serve) { - await server.serve(config.server); - } -} - new Config().then(config => { - global.debug = commander.debug || config.debug; - let it = run(config); - it.next(); + async function run(config) { + for (const task of Object.entries(commands)) { + const name = task[0]; + const enabled = task[1]; + if (enabled) { + try { + const done = await tasks[name](config); + } catch (e) { + logger.warn(`task::function ${name} is undefined`); + } + } + } + process.exit(0); + } + run(config); }); diff --git a/src/config.js b/src/config.js index 4ad7b39..266499c 100644 --- a/src/config.js +++ b/src/config.js @@ -24,15 +24,18 @@ export default class Config { this.babel = config.babel || true; if (config.bundles) { for (let bundle of config.bundles) { - bundle.plugins = this.setupPlugins(bundle.plugins); + bundle.plugins = this.defaultPlugins(bundle.plugins); } } - resolve(this.updateConfig(config)); + return resolve(this.updateConfig(config)); }); }); } - setupPlugins(plugins={}) { + /** + * @param {array} plugins + */ + defaultPlugins(plugins = {}) { const defaults = ['babel', 'cleanup']; for (let key of defaults) { if (this[key] && !plugins[key]) { @@ -42,6 +45,11 @@ export default class Config { return plugins; } + /** + * Default bundles config + * + * @return {array} [{src: `src/${name}.js`, dest: `dist/${name}.js`, format: 'es'} + */ get bundles() { return [ { @@ -49,9 +57,22 @@ export default class Config { dest: `dist/${this.name}.js`, format: 'es' } - ] + ]; } + /** + * Default server config + * + * @return {object} { + * port: 3000, + * entry: '/', + * demo: 'demo', + * docs: 'docs', + * bowerPath: 'bower_components', + * nodeModulesPath: 'node_modules', + * index: null + * } + */ get server() { return { port: 3000, @@ -63,6 +84,11 @@ export default class Config { index: null}; } + /** + * Default watcher config + * + * @return {array} [{task: 'build', src: ['./src'], options: {}} + */ get watch() { return [{ task: 'build', @@ -95,15 +121,15 @@ export default class Config { */ importConfig() { return new Promise((resolve, reject) => { - async function * generator(fn) { + async function generator(fn) { const pkg = await fn('package.json').catch(error => { if (global.debug) { - logger.error(error) + logger.error(error); } }); const config = await fn('backed.json').catch(error => { if (global.debug) { - logger.warn('backed.json::not found, ignore this when using backed in package.json') + logger.warn('backed.json::not found, ignore this when using backed in package.json'); } }); if (!config && !pkg) { @@ -115,15 +141,14 @@ export default class Config { if (!name && pkg && pkg.name && !pkg.backed) { return resolve(merge(config, {name: pkg.name})); } else if (!name && !pkg) { - return resolve(merge(config, {name: process.cwd()})) + return resolve(merge(config, {name: process.cwd()})); } } - if(pkg && pkg.backed) { + if (pkg && pkg.backed) { return resolve(merge(pkg.backed, {name: pkg.name})); } } - const it = generator(this.require); - it.next(); + generator(this.require); }); } @@ -173,7 +198,11 @@ export default class Config { */ updateConfig(config, name) { config.sourceMap = config.sourceMap || true; - config.bundles = merge(this.bundles, config.bundles); + if (config.entry && config.sources) { + delete config.bundles; + } else { + config.bundles = merge(this.bundles, config.bundles); + } config.server = merge(this.server, config.server); config.watch = merge(this.watch, config.watch); global.config = config; diff --git a/src/tasks.js b/src/tasks.js new file mode 100644 index 0000000..8af02be --- /dev/null +++ b/src/tasks.js @@ -0,0 +1,43 @@ +'use strict'; +const fs = require('backed-fs'); +const webup = require('webup'); +import builder from './../node_modules/backed-builder/src/builder.js'; +import server from './server.js'; +import watcher from './watcher.js'; + +const build = config => { + return new Promise((resolve, reject) => { + if (config.entry && config.sources) { + return webup(config).then(() => { + return resolve(); + }); + } + builder.build(config).then(() => resolve()); + }); +}; + +const copy = config => { + return new Promise((resolve, reject) => { + return fs.copySources(config.copy).then(() => { + return resolve(); + }); + }); +}; + +const serve = config => { + return server.serve(config.server); +}; + +const watch = config => { + watcher.on('reload', () => { + server.reload(); + }); + return watcher.watch(config); +}; + +export default { + build, + copy, + serve, + watch +}; diff --git a/src/workers/watcher-worker.js b/src/workers/watcher-worker.js index cce433f..9563c63 100644 --- a/src/workers/watcher-worker.js +++ b/src/workers/watcher-worker.js @@ -1,4 +1,5 @@ - +'use strict'; +const webup = require('webup'); const builder = require('backed-builder'); const fs = require('backed-fs'); const logger = require('backed-logger'); @@ -8,13 +9,18 @@ process.on('message', message => { const task = message.task; switch (task) { case 'build': - builder.build(config).then(() => { - process.send('reload'); - }); + if (config.fragments) { + webup(config).then(() => { + process.send('reload'); + }); + } else { + builder.build(config).then(() => { + process.send('reload'); + }); + } break; case 'copy': - case 'sources': - fs.copySources(config.sources).then(() => { + fs.copySources(config.copy).then(() => { logger.succes(`${config.name}::copy finished`); process.send('done'); }); diff --git a/yarn.lock b/yarn.lock index 8301bd4..61fec61 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,50 @@ # yarn lockfile v1 +"@types/chai-subset@^1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@types/chai-subset/-/chai-subset-1.3.0.tgz#74ceccef3b2fc2da7391b713deb72fe9a7e5f782" + dependencies: + "@types/chai" "*" + +"@types/chai@*": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.1.tgz#37fea779617cfec3fd2b19a0247e8bbdd5133bf6" + +"@types/chalk@^0.4.30": + version "0.4.31" + resolved "https://registry.yarnpkg.com/@types/chalk/-/chalk-0.4.31.tgz#a31d74241a6b1edbb973cf36d97a2896834a51f9" + +"@types/clone@^0.1.29", "@types/clone@^0.1.30": + version "0.1.30" + resolved "https://registry.yarnpkg.com/@types/clone/-/clone-0.1.30.tgz#e7365648c1b42136a59c7d5040637b3b5c83b614" + +"@types/cssbeautify@^0.3.1": + version "0.3.1" + resolved "https://registry.yarnpkg.com/@types/cssbeautify/-/cssbeautify-0.3.1.tgz#8e0bee8f7decb952250da0caebe05e30591c17ef" + +"@types/doctrine@^0.0.1": + version "0.0.1" + resolved "https://registry.yarnpkg.com/@types/doctrine/-/doctrine-0.0.1.tgz#b999f2d9f7b43cabe0a1a2f39bc203bc7dcada9d" + +"@types/escodegen@^0.0.2": + version "0.0.2" + resolved "https://registry.yarnpkg.com/@types/escodegen/-/escodegen-0.0.2.tgz#7cea41ab242e910eb10f65ae18aeba459d66b35f" + +"@types/estree@^0.0.34": + version "0.0.34" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.34.tgz#aa7af69a3a91922171ee411b3c9d8f6beb4af321" + +"@types/node@*", "@types/node@^6.0.0", "@types/node@^6.0.46": + version "6.0.79" + resolved "https://registry.yarnpkg.com/@types/node/-/node-6.0.79.tgz#5efe7d4a6d8c453c7e9eaf55d931f4a22fac5169" + +"@types/parse5@^2.2.32", "@types/parse5@^2.2.34": + version "2.2.34" + resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-2.2.34.tgz#e3870a10e82735a720f62d71dcd183ba78ef3a9d" + dependencies: + "@types/node" "*" + abab@^1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/abab/-/abab-1.0.3.tgz#b81de5f7274ec4e756d797cd834f303642724e5d" @@ -29,6 +73,10 @@ acorn-jsx@^3.0.0: dependencies: acorn "^3.0.4" +acorn@4.x: + version "4.0.13" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787" + acorn@^2.1.0, acorn@^2.4.0: version "2.7.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-2.7.0.tgz#ab6e7d9d886aaca8b085bc3312b79a198433f0e7" @@ -37,17 +85,13 @@ acorn@^3.0.4: version "3.3.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" -acorn@^4.0.4: - version "4.0.11" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-4.0.11.tgz#edcda3bd937e7556410d42ed5860f67399c794c0" - acorn@^5.0.1: - version "5.0.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.0.3.tgz#c460df08491463f028ccb82eab3730bf01087b3d" + version "5.1.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.1.1.tgz#53fe161111f912ab999ee887a90a0bc52822fd75" agent-base@2: - version "2.0.1" - resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.0.1.tgz#bd8f9e86a8eb221fffa07bd14befd55df142815e" + version "2.1.1" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-2.1.1.tgz#d6de10d5af6132d5bd692427d46fc538539094c7" dependencies: extend "~3.0.0" semver "~5.0.1" @@ -57,8 +101,8 @@ ajv-keywords@^1.0.0: resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-1.5.1.tgz#314dd0a4b3368fad3dfcdc54ede6171b886daf3c" ajv@^4.7.0, ajv@^4.9.1: - version "4.11.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.6.tgz#947e93049790942b2a2d60a8289b28924d39f987" + version "4.11.8" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.8.tgz#82ffb02b29e662ae53bdc20af15947706739c536" dependencies: co "^4.6.0" json-stable-stringify "^1.0.1" @@ -75,6 +119,12 @@ amdefine@>=0.0.4: version "1.0.1" resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" +ansi-escape-sequences@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-escape-sequences/-/ansi-escape-sequences-3.0.0.tgz#1c18394b6af9b76ff9a63509fa497669fd2ce53e" + dependencies: + array-back "^1.0.3" + ansi-escapes@^1.0.0, ansi-escapes@^1.1.0: version "1.4.0" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-1.4.0.tgz#d3a8a83b319aa67793662b13e761c7911422306e" @@ -83,10 +133,24 @@ ansi-regex@2, ansi-regex@^2.0.0: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" +ansi-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" + ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" +ansi-styles@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.1.0.tgz#09c202d5c917ec23188caa5c9cb9179cd9547750" + dependencies: + color-convert "^1.0.0" + +any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + anymatch@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-1.3.0.tgz#a3e52fa39168c825ff57b0248126ce5a8ff95507" @@ -95,19 +159,19 @@ anymatch@^1.3.0: micromatch "^2.1.5" aproba@^1.0.3: - version "1.1.1" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" + version "1.1.2" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.2.tgz#45c6629094de4e96f693ef7eab74ae079c240fc1" archy@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40" are-we-there-yet@~1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" + version "1.1.4" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" dependencies: delegates "^1.0.0" - readable-stream "^2.0.0 || ^1.1.13" + readable-stream "^2.0.6" argparse@^1.0.7: version "1.0.9" @@ -128,8 +192,8 @@ arr-filter@^1.1.1: make-iterator "^1.0.0" arr-flatten@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.0.1.tgz#e5ffe54d45e19f32f216e91eb99c8ce892bb604b" + version "1.1.0" + resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" arr-map@^2.0.0: version "2.0.2" @@ -137,6 +201,12 @@ arr-map@^2.0.0: dependencies: make-iterator "^1.0.0" +array-back@^1.0.3, array-back@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/array-back/-/array-back-1.0.4.tgz#644ba7f095f7ffcf7c43b5f0dc39d3c1f03c063b" + dependencies: + typical "^2.6.0" + array-differ@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" @@ -145,7 +215,7 @@ array-each@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/array-each/-/array-each-0.1.1.tgz#c5d52ba8225f36d728178ba7aec413acfaddd0f9" -array-each@^1.0.0: +array-each@^1.0.0, array-each@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" @@ -170,6 +240,10 @@ array-slice@^0.2.2, array-slice@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-0.2.3.tgz#dd3cfb80ed7973a75117cdac69b0b99ec86186f5" +array-slice@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.0.0.tgz#e73034f00dcc1f40876008fd20feae77bd4b7c2f" + array-union@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -220,8 +294,8 @@ async-settle@^1.0.0: async-done "^1.2.2" async-to-gen@^1.2.0: - version "1.3.2" - resolved "https://registry.yarnpkg.com/async-to-gen/-/async-to-gen-1.3.2.tgz#7296908a9697a6bb0a5eaff7e59f33d3f2372923" + version "1.3.3" + resolved "https://registry.yarnpkg.com/async-to-gen/-/async-to-gen-1.3.3.tgz#d52c9fb4801f0df44abc4d2de1870b48b60e20bb" dependencies: babylon "^6.14.0" magic-string "^0.19.0" @@ -230,10 +304,6 @@ async@1.x, async@^1.4.0: version "1.5.2" resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" -async@~0.2.6: - version "0.2.10" - resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" - asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" @@ -255,19 +325,19 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0, babel-code-frame@^6.8.0: js-tokens "^3.0.0" babel-core@6, babel-core@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.24.1.tgz#8c428564dce1e1f41fb337ec34f4c3b022b5ad83" + version "6.25.0" + resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.25.0.tgz#7dd42b0463c742e9d5296deb3ec67a9322dad729" dependencies: babel-code-frame "^6.22.0" - babel-generator "^6.24.1" + babel-generator "^6.25.0" babel-helpers "^6.24.1" babel-messages "^6.23.0" babel-register "^6.24.1" babel-runtime "^6.22.0" - babel-template "^6.24.1" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babylon "^6.11.0" + babel-template "^6.25.0" + babel-traverse "^6.25.0" + babel-types "^6.25.0" + babylon "^6.17.2" convert-source-map "^1.1.0" debug "^2.1.1" json5 "^0.5.0" @@ -289,27 +359,19 @@ babel-generator@6.11.4: lodash "^4.2.0" source-map "^0.5.0" -babel-generator@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.24.1.tgz#e715f486c58ded25649d888944d52aa07c5d9497" +babel-generator@^6.25.0: + version "6.25.0" + resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.25.0.tgz#33a1af70d5f2890aeb465a4a7793c1df6a9ea9fc" dependencies: babel-messages "^6.23.0" babel-runtime "^6.22.0" - babel-types "^6.24.1" + babel-types "^6.25.0" detect-indent "^4.0.0" jsesc "^1.3.0" lodash "^4.2.0" source-map "^0.5.0" trim-right "^1.0.1" -babel-helper-builder-binary-assignment-operator-visitor@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz#cce4517ada356f4220bcae8a02c2b346f9a56664" - dependencies: - babel-helper-explode-assignable-expression "^6.24.1" - babel-runtime "^6.22.0" - babel-types "^6.24.1" - babel-helper-call-delegate@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz#ece6aacddc76e41c3461f88bfc575bd0daa2df8d" @@ -328,14 +390,6 @@ babel-helper-define-map@^6.24.1: babel-types "^6.24.1" lodash "^4.2.0" -babel-helper-explode-assignable-expression@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz#f25b82cf7dc10433c55f70592d5746400ac22caa" - dependencies: - babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babel-helper-function-name@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz#d3475b8c03ed98242a25b48351ab18399d3580a9" @@ -425,10 +479,6 @@ babel-plugin-syntax-async-generators@^6.5.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz#6bc963ebb16eccbae6b92b596eb7f35c342a8b9a" -babel-plugin-syntax-exponentiation-operator@^6.8.0: - version "6.13.0" - resolved "https://registry.yarnpkg.com/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz#9ee7e8337290da95288201a6a57f4170317830de" - babel-plugin-transform-async-generator-functions@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz#f058900145fd3e9907a6ddf28da59f215258a5db" @@ -605,14 +655,6 @@ babel-plugin-transform-es2015-unicode-regex@^6.24.1: babel-runtime "^6.22.0" regexpu-core "^2.0.0" -babel-plugin-transform-exponentiation-operator@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e" - dependencies: - babel-helper-builder-binary-assignment-operator-visitor "^6.24.1" - babel-plugin-syntax-exponentiation-operator "^6.8.0" - babel-runtime "^6.22.0" - babel-plugin-transform-regenerator@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.24.1.tgz#b8da305ad43c3c99b4848e4fe4037b770d23c418" @@ -661,12 +703,6 @@ babel-preset-es2015@^6.24.1: babel-plugin-transform-es2015-unicode-regex "^6.24.1" babel-plugin-transform-regenerator "^6.24.1" -babel-preset-es2016@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-preset-es2016/-/babel-preset-es2016-6.24.1.tgz#f900bf93e2ebc0d276df9b8ab59724ebfd959f8b" - dependencies: - babel-plugin-transform-exponentiation-operator "^6.24.1" - babel-register@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-register/-/babel-register-6.24.1.tgz#7e10e13a2f71065bdfad5a1787ba45bca6ded75f" @@ -686,14 +722,14 @@ babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.9.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-template@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.24.1.tgz#04ae514f1f93b3a2537f2a0f60a5a45fb8308333" +babel-template@^6.24.1, babel-template@^6.25.0: + version "6.25.0" + resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.25.0.tgz#665241166b7c2aa4c619d71e192969552b10c071" dependencies: babel-runtime "^6.22.0" - babel-traverse "^6.24.1" - babel-types "^6.24.1" - babylon "^6.11.0" + babel-traverse "^6.25.0" + babel-types "^6.25.0" + babylon "^6.17.2" lodash "^4.2.0" babel-traverse@6.12.0: @@ -710,36 +746,36 @@ babel-traverse@6.12.0: invariant "^2.2.0" lodash "^4.2.0" -babel-traverse@^6.24.1: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.24.1.tgz#ab36673fd356f9a0948659e7b338d5feadb31695" +babel-traverse@^6.24.1, babel-traverse@^6.25.0: + version "6.25.0" + resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.25.0.tgz#2257497e2fcd19b89edc13c4c91381f9512496f1" dependencies: babel-code-frame "^6.22.0" babel-messages "^6.23.0" babel-runtime "^6.22.0" - babel-types "^6.24.1" - babylon "^6.15.0" + babel-types "^6.25.0" + babylon "^6.17.2" debug "^2.2.0" globals "^9.0.0" invariant "^2.2.0" lodash "^4.2.0" -babel-types@^6.10.2, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.9.0: - version "6.24.1" - resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.24.1.tgz#a136879dc15b3606bda0d90c1fc74304c2ff0975" +babel-types@^6.10.2, babel-types@^6.19.0, babel-types@^6.24.1, babel-types@^6.25.0, babel-types@^6.9.0: + version "6.25.0" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.25.0.tgz#70afb248d5660e5d18f811d91c8303b54134a18e" dependencies: babel-runtime "^6.22.0" esutils "^2.0.2" lodash "^4.2.0" to-fast-properties "^1.0.1" -babylon@6.14.1, babylon@^6.11.0, babylon@^6.14.0, babylon@^6.7.0: +babylon@6.14.1, babylon@^6.14.0: version "6.14.1" resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.14.1.tgz#956275fab72753ad9b3435d7afe58f8bf0a29815" -babylon@^6.15.0: - version "6.16.1" - resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.16.1.tgz#30c5a22f481978a9e7f8cdfdf496b11d94b404d3" +babylon@^6.17.2, babylon@^6.7.0: + version "6.17.4" + resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.17.4.tgz#3e8b7402b88d22c3423e137a1577883b15ff869a" bach@^1.0.0: version "1.1.0" @@ -755,9 +791,9 @@ bach@^1.0.0: async-settle "^1.0.0" now-and-later "^1.0.0" -backed-builder@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/backed-builder/-/backed-builder-1.2.0.tgz#37ebf19e3ec08bfbd8282984522c12349aa7d7ae" +backed-builder@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/backed-builder/-/backed-builder-1.3.2.tgz#766a93917d4903b913300b7a3e0a64705725bad7" dependencies: backed-logger "^1.0.1" chalk "^1.1.3" @@ -766,14 +802,14 @@ backed-builder@^1.2.0: rollup "^0.41.6" backed-client@^1.1.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/backed-client/-/backed-client-1.2.1.tgz#931d18aa38f5a240e5986104a0d4b6a01a1e44a2" + version "1.2.2" + resolved "https://registry.yarnpkg.com/backed-client/-/backed-client-1.2.2.tgz#30fd4f9346afe37b8911fe7f31fb810ebcc71af7" dependencies: - backed "^0.2.1" + backed "^0.3.4" backed-fs@^1.0.2: - version "1.0.4" - resolved "https://registry.yarnpkg.com/backed-fs/-/backed-fs-1.0.4.tgz#8e2bdb180b43e52fc36aa49f2ec8a763bc247d18" + version "1.0.6" + resolved "https://registry.yarnpkg.com/backed-fs/-/backed-fs-1.0.6.tgz#f0677cc3416364c27b29fe25d5e4462e60654dc2" dependencies: backed-logger "^1.0.1" vinyl-read "^1.0.0" @@ -784,13 +820,17 @@ backed-logger@^1.0.1: dependencies: chalk "^1.1.3" -backed@^0.2.1: - version "0.2.6" - resolved "https://registry.yarnpkg.com/backed/-/backed-0.2.6.tgz#58b5104ff943742893c7d4e4238128e3316d88ec" +backed@^0.3.4: + version "0.3.4" + resolved "https://registry.yarnpkg.com/backed/-/backed-0.3.4.tgz#a42d340539f7db6fff5a36a2df5273e56e069844" -balanced-match@^0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-0.4.2.tgz#cb3f3e3c732dc0f01ee70b403f302e61d7709838" +backed@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/backed/-/backed-0.4.0.tgz#1453a82ea908e294d2b9501fd58b9480f8edd023" + +balanced-match@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" bcrypt-pbkdf@^1.0.0: version "1.0.1" @@ -822,11 +862,11 @@ boom@2.x.x: dependencies: hoek "2.x.x" -brace-expansion@^1.0.0: - version "1.1.7" - resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.7.tgz#3effc3c50e000531fb720eaff80f0ae8ef23cf59" +brace-expansion@^1.1.7: + version "1.1.8" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" dependencies: - balanced-match "^0.4.1" + balanced-match "^1.0.0" concat-map "0.0.1" braces@^1.8.2: @@ -841,10 +881,6 @@ browser-stdout@1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.0.tgz#f351d32969d32fa5d7a5567154263d928ae3bd1f" -buffer-shims@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51" - bufferstreams@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/bufferstreams/-/bufferstreams-1.1.1.tgz#0161373060ac5988eff99058731114f6e195d51e" @@ -894,6 +930,14 @@ chalk@^1.0.0, chalk@^1.1.0, chalk@^1.1.1, chalk@^1.1.3: strip-ansi "^3.0.0" supports-color "^2.0.0" +chalk@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.0.1.tgz#dbec49436d2ae15f536114e76d14656cdbc0f44d" + dependencies: + ansi-styles "^3.1.0" + escape-string-regexp "^1.0.5" + supports-color "^4.0.0" + cheerio@0.20.0: version "0.20.0" resolved "https://registry.yarnpkg.com/cheerio/-/cheerio-0.20.0.tgz#5c710f2bab95653272842ba01c6ea61b3545ec35" @@ -928,8 +972,8 @@ cheerio@0.22.0: lodash.some "^4.4.0" chokidar@^1.4.3, chokidar@^1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.6.1.tgz#2f4447ab5e96e50fb3d789fd90d4c72e0e4c70c2" + version "1.7.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-1.7.0.tgz#798e689778151c8076b4b360e5edd28cda2bb468" dependencies: anymatch "^1.3.0" async-each "^1.0.0" @@ -963,6 +1007,12 @@ cli-cursor@^1.0.1, cli-cursor@^1.0.2: dependencies: restore-cursor "^1.0.1" +cli-cursor@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" + dependencies: + restore-cursor "^2.0.0" + cli-table@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/cli-table/-/cli-table-0.3.1.tgz#f53b05266a8b1a0b934b3d0821e6e2dc5914ae23" @@ -1009,6 +1059,10 @@ clone@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" +clone@^2.0.0, clone@^2.1.0, clone@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb" + cloneable-readable@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117" @@ -1026,8 +1080,8 @@ code-point-at@^1.0.0: resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" coffee-script@^1.10.0: - version "1.12.5" - resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.12.5.tgz#809f4585419112bbfe46a073ad7543af18c27346" + version "1.12.6" + resolved "https://registry.yarnpkg.com/coffee-script/-/coffee-script-1.12.6.tgz#285a3f7115689065064d6bf9ef4572db66695cbf" collection-map@^0.1.0: version "0.1.0" @@ -1038,10 +1092,20 @@ collection-map@^0.1.0: is-plain-object "^2.0.1" make-iterator "^0.1.1" +color-convert@^1.0.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" + dependencies: + color-name "^1.1.1" + color-logger@0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/color-logger/-/color-logger-0.0.3.tgz#d9b22dd1d973e166b18bf313f9f481bba4df2018" +color-name@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d" + colors@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/colors/-/colors-1.0.3.tgz#0433f44d809680fdeb60ed260f1b0c262e82a40b" @@ -1052,12 +1116,35 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: dependencies: delayed-stream "~1.0.0" -commander@2.9.0, commander@^2.9.0, commander@~2.9.0: +command-line-args@^3.0.1: + version "3.0.5" + resolved "https://registry.yarnpkg.com/command-line-args/-/command-line-args-3.0.5.tgz#5bd4ad45e7983e5c1344918e40280ee2693c5ac0" + dependencies: + array-back "^1.0.4" + feature-detect-es6 "^1.3.1" + find-replace "^1.0.2" + typical "^2.6.0" + +command-line-usage@^3.0.3: + version "3.0.8" + resolved "https://registry.yarnpkg.com/command-line-usage/-/command-line-usage-3.0.8.tgz#b6a20978c1b383477f5c11a529428b880bfe0f4d" + dependencies: + ansi-escape-sequences "^3.0.0" + array-back "^1.0.3" + feature-detect-es6 "^1.3.1" + table-layout "^0.3.0" + typical "^2.6.0" + +commander@2.9.0, commander@~2.9.0: version "2.9.0" resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4" dependencies: graceful-readlink ">= 1.0.0" +commander@^2.9.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" + concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" @@ -1094,7 +1181,14 @@ cookie@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" -core-js@^2.4.0: +copy-props@^1.4.1: + version "1.6.0" + resolved "https://registry.yarnpkg.com/copy-props/-/copy-props-1.6.0.tgz#f0324bbee99771101e7b3ada112f313c393db8ed" + dependencies: + each-props "^1.2.1" + is-plain-object "^2.0.1" + +core-js@^2.4.0, core-js@^2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.4.1.tgz#4de911e667b0eae9124e34254b53aea6fc618d3e" @@ -1103,8 +1197,8 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" coveralls@^2.11.2: - version "2.13.0" - resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-2.13.0.tgz#df933876e8c6f478efb04f4d3ab70dc96b7e5a8e" + version "2.13.1" + resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-2.13.1.tgz#d70bb9acc1835ec4f063ff9dac5423c17b11f178" dependencies: js-yaml "3.6.1" lcov-parse "0.0.10" @@ -1131,6 +1225,10 @@ css-what@2.1: version "2.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-2.1.0.tgz#9467d032c38cfaefb9f2d79501253062f87fa1bd" +cssbeautify@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/cssbeautify/-/cssbeautify-0.3.1.tgz#12dd1f734035c2e6faca67dcbdcef74e42811397" + cssom@0.3.x, "cssom@>= 0.3.0 < 0.4.0": version "0.3.2" resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.2.tgz#b8036170c79f07a90ff2f16e22284027a243848b" @@ -1171,33 +1269,33 @@ death@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/death/-/death-1.0.0.tgz#4d46e15488d4b636b699f0671b04632d752fd2de" -debug@2, debug@2.6.3, debug@^2.1.3, debug@^2.2.0: - version "2.6.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.3.tgz#0f7eb8c30965ec08c72accfa0130c8b79984141d" +debug@2, debug@2.6.7, debug@^2.1.1, debug@^2.1.3, debug@^2.2.0: + version "2.6.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.7.tgz#92bad1f6d05bbb6bba22cca88bcd0ec894c2861e" + dependencies: + ms "2.0.0" + +debug@2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.0.tgz#bc596bcabe7617f11d9fa15361eded5608b8499b" dependencies: ms "0.7.2" -debug@2.2.0, debug@~2.2.0: +debug@~2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da" dependencies: ms "0.7.1" -debug@2.6.1, debug@^2.1.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351" - dependencies: - ms "0.7.2" - decamelize@^1.0.0, decamelize@^1.1.1: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" -deep-extend@~0.4.0: - version "0.4.1" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.1.tgz#efe4113d08085f4e6f9687759810f807469e2253" +deep-extend@~0.4.0, deep-extend@~0.4.1: + version "0.4.2" + resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.4.2.tgz#48b699c27e334bf89f10892be432f6e4c7d34a7f" -deep-is@~0.1.2, deep-is@~0.1.3: +deep-is@~0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" @@ -1253,9 +1351,9 @@ detect-indent@^4.0.0: dependencies: repeating "^2.0.0" -diff@1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-1.4.0.tgz#7f28d2eb9ee7b15a97efd89ce63dcfdaa3ccbabf" +diff@3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9" doctrine@^2.0.0: version "2.0.0" @@ -1271,6 +1369,16 @@ dom-serializer@0, dom-serializer@~0.1.0: domelementtype "~1.1.1" entities "~1.1.1" +dom5@^2.1.0, dom5@^2.2.0, dom5@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/dom5/-/dom5-2.3.0.tgz#f8204975bd0dacbbe5b58a8a93ffc1fed0ffcd2a" + dependencies: + "@types/clone" "^0.1.29" + "@types/node" "^6.0.0" + "@types/parse5" "^2.2.32" + clone "^2.1.0" + parse5 "^2.2.2" + domelementtype@1, domelementtype@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.3.0.tgz#b17aed82e8ab59e52dd9c19b1756e0fc187204c2" @@ -1279,12 +1387,18 @@ domelementtype@~1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-1.1.3.tgz#bd28773e2642881aec51544924299c5cd822185b" -domhandler@2.3, domhandler@^2.3.0: +domhandler@2.3: version "2.3.0" resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.3.0.tgz#2de59a0822d5027fabff6f032c2b25a2a8abe738" dependencies: domelementtype "1" +domhandler@^2.3.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-2.4.1.tgz#892e47000a99be55bbf3774ffea0561d8879c259" + dependencies: + domelementtype "1" + domutils@1.5, domutils@1.5.1, domutils@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf" @@ -1298,7 +1412,13 @@ duplexer2@0.0.2: dependencies: readable-stream "~1.1.9" -duplexify@^3.2.0: +duplexer2@^0.1.2: + version "0.1.4" + resolved "https://registry.yarnpkg.com/duplexer2/-/duplexer2-0.1.4.tgz#8b12dab878c0d69e3e7891051662a32fc6bddcc1" + dependencies: + readable-stream "^2.0.2" + +duplexify@^3.1.2, duplexify@^3.2.0: version "3.5.0" resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.0.tgz#1aa773002e1578457e9d9d4a50b0ccaaebcbd604" dependencies: @@ -1307,6 +1427,13 @@ duplexify@^3.2.0: readable-stream "^2.0.0" stream-shift "^1.0.0" +each-props@^1.2.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/each-props/-/each-props-1.3.0.tgz#7ed8031c927688aedb4a896eb91485b4487b90ea" + dependencies: + is-plain-object "^2.0.1" + object-assign "^4.1.1" + ecc-jsbn@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" @@ -1346,8 +1473,8 @@ entities@^1.1.1, entities@~1.1.1: resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.1.tgz#6e5c2d0a5621b5dadaecef80b90edfb5cd7772f0" es5-ext@^0.10.14, es5-ext@^0.10.8, es5-ext@^0.10.9, es5-ext@~0.10.11, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.5, es5-ext@~0.10.6: - version "0.10.15" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.15.tgz#c330a5934c1ee21284a7c081a86e5fd937c91ea6" + version "0.10.23" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.23.tgz#7578b51be974207a5487821b56538c224e4e7b38" dependencies: es6-iterator "2" es6-symbol "~3.1" @@ -1429,18 +1556,7 @@ escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1 version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" -escodegen@1.7.x: - version "1.7.1" - resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.7.1.tgz#30ecfcf66ca98dc67cd2fd162abeb6eafa8ce6fc" - dependencies: - esprima "^1.2.2" - estraverse "^1.9.1" - esutils "^2.0.2" - optionator "^0.5.0" - optionalDependencies: - source-map "~0.2.0" - -escodegen@1.8.x, escodegen@^1.6.1: +escodegen@1.8.x, escodegen@^1.6.1, escodegen@^1.7.0: version "1.8.1" resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-1.8.1.tgz#5a5b53af4693110bebb0867aa3430dd3b70a1018" dependencies: @@ -1526,28 +1642,20 @@ eslint@^3.0.0, eslint@^3.1.1: text-table "~0.2.0" user-home "^2.0.0" -espree@^3.4.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.1.tgz#28a83ab4aaed71ed8fe0f5efe61b76a05c13c4d2" +espree@^3.1.7, espree@^3.4.0: + version "3.4.3" + resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.3.tgz#2910b5ccd49ce893c2ffffaab4fd8b3a31b82374" dependencies: acorn "^5.0.1" acorn-jsx "^3.0.0" -esprima@2.5.x: - version "2.5.0" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.5.0.tgz#f387a46fd344c1b1a39baf8c20bfb43b6d0058cc" - esprima@2.7.x, esprima@^2.6.0, esprima@^2.7.1: version "2.7.3" resolved "https://registry.yarnpkg.com/esprima/-/esprima-2.7.3.tgz#96e3b70d5779f6ad49cd032673d1c312767ba581" -esprima@^1.2.2: - version "1.2.5" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-1.2.5.tgz#0993502feaf668138325756f30f9a51feeec11e9" - -esprima@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633" +esprima@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" esquery@^1.0.0: version "1.0.0" @@ -1556,24 +1664,20 @@ esquery@^1.0.0: estraverse "^4.0.0" esrecurse@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.1.0.tgz#4713b6536adf7f2ac4f327d559e7756bff648220" + version "4.2.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.0.tgz#fa9568d98d3823f9a41d91e902dcab9ea6e5b163" dependencies: - estraverse "~4.1.0" + estraverse "^4.1.0" object-assign "^4.0.1" estraverse@^1.9.1: version "1.9.3" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-1.9.3.tgz#af67f2dc922582415950926091a4005d29c9bb44" -estraverse@^4.0.0, estraverse@^4.1.1, estraverse@^4.2.0: +estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" -estraverse@~4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.1.1.tgz#f6caca728933a850ef90661d0e17982ba47111a2" - estree-walker@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.2.1.tgz#bdafe8095383d8414d5dc2ecf4c9173b6db9412e" @@ -1617,15 +1721,21 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -expand-tilde@^1.2.1, expand-tilde@^1.2.2: +expand-tilde@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-1.2.2.tgz#0b81eba897e5a3d31d1c3d102f8f01441e559449" dependencies: os-homedir "^1.0.1" +expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + dependencies: + homedir-polyfill "^1.0.1" + express@^4.14.1: - version "4.15.2" - resolved "https://registry.yarnpkg.com/express/-/express-4.15.2.tgz#af107fc148504457f2dca9a6f2571d7129b97b35" + version "4.15.3" + resolved "https://registry.yarnpkg.com/express/-/express-4.15.3.tgz#bab65d0f03aa80c358408972fc700f916944b662" dependencies: accepts "~1.3.3" array-flatten "1.1.1" @@ -1633,28 +1743,28 @@ express@^4.14.1: content-type "~1.0.2" cookie "0.3.1" cookie-signature "1.0.6" - debug "2.6.1" + debug "2.6.7" depd "~1.1.0" encodeurl "~1.0.1" escape-html "~1.0.3" etag "~1.8.0" - finalhandler "~1.0.0" + finalhandler "~1.0.3" fresh "0.5.0" merge-descriptors "1.0.1" methods "~1.1.2" on-finished "~2.3.0" parseurl "~1.3.1" path-to-regexp "0.1.7" - proxy-addr "~1.1.3" + proxy-addr "~1.1.4" qs "6.4.0" range-parser "~1.2.0" - send "0.15.1" - serve-static "1.12.1" + send "0.15.3" + serve-static "1.12.3" setprototypeof "1.0.3" statuses "~1.3.1" - type-is "~1.6.14" + type-is "~1.6.15" utils-merge "1.0.0" - vary "~1.1.0" + vary "~1.1.1" express@~4.14.0: version "4.14.1" @@ -1694,8 +1804,8 @@ extend-shallow@^2.0.1: is-extendable "^0.1.0" extend@3, extend@^3.0.0, extend@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" + version "3.0.1" + resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" extglob@^0.3.1: version "0.3.2" @@ -1714,14 +1824,16 @@ fancy-log@^1.1.0: chalk "^1.1.1" time-stamp "^1.0.0" -fast-levenshtein@~1.0.0: - version "1.0.7" - resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-1.0.7.tgz#0178dcdee023b92905193af0959e8a7639cfdcb9" - fast-levenshtein@~2.0.4: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" +feature-detect-es6@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/feature-detect-es6/-/feature-detect-es6-1.3.1.tgz#f888736af9cb0c91f55663bfa4762eb96ee7047f" + dependencies: + array-back "^1.0.3" + figures@^1.3.5: version "1.7.0" resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e" @@ -1737,15 +1849,8 @@ file-entry-cache@^2.0.0: object-assign "^4.0.1" filename-regex@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.0.tgz#996e3e80479b98b9897f15a8a58b3d084e926775" - -fileset@0.2.x: - version "0.2.1" - resolved "https://registry.yarnpkg.com/fileset/-/fileset-0.2.1.tgz#588ef8973c6623b2a76df465105696b96aac8067" - dependencies: - glob "5.x" - minimatch "2.x" + version "2.0.1" + resolved "https://registry.yarnpkg.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26" fill-range@^2.1.0: version "2.2.3" @@ -1767,11 +1872,11 @@ finalhandler@0.5.1: statuses "~1.3.1" unpipe "~1.0.0" -finalhandler@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.1.tgz#bcd15d1689c0e5ed729b6f7f541a6df984117db8" +finalhandler@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.3.tgz#ef47e77950e999780e86022a560e3217e0d0cc89" dependencies: - debug "2.6.3" + debug "2.6.7" encodeurl "~1.0.1" escape-html "~1.0.3" on-finished "~2.3.0" @@ -1779,6 +1884,13 @@ finalhandler@~1.0.0: statuses "~1.3.1" unpipe "~1.0.0" +find-replace@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-1.0.3.tgz#b88e7364d2d9c959559f388c66670d6130441fa0" + dependencies: + array-back "^1.0.4" + test-value "^2.1.0" + findup-sync@^0.4.2: version "0.4.3" resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-0.4.3.tgz#40043929e7bc60adf0b7f4827c4c6e75a0deca12" @@ -1795,15 +1907,13 @@ findup-sync@~0.3.0: glob "~5.0.0" fined@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/fined/-/fined-1.0.2.tgz#5b28424b760d7598960b7ef8480dff8ad3660e97" + version "1.1.0" + resolved "https://registry.yarnpkg.com/fined/-/fined-1.1.0.tgz#b37dc844b76a2f5e7081e884f7c0ae344f153476" dependencies: - expand-tilde "^1.2.1" - lodash.assignwith "^4.0.7" - lodash.isempty "^4.2.1" - lodash.isplainobject "^4.0.4" - lodash.isstring "^4.0.1" - lodash.pick "^4.2.1" + expand-tilde "^2.0.2" + is-plain-object "^2.0.3" + object.defaults "^1.1.0" + object.pick "^1.2.0" parse-filepath "^1.0.1" first-chunk-stream@^1.0.0: @@ -1839,6 +1949,12 @@ for-own@^0.1.1, for-own@^0.1.3, for-own@^0.1.4: dependencies: for-in "^1.0.1" +for-own@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" + dependencies: + for-in "^1.0.1" + forever-agent@~0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" @@ -1880,11 +1996,11 @@ fs.realpath@^1.0.0: resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" fsevents@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.1.tgz#f19fd28f43eeaf761680e519a203c4d0b3d31aff" + version "1.1.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4" dependencies: nan "^2.3.0" - node-pre-gyp "^0.6.29" + node-pre-gyp "^0.6.36" fstream-ignore@^1.0.5: version "1.0.5" @@ -1903,9 +2019,9 @@ fstream@^1.0.0, fstream@^1.0.10, fstream@^1.0.2: mkdirp ">=0.5 0" rimraf "2" -gauge@~2.7.1: - version "2.7.3" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.3.tgz#1c23855f962f17b3ad3d0dc7443f304542edfe09" +gauge@~2.7.3: + version "2.7.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" dependencies: aproba "^1.0.3" console-control-strings "^1.0.0" @@ -1937,8 +2053,8 @@ get-values@^0.1.0: for-own "^0.1.3" getpass@^0.1.1: - version "0.1.6" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" + version "0.1.7" + resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" dependencies: assert-plus "^1.0.0" @@ -1955,7 +2071,7 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" -glob-parent@^3.0.0: +glob-parent@^3.0.0, glob-parent@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" dependencies: @@ -1975,33 +2091,48 @@ glob-stream@^5.3.2: to-absolute-glob "^0.1.1" unique-stream "^2.0.2" +glob-stream@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/glob-stream/-/glob-stream-6.1.0.tgz#7045c99413b3eb94888d83ab46d0b404cc7bdde4" + dependencies: + extend "^3.0.0" + glob "^7.1.1" + glob-parent "^3.1.0" + is-negated-glob "^1.0.0" + ordered-read-streams "^1.0.0" + pumpify "^1.3.5" + readable-stream "^2.1.5" + remove-trailing-separator "^1.0.1" + to-absolute-glob "^2.0.0" + unique-stream "^2.0.2" + glob-watcher@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/glob-watcher/-/glob-watcher-3.1.0.tgz#375b7c73f042c608756221d5c511eb09b8178080" + version "3.2.0" + resolved "https://registry.yarnpkg.com/glob-watcher/-/glob-watcher-3.2.0.tgz#ffc1a2d3d07783b672f5e21799a4d0b3fed92daf" dependencies: async-done "^1.2.0" chokidar "^1.4.3" - lodash.assignwith "^4.0.6" lodash.debounce "^4.0.6" + object.defaults "^1.0.0" -glob@5.x, glob@^5.0.15, glob@^5.0.3, glob@~5.0.0: - version "5.0.15" - resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" +glob@7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" dependencies: + fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "2 || 3" + minimatch "^3.0.2" once "^1.3.0" path-is-absolute "^1.0.0" -glob@7.0.5: - version "7.0.5" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.5.tgz#b4202a69099bbb4d292a7c1b95b6682b67ebdc95" +glob@^5.0.15, glob@^5.0.3, glob@~5.0.0: + version "5.0.15" + resolved "https://registry.yarnpkg.com/glob/-/glob-5.0.15.tgz#1bc936b9e02f4a603fcc222ecf7633d30b8b93b1" dependencies: - fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.2" + minimatch "2 || 3" once "^1.3.0" path-is-absolute "^1.0.0" @@ -2016,13 +2147,13 @@ glob@^6.0.1: path-is-absolute "^1.0.0" glob@^7.0.0, glob@^7.0.3, glob@^7.0.5, glob@^7.1.1: - version "7.1.1" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8" + version "7.1.2" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^3.0.2" + minimatch "^3.0.4" once "^1.3.0" path-is-absolute "^1.0.0" @@ -2047,8 +2178,8 @@ globals@^8.3.0: resolved "https://registry.yarnpkg.com/globals/-/globals-8.18.0.tgz#93d4a62bdcac38cfafafc47d6b034768cb0ffcb4" globals@^9.0.0, globals@^9.14.0: - version "9.17.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-9.17.0.tgz#0c0ca696d9b9bb694d2e5470bd37777caad50286" + version "9.18.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" globby@^4.0.0: version "4.1.0" @@ -2078,15 +2209,7 @@ glogg@^1.0.0: dependencies: sparkles "^1.0.0" -google-closure-compiler-js@>20170000: - version "20170409.0.0" - resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20170409.0.0.tgz#e71063ab2bf26db794732222ec76ba07403df854" - dependencies: - minimist "^1.2.0" - vinyl "^2.0.1" - webpack-core "^0.6.8" - -graceful-fs@^4.0.0, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: +graceful-fs@^4.0.0, graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" @@ -2099,18 +2222,18 @@ growl@1.9.2: resolved "https://registry.yarnpkg.com/growl/-/growl-1.9.2.tgz#0ea7743715db8d8de2c5ede1775e1b45ac85c02f" gulp-cli@^1.0.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/gulp-cli/-/gulp-cli-1.2.2.tgz#7392def6316c6e7939a4f296f3f540151ae3a275" + version "1.3.0" + resolved "https://registry.yarnpkg.com/gulp-cli/-/gulp-cli-1.3.0.tgz#a6bfbb8be35341be290ae45cd3e401071216edd4" dependencies: archy "^1.0.0" chalk "^1.1.0" + copy-props "^1.4.1" fancy-log "^1.1.0" gulplog "^1.0.0" interpret "^1.0.0" - liftoff "^2.1.0" + liftoff "^2.3.0" lodash.isfunction "^3.0.8" lodash.isplainobject "^4.0.4" - lodash.isstring "^4.0.1" lodash.sortby "^4.5.0" matchdep "^1.0.0" mute-stdout "^1.0.0" @@ -2151,12 +2274,12 @@ gulp-ignore@^2.0.2: through2 "^2.0.1" gulp-istanbul@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/gulp-istanbul/-/gulp-istanbul-1.1.1.tgz#e094d98f42bfa4d9a8e5366f414ed9a09a3c6537" + version "1.1.2" + resolved "https://registry.yarnpkg.com/gulp-istanbul/-/gulp-istanbul-1.1.2.tgz#af65fa28bfdb3576daab95dcfaa732a6a27c5a07" dependencies: gulp-util "^3.0.1" istanbul "^0.4.0" - istanbul-threshold-checker "^0.1.0" + istanbul-threshold-checker "^0.2.1" lodash "^4.0.0" through2 "^2.0.0" vinyl-sourcemaps-apply "^0.2.1" @@ -2201,10 +2324,6 @@ gulp-plumber@^1.0.0: gulp-util "^3" through2 "^2" -gulp-rename@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/gulp-rename/-/gulp-rename-1.2.2.tgz#3ad4428763f05e2764dec1c67d868db275687817" - gulp-sourcemaps@1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/gulp-sourcemaps/-/gulp-sourcemaps-1.6.0.tgz#b86ff349d801ceb56e1d9e7dc7bbcb4b7dee600c" @@ -2215,19 +2334,6 @@ gulp-sourcemaps@1.6.0: through2 "^2.0.0" vinyl "^1.0.0" -gulp-uglify@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/gulp-uglify/-/gulp-uglify-2.1.2.tgz#6db85b1d0ee63d18058592b658649d65c2ec4541" - dependencies: - gulplog "^1.0.0" - has-gulplog "^0.1.0" - lodash "^4.13.1" - make-error-cause "^1.1.1" - through2 "^2.0.0" - uglify-js "~2.8.10" - uglify-save-license "^0.4.1" - vinyl-sourcemaps-apply "^0.2.0" - gulp-util@^3, gulp-util@^3.0.0, gulp-util@^3.0.1, gulp-util@^3.0.4, gulp-util@^3.0.6: version "3.0.8" resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f" @@ -2253,7 +2359,7 @@ gulp-util@^3, gulp-util@^3.0.0, gulp-util@^3.0.1, gulp-util@^3.0.4, gulp-util@^3 gulp@gulpjs/gulp#4.0: version "4.0.0-alpha.2" - resolved "https://codeload.github.com/gulpjs/gulp/tar.gz/3f5aba28718dc19e4bf600fb88f128158ff2ff83" + resolved "https://codeload.github.com/gulpjs/gulp/tar.gz/38246c3f8b6dbb8d4ef657183e92d90c8299e22f" dependencies: glob-watcher "^3.0.0" gulp-cli "^1.0.0" @@ -2267,8 +2373,8 @@ gulplog@^1.0.0: glogg "^1.0.0" handlebars@^4.0.1: - version "4.0.6" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.6.tgz#2ce4484850537f9c97a8026d5399b935c4ed4ed7" + version "4.0.10" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.10.tgz#3d30c718b09a3d96f23ea4cc1f403c4d3ba9ff4f" dependencies: async "^1.4.0" optimist "^0.6.1" @@ -2306,6 +2412,10 @@ has-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa" +has-flag@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" + has-gulplog@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce" @@ -2336,7 +2446,7 @@ home-or-tmp@^2.0.0: os-homedir "^1.0.0" os-tmpdir "^1.0.1" -homedir-polyfill@^1.0.0: +homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc" dependencies: @@ -2404,8 +2514,8 @@ ice-cap@0.0.4: color-logger "0.0.3" ignore@^3.2.0: - version "3.2.7" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.2.7.tgz#4810ca5f1d8eca5595213a34b94f2eb4ed926bbd" + version "3.3.3" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.3.tgz#432352e57accd87ab3110e82d3fea0e47812156d" imurmurhash@^0.1.4: version "0.1.4" @@ -2418,7 +2528,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1: +inherits@2, inherits@2.0.3, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.1, inherits@~2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" @@ -2449,8 +2559,8 @@ inquirer@^0.12.0: through "^2.3.6" interpret@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.2.tgz#f4f623f0bb7122f15f5717c8e254b8161b5c5b2d" + version "1.0.3" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90" invariant@^2.2.0: version "2.2.2" @@ -2467,10 +2577,10 @@ ipaddr.js@1.3.0: resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.3.0.tgz#1e03a52fdad83a8bbb2b25cbf4998b4cffcd3dec" irregular-plurals@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/irregular-plurals/-/irregular-plurals-1.2.0.tgz#38f299834ba8c00c30be9c554e137269752ff3ac" + version "1.3.0" + resolved "https://registry.yarnpkg.com/irregular-plurals/-/irregular-plurals-1.3.0.tgz#7af06931bdf74be33dcf585a13e06fccc16caecf" -is-absolute@^0.2.3: +is-absolute@^0.2.3, is-absolute@^0.2.5: version "0.2.6" resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-0.2.6.tgz#20de69f3db942ef2d87b9c2da36f172235b1b5eb" dependencies: @@ -2483,13 +2593,13 @@ is-binary-path@^1.0.0: dependencies: binary-extensions "^1.0.0" -is-buffer@^1.0.2: +is-buffer@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.5.tgz#1f3b26ef613b214b88cbca23cc6c01d87961eecc" is-dotfile@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.2.tgz#2c132383f39199f8edc268ca01b9b007d205cc4d" + version "1.0.3" + resolved "https://registry.yarnpkg.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1" is-equal-shallow@^0.1.3: version "0.1.3" @@ -2546,16 +2656,26 @@ is-my-json-valid@^2.10.0, is-my-json-valid@^2.12.4: jsonpointer "^4.0.0" xtend "^4.0.0" +is-negated-glob@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-negated-glob/-/is-negated-glob-1.0.0.tgz#6910bca5da8c95e784b5751b976cf5a10fee36d2" + is-number@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-number/-/is-number-0.1.1.tgz#69a7af116963d47206ec9bd9b48a14216f1e3806" -is-number@^2.0.2, is-number@^2.1.0: +is-number@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f" dependencies: kind-of "^3.0.2" +is-number@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195" + dependencies: + kind-of "^3.0.2" + is-path-cwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" @@ -2572,11 +2692,11 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" -is-plain-object@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.1.tgz#4d7ca539bc9db9b737b8acb612f2318ef92f294f" +is-plain-object@^2.0.1, is-plain-object@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.3.tgz#c15bf3e4b66b62d72efaf2925848663ecbc619b6" dependencies: - isobject "^1.0.0" + isobject "^3.0.0" is-posix-bracket@^0.1.0: version "0.1.1" @@ -2602,7 +2722,7 @@ is-resolvable@^1.0.0: dependencies: tryit "^1.0.1" -is-stream@^1.0.1, is-stream@^1.1.0: +is-stream@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" @@ -2648,43 +2768,28 @@ isobject@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/isobject/-/isobject-1.0.2.tgz#f0f9b8ce92dd540fa0740882e3835a2e022ec78a" -isobject@^2.0.0: +isobject@^2.0.0, isobject@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89" dependencies: isarray "1.0.0" +isobject@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" -istanbul-threshold-checker@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/istanbul-threshold-checker/-/istanbul-threshold-checker-0.1.0.tgz#0e1442c017cb27a85f781734fefd2126405ca39c" - dependencies: - istanbul "0.3.*" - lodash "3.6.*" - -istanbul@0.3.*: - version "0.3.22" - resolved "https://registry.yarnpkg.com/istanbul/-/istanbul-0.3.22.tgz#3e164d85021fe19c985d1f0e7ef0c3e22d012eb6" +istanbul-threshold-checker@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/istanbul-threshold-checker/-/istanbul-threshold-checker-0.2.1.tgz#c5dc94e8f2cc5cd3ffd335452f84b553c4248331" dependencies: - abbrev "1.0.x" - async "1.x" - escodegen "1.7.x" - esprima "2.5.x" - fileset "0.2.x" - handlebars "^4.0.1" - js-yaml "3.x" - mkdirp "0.5.x" - nopt "3.x" - once "1.x" - resolve "1.1.x" - supports-color "^3.1.0" - which "^1.1.1" - wordwrap "^1.0.0" + istanbul "~0.4.5" + lodash "~4.17.2" -istanbul@^0.4.0: +istanbul@^0.4.0, istanbul@~0.4.5: version "0.4.5" resolved "https://registry.yarnpkg.com/istanbul/-/istanbul-0.4.5.tgz#65c7d73d4c4da84d4f3ac310b918fb0b8033733b" dependencies: @@ -2703,12 +2808,6 @@ istanbul@^0.4.0: which "^1.1.1" wordwrap "^1.0.0" -jodid25519@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" - dependencies: - jsbn "~0.1.0" - joi@^6.9.1: version "6.10.1" resolved "https://registry.yarnpkg.com/joi/-/joi-6.10.1.tgz#4d50c318079122000fe5f16af1ff8e1917b77e06" @@ -2719,8 +2818,8 @@ joi@^6.9.1: topo "1.x.x" js-tokens@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.1.tgz#08e9f132484a2c45a30907e9dc4d5567b7f114d7" + version "3.0.2" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" js-yaml@3.6.1: version "3.6.1" @@ -2730,11 +2829,11 @@ js-yaml@3.6.1: esprima "^2.6.0" js-yaml@3.x, js-yaml@^3.5.1: - version "3.8.3" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.8.3.tgz#33a05ec481c850c8875929166fe1beb61c728766" + version "3.9.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.0.tgz#4ffbbf25c2ac963b8299dc74da7e3740de1c18ce" dependencies: argparse "^1.0.7" - esprima "^3.1.1" + esprima "^4.0.0" jsbn@~0.1.0: version "0.1.1" @@ -2804,6 +2903,10 @@ jsonpointer@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/jsonpointer/-/jsonpointer-4.0.1.tgz#4fd92cb34e0e9db3c89c8622ecf51f9b978c6cb9" +jsonschema@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/jsonschema/-/jsonschema-1.1.1.tgz#3cede8e3e411d377872eefbc9fdf26383cbc3ed9" + jsprim@^1.2.2: version "1.4.0" resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" @@ -2814,10 +2917,16 @@ jsprim@^1.2.2: verror "1.3.6" kind-of@^3.0.2, kind-of@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.1.0.tgz#475d698a5e49ff5e53d14e3e732429dc8bf4cf47" + version "3.2.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" dependencies: - is-buffer "^1.0.2" + is-buffer "^1.1.5" + +kind-of@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57" + dependencies: + is-buffer "^1.1.5" klaw@^1.0.0: version "1.3.1" @@ -2859,14 +2968,7 @@ levn@^0.3.0, levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" -levn@~0.2.5: - version "0.2.5" - resolved "https://registry.yarnpkg.com/levn/-/levn-0.2.5.tgz#ba8d339d0ca4a610e3a3f145b9caf48807155054" - dependencies: - prelude-ls "~1.1.0" - type-check "~0.3.1" - -liftoff@^2.1.0: +liftoff@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-2.3.0.tgz#a98f2ff67183d8ba7cfaca10548bd7ff0550b385" dependencies: @@ -2937,10 +3039,6 @@ lodash.assignin@^4.0.9: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2" -lodash.assignwith@^4.0.6, lodash.assignwith@^4.0.7: - version "4.2.0" - resolved "https://registry.yarnpkg.com/lodash.assignwith/-/lodash.assignwith-4.2.0.tgz#127a97f02adc41751a954d24b0de17e100e038eb" - lodash.bind@^4.1.4: version "4.2.1" resolved "https://registry.yarnpkg.com/lodash.bind/-/lodash.bind-4.2.1.tgz#7ae3017e939622ac31b7d7d7dcb1b34db1690d35" @@ -2987,10 +3085,6 @@ lodash.isarray@^3.0.0: version "3.0.4" resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" -lodash.isempty@^4.2.1: - version "4.4.0" - resolved "https://registry.yarnpkg.com/lodash.isempty/-/lodash.isempty-4.4.0.tgz#6f86cbedd8be4ec987be9aaf33c9684db1b31e7e" - lodash.isequal@^4.0.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" @@ -3072,11 +3166,7 @@ lodash.templatesettings@^3.0.0: lodash._reinterpolate "^3.0.0" lodash.escape "^3.0.0" -lodash@3.6.*: - version "3.6.0" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.6.0.tgz#5266a8f49dd989be4f9f681b6f2a0c55285d0d9a" - -lodash@^4.0.0, lodash@^4.1.0, lodash@^4.13.1, lodash@^4.2.0, lodash@^4.3.0: +lodash@^4.0.0, lodash@^4.1.0, lodash@^4.2.0, lodash@^4.3.0, lodash@~4.17.2: version "4.17.4" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" @@ -3091,6 +3181,14 @@ log-update@^1.0.2: ansi-escapes "^1.0.0" cli-cursor "^1.0.2" +log-update@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.0.0.tgz#7f4354d7be1be62b724fcbb3c4b94454c0db5e26" + dependencies: + ansi-escapes "^1.0.0" + cli-cursor "^2.0.0" + wrap-ansi "^2.1.0" + longest@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" @@ -3107,21 +3205,17 @@ lru-queue@0.1: dependencies: es5-ext "~0.10.2" -magic-string@^0.19.0: - version "0.19.0" - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.19.0.tgz#198948217254e3e0b93080e01146b7c73b2a06b2" +magic-string@*: + version "0.22.2" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.22.2.tgz#e0c54f1916d6264b34eb07634a5a1aacffded462" dependencies: vlq "^0.2.1" -make-error-cause@^1.1.1: - version "1.2.2" - resolved "https://registry.yarnpkg.com/make-error-cause/-/make-error-cause-1.2.2.tgz#df0388fcd0b37816dff0a5fb8108939777dcbc9d" +magic-string@^0.19.0: + version "0.19.1" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.19.1.tgz#14d768013caf2ec8fdea16a49af82fc377e75201" dependencies: - make-error "^1.2.0" - -make-error@^1.2.0: - version "1.2.3" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.2.3.tgz#6c4402df732e0977ac6faf754a5074b3d2b1d19d" + vlq "^0.2.1" make-iterator@^0.1.1: version "0.1.1" @@ -3214,17 +3308,15 @@ mime@1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" -"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.3.tgz#2a4e4090b96b2db06a9d7df01055a62a77c9b774" - dependencies: - brace-expansion "^1.0.0" +mimic-fn@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" -minimatch@2.x: - version "2.0.10" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7" +"minimatch@2 || 3", minimatch@^3.0.0, minimatch@^3.0.2, minimatch@^3.0.3, minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" dependencies: - brace-expansion "^1.0.0" + brace-expansion "^1.1.7" minimist@0.0.8, minimist@~0.0.1: version "0.0.8" @@ -3240,16 +3332,16 @@ mkdirp@0.5.1, mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1: dependencies: minimist "0.0.8" -mocha@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.2.0.tgz#7dc4f45e5088075171a68896814e6ae9eb7a85e3" +mocha@^3.0.0, mocha@^3.4.1: + version "3.4.2" + resolved "https://registry.yarnpkg.com/mocha/-/mocha-3.4.2.tgz#d0ef4d332126dbf18d0d640c9b382dd48be97594" dependencies: browser-stdout "1.3.0" commander "2.9.0" - debug "2.2.0" - diff "1.4.0" + debug "2.6.0" + diff "3.2.0" escape-string-regexp "1.0.5" - glob "7.0.5" + glob "7.1.1" growl "1.9.2" json3 "3.3.2" lodash.create "3.1.1" @@ -3268,12 +3360,23 @@ ms@0.7.2: version "0.7.2" resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.2.tgz#ae25cf2512b3885a1d95d7f037868d8431124765" +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + multipipe@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b" dependencies: duplexer2 "0.0.2" +multipipe@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/multipipe/-/multipipe-1.0.2.tgz#cc13efd833c9cda99f224f868461b8e1a3fd939d" + dependencies: + duplexer2 "^0.1.2" + object-assign "^4.1.0" + mute-stdout@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/mute-stdout/-/mute-stdout-1.0.0.tgz#5b32ea07eb43c9ded6130434cf926f46b2a7fd4d" @@ -3282,9 +3385,17 @@ mute-stream@0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.5.tgz#8fbfabb0a98a253d3184331f9e8deb7372fac6c0" +mz@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.6.0.tgz#c8b8521d958df0a4f2768025db69c719ee4ef1ce" + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + nan@^2.3.0: - version "2.6.1" - resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.1.tgz#8c84f7b14c96b89f57fbc838012180ec8ca39a01" + version "2.6.2" + resolved "https://registry.yarnpkg.com/nan/-/nan-2.6.2.tgz#e4ff34e6c95fdfb5aecc08de6596f43605a7db45" natural-compare@^1.4.0: version "1.4.0" @@ -3302,9 +3413,9 @@ next-tick@~0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-0.2.2.tgz#75da4a927ee5887e39065880065b7336413b310d" -node-pre-gyp@^0.6.29: - version "0.6.34" - resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.34.tgz#94ad1c798a11d7fc67381b50d47f8cc18d9799f7" +node-pre-gyp@^0.6.36: + version "0.6.36" + resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.6.36.tgz#db604112cb74e0d477554e9b505b17abddfab786" dependencies: mkdirp "^0.5.1" nopt "^4.0.1" @@ -3346,12 +3457,12 @@ now-and-later@^1.0.0: once "^1.3.2" npmlog@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.0.2.tgz#d03950e0e78ce1527ba26d2a7592e9348ac3e75f" + version "4.1.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" dependencies: are-we-there-yet "~1.1.2" console-control-strings "~1.1.0" - gauge "~2.7.1" + gauge "~2.7.3" set-blocking "~2.0.0" nsp@^2.0.0: @@ -3381,8 +3492,8 @@ number-is-nan@^1.0.0: resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" "nwmatcher@>= 1.3.7 < 2.0.0": - version "1.3.9" - resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.3.9.tgz#8bab486ff7fa3dfd086656bbe8b17116d3692d2a" + version "1.4.1" + resolved "https://registry.yarnpkg.com/nwmatcher/-/nwmatcher-1.4.1.tgz#7ae9b07b0ea804db7e25f05cb5fe4097d4e4949f" oauth-sign@~0.8.1: version "0.8.2" @@ -3392,7 +3503,7 @@ object-assign@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2" -object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.0, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -3405,6 +3516,15 @@ object.defaults@^0.3.0: for-own "^0.1.3" isobject "^1.0.0" +object.defaults@^1.0.0, object.defaults@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" + dependencies: + array-each "^1.0.1" + array-slice "^1.0.0" + for-own "^1.0.0" + isobject "^3.0.0" + object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -3412,6 +3532,12 @@ object.omit@^2.0.0: for-own "^0.1.4" is-extendable "^0.1.1" +object.pick@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.2.0.tgz#b5392bee9782da6d9fb7d6afaf539779f1234c2b" + dependencies: + isobject "^2.1.0" + object.reduce@^0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/object.reduce/-/object.reduce-0.1.7.tgz#d180e84f72d218348af45352b55165246b95046d" @@ -3440,6 +3566,12 @@ onetime@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789" +onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" + dependencies: + mimic-fn "^1.0.0" + open@~0.0.5: version "0.0.5" resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc" @@ -3451,17 +3583,6 @@ optimist@^0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -optionator@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.5.0.tgz#b75a8995a2d417df25b6e4e3862f50aa88651368" - dependencies: - deep-is "~0.1.2" - fast-levenshtein "~1.0.0" - levn "~0.2.5" - prelude-ls "~1.1.1" - type-check "~0.3.1" - wordwrap "~0.0.2" - optionator@^0.8.1, optionator@^0.8.2: version "0.8.2" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" @@ -3484,6 +3605,12 @@ ordered-read-streams@^0.3.0: is-stream "^1.0.1" readable-stream "^2.0.1" +ordered-read-streams@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ordered-read-streams/-/ordered-read-streams-1.0.1.tgz#77c0cb37c41525d64166d990ffad7ec6a0e1363e" + dependencies: + readable-stream "^2.0.1" + os-homedir@^1.0.0, os-homedir@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" @@ -3530,6 +3657,16 @@ parse5@^1.5.1: version "1.5.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94" +parse5@^2.2.1, parse5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-2.2.3.tgz#0c4fc41c1000c5e6b93d48b03f8083837834e9f6" + +parse5@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.2.tgz#05eff57f0ef4577fb144a79f8b9a967a6cc44510" + dependencies: + "@types/node" "^6.0.46" + parseurl@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.1.tgz#c8ab8c9223ba34888aa64a297b28853bec18da56" @@ -3588,7 +3725,47 @@ pluralize@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-1.2.1.tgz#d1a21483fd22bb41e58a12fa3421823140897c45" -prelude-ls@~1.1.0, prelude-ls@~1.1.1, prelude-ls@~1.1.2: +polymer-analyzer@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/polymer-analyzer/-/polymer-analyzer-2.2.1.tgz#c16d944d9371d8653eda52b37228d881cb030130" + dependencies: + "@types/chai-subset" "^1.3.0" + "@types/chalk" "^0.4.30" + "@types/clone" "^0.1.30" + "@types/cssbeautify" "^0.3.1" + "@types/doctrine" "^0.0.1" + "@types/escodegen" "^0.0.2" + "@types/estree" "^0.0.34" + "@types/node" "^6.0.0" + "@types/parse5" "^2.2.34" + chalk "^1.1.3" + clone "^2.0.0" + cssbeautify "^0.3.1" + doctrine "^2.0.0" + dom5 "^2.1.0" + escodegen "^1.7.0" + espree "^3.1.7" + estraverse "^4.2.0" + jsonschema "^1.1.0" + parse5 "^2.2.1" + shady-css-parser "0.0.8" + strip-indent "^2.0.0" + +polymer-bundler@^2.0.3: + version "2.2.0" + resolved "https://registry.yarnpkg.com/polymer-bundler/-/polymer-bundler-2.2.0.tgz#329cddcbc119f6db28a076e70339228d7424cbd8" + dependencies: + clone "^2.1.0" + command-line-args "^3.0.1" + command-line-usage "^3.0.3" + dom5 "^2.2.0" + espree "^3.4.0" + mkdirp "^0.5.1" + parse5 "^2.2.2" + polymer-analyzer "^2.0.0" + source-map "^0.5.6" + +prelude-ls@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" @@ -3612,20 +3789,28 @@ progress@^1.1.8: version "1.1.8" resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" -proxy-addr@~1.1.3: +proxy-addr@~1.1.3, proxy-addr@~1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.4.tgz#27e545f6960a44a627d9b44467e35c1b6b4ce2f3" dependencies: forwarded "~0.1.0" ipaddr.js "1.3.0" -pump@^1.0.2: +pump@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.2.tgz#3b3ee6512f94f0e575538c17995f9f16990a5d51" dependencies: end-of-stream "^1.1.0" once "^1.3.1" +pumpify@^1.3.5: + version "1.3.5" + resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.3.5.tgz#1b671c619940abcaeac0ad0e3a3c164be760993b" + dependencies: + duplexify "^3.1.2" + inherits "^2.0.1" + pump "^1.0.0" + punycode@^1.4.1: version "1.4.1" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" @@ -3643,11 +3828,11 @@ qs@~6.3.0: resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.2.tgz#e75bd5f6e268122a2a0e0bda630b2550c166502c" randomatic@^1.1.3: - version "1.1.6" - resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.6.tgz#110dcabff397e9dcff7c0789ccc0a49adf1ec5bb" + version "1.1.7" + resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c" dependencies: - is-number "^2.0.2" - kind-of "^3.0.2" + is-number "^3.0.0" + kind-of "^4.0.0" range-parser@~1.2.0: version "1.2.0" @@ -3680,16 +3865,16 @@ readable-stream@1.1, "readable-stream@>=1.1.13-1 <1.2.0-0", readable-stream@~1.1 isarray "0.0.1" string_decoder "~0.10.x" -readable-stream@^2.0.0, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2: - version "2.2.9" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.2.9.tgz#cf78ec6f4a6d1eb43d26488cac97f042e74b7fc8" +readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.4, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.2.2: + version "2.3.3" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" dependencies: - buffer-shims "~1.0.0" core-util-is "~1.0.0" - inherits "~2.0.1" + inherits "~2.0.3" isarray "~1.0.0" process-nextick-args "~1.0.6" - string_decoder "~1.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.0.3" util-deprecate "~1.0.1" readdirp@^2.0.0: @@ -3715,13 +3900,17 @@ rechoir@^0.6.2: dependencies: resolve "^1.1.6" +reduce-flatten@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/reduce-flatten/-/reduce-flatten-1.0.1.tgz#258c78efd153ddf93cb561237f61184f3696e327" + regenerate@^1.2.1: version "1.3.2" resolved "https://registry.yarnpkg.com/regenerate/-/regenerate-1.3.2.tgz#d1941c67bad437e1be76433add5b385f95b19260" regenerator-runtime@^0.10.0: - version "0.10.3" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.3.tgz#8c4367a904b51ea62a908ac310bf99ff90a82a3e" + version "0.10.5" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658" regenerator-transform@0.9.11: version "0.9.11" @@ -3757,8 +3946,8 @@ regjsparser@^0.1.4: jsesc "~0.5.0" reload@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/reload/-/reload-1.1.1.tgz#d8b50d9da5e8258b9ffd71b9670a16695053f6c0" + version "1.1.7" + resolved "https://registry.yarnpkg.com/reload/-/reload-1.1.7.tgz#fa4941118aea89efef494affefd3bdd16241e927" dependencies: cli-color "~1.1.0" commander "~2.9.0" @@ -3770,8 +3959,8 @@ reload@^1.1.1: ws "~1.1.1" remove-trailing-separator@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.1.tgz#615ebb96af559552d4bf4057c8436d486ab63cc4" + version "1.0.2" + resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.0.2.tgz#69b062d978727ad14dc6b56ba4ab772fd8d70511" repeat-element@^1.1.2: version "1.1.2" @@ -3898,6 +4087,13 @@ restore-cursor@^1.0.1: exit-hook "^1.0.0" onetime "^1.0.0" +restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" + dependencies: + onetime "^2.0.0" + signal-exit "^3.0.2" + right-align@^0.1.1: version "0.1.3" resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" @@ -3931,24 +4127,18 @@ rollup-plugin-babel@^2.7.1: rollup-pluginutils "^1.5.0" rollup-plugin-cleanup@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/rollup-plugin-cleanup/-/rollup-plugin-cleanup-1.0.0.tgz#03f2be7a3b2ea496dd1b753050037f9363983224" - dependencies: - acorn "^4.0.4" - magic-string "^0.19.0" - rollup-pluginutils "^2.0.1" - -rollup-plugin-closure-compiler-js@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/rollup-plugin-closure-compiler-js/-/rollup-plugin-closure-compiler-js-1.0.4.tgz#431ff09e13d0f6f6a1ce5ef0e454edcef50b9d00" + version "1.0.1" + resolved "https://registry.yarnpkg.com/rollup-plugin-cleanup/-/rollup-plugin-cleanup-1.0.1.tgz#ca056c74fe6ea21783f99851963b173cbe8e9359" dependencies: - google-closure-compiler-js ">20170000" + acorn "4.x" + magic-string "*" + rollup-pluginutils "*" rollup-plugin-json@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/rollup-plugin-json/-/rollup-plugin-json-2.1.1.tgz#933390dff3c9e3e654157d61304c5e167fc58623" + version "2.3.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-json/-/rollup-plugin-json-2.3.0.tgz#3c07a452c1b5391be28006fbfff3644056ce0add" dependencies: - rollup-pluginutils "^1.5.2" + rollup-pluginutils "^2.0.1" rollup-plugin-uglify@^1.0.2: version "1.0.2" @@ -3956,7 +4146,7 @@ rollup-plugin-uglify@^1.0.2: dependencies: uglify-js "^2.6.1" -rollup-pluginutils@^1.5.0, rollup-pluginutils@^1.5.1, rollup-pluginutils@^1.5.2: +rollup-pluginutils@*, rollup-pluginutils@^1.5.0, rollup-pluginutils@^1.5.1: version "1.5.2" resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-1.5.2.tgz#1e156e778f94b7255bfa1b3d0178be8f5c552408" dependencies: @@ -3986,13 +4176,13 @@ rx-lite@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-3.1.2.tgz#19ce502ca572665f3b647b10939f97fd1615f102" -safe-buffer@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" +safe-buffer@^5.0.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" sax@^1.1.4: - version "1.2.2" - resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828" + version "1.2.4" + resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" semver-greatest-satisfied-range@^1.0.0: version "1.0.0" @@ -4035,11 +4225,11 @@ send@0.14.2: range-parser "~1.2.0" statuses "~1.3.1" -send@0.15.1: - version "0.15.1" - resolved "https://registry.yarnpkg.com/send/-/send-0.15.1.tgz#8a02354c26e6f5cca700065f5f0cdeba90ec7b5f" +send@0.15.3: + version "0.15.3" + resolved "https://registry.yarnpkg.com/send/-/send-0.15.3.tgz#5013f9f99023df50d1bd9892c19e3defd1d53309" dependencies: - debug "2.6.1" + debug "2.6.7" depd "~1.1.0" destroy "~1.0.4" encodeurl "~1.0.1" @@ -4048,19 +4238,19 @@ send@0.15.1: fresh "0.5.0" http-errors "~1.6.1" mime "1.3.4" - ms "0.7.2" + ms "2.0.0" on-finished "~2.3.0" range-parser "~1.2.0" statuses "~1.3.1" -serve-static@1.12.1: - version "1.12.1" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.12.1.tgz#7443a965e3ced647aceb5639fa06bf4d1bbe0039" +serve-static@1.12.3: + version "1.12.3" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.12.3.tgz#9f4ba19e2f3030c547f8af99107838ec38d5b1e2" dependencies: encodeurl "~1.0.1" escape-html "~1.0.3" parseurl "~1.3.1" - send "0.15.1" + send "0.15.3" serve-static@~1.11.2: version "1.11.2" @@ -4087,15 +4277,19 @@ setprototypeof@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" +shady-css-parser@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/shady-css-parser/-/shady-css-parser-0.0.8.tgz#01eec5a6b9ec8e47edbda91b44dfe591279ea0d1" + shelljs@^0.7.5: - version "0.7.7" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.7.tgz#b2f5c77ef97148f4b4f6e22682e10bba8667cff1" + version "0.7.8" + resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.7.8.tgz#decbcf874b0d1e5fb72e14b164a9683048e9acb3" dependencies: glob "^7.0.0" interpret "^1.0.0" rechoir "^0.6.2" -signal-exit@^3.0.0: +signal-exit@^3.0.0, signal-exit@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" @@ -4113,17 +4307,13 @@ sntp@1.x.x: dependencies: hoek "2.x.x" -source-list-map@~0.1.7: - version "0.1.8" - resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" - -source-map-support@^0.4.0, source-map-support@^0.4.2: - version "0.4.14" - resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.14.tgz#9d4463772598b86271b4f523f6c1f4e02a7d6aef" +source-map-support@^0.4.0, source-map-support@^0.4.15, source-map-support@^0.4.2: + version "0.4.15" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.15.tgz#03202df65c06d2bd8c7ec2362a193056fef8d3b1" dependencies: source-map "^0.5.6" -source-map@^0.4.4, source-map@~0.4.1: +source-map@^0.4.4: version "0.4.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" dependencies: @@ -4148,8 +4338,8 @@ sprintf-js@~1.0.2: resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" sshpk@^1.7.0: - version "1.11.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77" + version "1.13.1" + resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" dependencies: asn1 "~0.2.3" assert-plus "^1.0.0" @@ -4158,7 +4348,6 @@ sshpk@^1.7.0: optionalDependencies: bcrypt-pbkdf "^1.0.0" ecc-jsbn "~0.1.1" - jodid25519 "^1.0.0" jsbn "~0.1.0" tweetnacl "~0.14.0" @@ -4178,7 +4367,7 @@ stream-shift@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" -string-width@^1.0.1: +string-width@^1.0.1, string-width@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" dependencies: @@ -4187,21 +4376,21 @@ string-width@^1.0.1: strip-ansi "^3.0.0" string-width@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.0.0.tgz#635c5436cc72a6e0c387ceca278d4e2eec52687e" + version "2.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.0.tgz#030664561fc146c9423ec7d978fe2457437fe6d0" dependencies: is-fullwidth-code-point "^2.0.0" - strip-ansi "^3.0.0" + strip-ansi "^4.0.0" string_decoder@~0.10.x: version "0.10.31" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" -string_decoder@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.0.tgz#f06f41157b664d86069f84bdbdc9b0d8ab281667" +string_decoder@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" dependencies: - buffer-shims "~1.0.0" + safe-buffer "~5.1.0" stringstream@~0.0.4: version "0.0.5" @@ -4213,6 +4402,12 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" +strip-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" + dependencies: + ansi-regex "^3.0.0" + strip-bom-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-bom-stream/-/strip-bom-stream-1.0.0.tgz#e7144398577d51a6bed0fa1994fa05f43fd988ee" @@ -4237,6 +4432,10 @@ strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" +strip-indent@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68" + strip-json-comments@~2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" @@ -4254,7 +4453,7 @@ supervisor@~0.11.0: version "0.11.0" resolved "https://registry.yarnpkg.com/supervisor/-/supervisor-0.11.0.tgz#3fa869e09c57855aff7128a996d414f4af867d8a" -supports-color@3.1.2: +supports-color@3.1.2, supports-color@^3.1.0: version "3.1.2" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.1.2.tgz#72a262894d9d408b956ca05ff37b2ed8a6e2a2d5" dependencies: @@ -4264,16 +4463,27 @@ supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" -supports-color@^3.1.0: - version "3.2.3" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" +supports-color@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.2.0.tgz#ad986dc7eb2315d009b4d77c8169c2231a684037" dependencies: - has-flag "^1.0.0" + has-flag "^2.0.0" "symbol-tree@>= 3.1.0 < 4.0.0": version "3.2.2" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.2.tgz#ae27db38f660a7ae2e1c3b7d1bc290819b8519e6" +table-layout@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/table-layout/-/table-layout-0.3.0.tgz#6ee20dc483db371b3e5c87f704ed2f7c799d2c9a" + dependencies: + array-back "^1.0.3" + core-js "^2.4.1" + deep-extend "~0.4.1" + feature-detect-es6 "^1.3.1" + typical "^2.6.0" + wordwrapjs "^2.0.0-0" + table@^3.7.8: version "3.8.3" resolved "https://registry.yarnpkg.com/table/-/table-3.8.3.tgz#2bbc542f0fda9861a755d3947fefd8b3f513855f" @@ -4317,10 +4527,29 @@ temp@^0.8.3: os-tmpdir "^1.0.0" rimraf "~2.2.6" +test-value@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/test-value/-/test-value-2.1.0.tgz#11da6ff670f3471a73b625ca4f3fdcf7bb748291" + dependencies: + array-back "^1.0.3" + typical "^2.6.0" + text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" +thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" + dependencies: + thenify ">= 3.1.0 < 4" + +"thenify@>= 3.1.0 < 4": + version "3.3.0" + resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.3.0.tgz#e69e38a1babe969b0108207978b9f62b88604839" + dependencies: + any-promise "^1.0.0" + through2-filter@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/through2-filter/-/through2-filter-2.0.0.tgz#60bc55a0dacb76085db1f9dae99ab43f83d622ec" @@ -4360,8 +4589,8 @@ tildify@^1.0.0: os-homedir "^1.0.0" time-stamp@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.0.1.tgz#9f4bd23559c9365966f3302dbba2b07c6b99b151" + version "1.1.0" + resolved "https://registry.yarnpkg.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3" timers-ext@0.1: version "0.1.2" @@ -4376,9 +4605,17 @@ to-absolute-glob@^0.1.1: dependencies: extend-shallow "^2.0.1" +to-absolute-glob@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/to-absolute-glob/-/to-absolute-glob-2.0.1.tgz#70c375805b9e3105e899ee8dbdd6a9aa108f407b" + dependencies: + extend-shallow "^2.0.1" + is-absolute "^0.2.5" + is-negated-glob "^1.0.0" + to-fast-properties@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.2.tgz#f3f5c0c3ba7299a7ef99427e44633257ade43320" + version "1.0.3" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" topo@1.x.x: version "1.1.0" @@ -4418,13 +4655,13 @@ tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" -type-check@~0.3.1, type-check@~0.3.2: +type-check@~0.3.2: version "0.3.2" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" dependencies: prelude-ls "~1.1.2" -type-is@~1.6.14: +type-is@~1.6.14, type-is@~1.6.15: version "1.6.15" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410" dependencies: @@ -4435,28 +4672,19 @@ typedarray@^0.0.6: version "0.0.6" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" -uglify-js-harmony@^2.7.5: - version "2.7.5" - resolved "https://registry.yarnpkg.com/uglify-js-harmony/-/uglify-js-harmony-2.7.5.tgz#48a99a9f62c8247f1e63e9ef9020b2d7cc1fd6e7" - dependencies: - async "~0.2.6" - source-map "~0.5.1" - uglify-to-browserify "~1.0.0" - yargs "~3.10.0" +typical@^2.6.0: + version "2.6.1" + resolved "https://registry.yarnpkg.com/typical/-/typical-2.6.1.tgz#5c080e5d661cbbe38259d2e70a3c7253e873881d" -uglify-js@^2.6, uglify-js@^2.6.1, uglify-js@~2.8.10: - version "2.8.22" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.22.tgz#d54934778a8da14903fa29a326fb24c0ab51a1a0" +uglify-js@^2.6, uglify-js@^2.6.1: + version "2.8.29" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" dependencies: source-map "~0.5.1" yargs "~3.10.0" optionalDependencies: uglify-to-browserify "~1.0.0" -uglify-save-license@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/uglify-save-license/-/uglify-save-license-0.4.1.tgz#95726c17cc6fd171c3617e3bf4d8d82aa8c4cce1" - uglify-to-browserify@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" @@ -4473,6 +4701,10 @@ unc-path-regex@^0.1.0: version "0.1.2" resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" +underscore@^1.8.3: + version "1.8.3" + resolved "https://registry.yarnpkg.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022" + undertaker-registry@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/undertaker-registry/-/undertaker-registry-1.0.0.tgz#2da716c765999d8c94b9f9ed2c006df4923b052b" @@ -4521,12 +4753,12 @@ utils-merge@1.0.0: resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8" uuid@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" + version "3.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" v8flags@^2.0.9: - version "2.0.12" - resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.0.12.tgz#73235d9f7176f8e8833fb286795445f7938d84e5" + version "2.1.1" + resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4" dependencies: user-home "^1.1.1" @@ -4534,7 +4766,7 @@ vali-date@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/vali-date/-/vali-date-1.0.0.tgz#1b904a59609fb328ef078138420934f6b86709a6" -vary@~1.1.0: +vary@~1.1.0, vary@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.1.tgz#67535ebb694c1d52257457984665323f587e8d37" @@ -4588,7 +4820,7 @@ vinyl-read@^1.0.0: vinyl "^1.1.0" vinyl-file "^2.0.0" -vinyl-sourcemaps-apply@^0.2.0, vinyl-sourcemaps-apply@^0.2.1: +vinyl-sourcemaps-apply@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705" dependencies: @@ -4610,32 +4842,81 @@ vinyl@^1.0.0, vinyl@^1.1.0: clone-stats "^0.0.1" replace-ext "0.0.1" -vinyl@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.0.2.tgz#0a3713d8d4e9221c58f10ca16c0116c9e25eda7c" +vinyl@^2.0.2: + version "2.1.0" + resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c" dependencies: - clone "^1.0.0" + clone "^2.1.1" clone-buffer "^1.0.0" clone-stats "^1.0.0" cloneable-readable "^1.0.0" - is-stream "^1.1.0" remove-trailing-separator "^1.0.1" replace-ext "^1.0.0" vlq@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.1.tgz#14439d711891e682535467f8587c5630e4222a6c" + version "0.2.2" + resolved "https://registry.yarnpkg.com/vlq/-/vlq-0.2.2.tgz#e316d5257b40b86bb43cb8d5fea5d7f54d6b0ca1" webidl-conversions@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-2.0.1.tgz#3bf8258f7d318c7443c36f2e169402a1a6703506" -webpack-core@^0.6.8: - version "0.6.9" - resolved "https://registry.yarnpkg.com/webpack-core/-/webpack-core-0.6.9.tgz#fc571588c8558da77be9efb6debdc5a3b172bdc2" +webup-plugin-split@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/webup-plugin-split/-/webup-plugin-split-1.0.1.tgz#b82249a89addd65be962575e3b4ef81b888903b0" + dependencies: + dom5 "^2.3.0" + parse5 "^3.0.2" + +webup-preset-bundle@^1.1.2, webup-preset-bundle@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/webup-preset-bundle/-/webup-preset-bundle-1.1.3.tgz#9c028fc96aad87db782f9a6936d3ff7702f4d622" + dependencies: + polymer-bundler "^2.0.3" + +webup-preset-default@^1.1.0, webup-preset-default@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/webup-preset-default/-/webup-preset-default-1.1.1.tgz#16f2cbeff3014b1ed486d02f9441297dd27ea0af" + dependencies: + webup-preset-bundle "^1.1.2" + webup-preset-http2 "^1.1.0" + +webup-preset-element@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/webup-preset-element/-/webup-preset-element-1.0.0.tgz#5bfd53ae252b9b33a3f667b1f523375a991db851" + dependencies: + webup-preset-bundle "^1.1.3" + webup-preset-http2 "^1.1.1" + +webup-preset-http2@^1.1.0, webup-preset-http2@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/webup-preset-http2/-/webup-preset-http2-1.1.1.tgz#a3863fd5d203bccf669d1cbfe5bf38260804bb83" + dependencies: + webup-plugin-split "^1.0.1" + +webup@^1.5.0: + version "1.5.0" + resolved "https://registry.yarnpkg.com/webup/-/webup-1.5.0.tgz#aa24e607bb2c418d3b60aa9ce7e88248df0ed660" dependencies: - source-list-map "~0.1.7" - source-map "~0.4.1" + backed "^0.4.0" + backed-logger "^1.0.1" + chalk "^2.0.1" + del "^2.2.2" + elegant-spinner "^1.0.1" + glob-stream "^6.1.0" + graceful-fs "^4.1.11" + log-update "^2.0.0" + mocha "^3.4.1" + multipipe "^1.0.2" + mz "^2.6.0" + polymer-bundler "^2.0.3" + rollup-pluginutils "^2.0.1" + source-map-support "^0.4.15" + underscore "^1.8.3" + vinyl "^2.0.2" + vinyl-read "^1.0.0" + webup-preset-bundle "^1.1.2" + webup-preset-default "^1.1.1" whatwg-url-compat@~0.6.5: version "0.6.5" @@ -4650,10 +4931,10 @@ which@^1.1.1, which@^1.2.12: isexe "^2.0.0" wide-align@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.0.tgz#40edde802a71fea1f070da3e62dcda2e7add96ad" + version "1.1.2" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" dependencies: - string-width "^1.0.1" + string-width "^1.0.2" window-size@0.1.0: version "0.1.0" @@ -4663,7 +4944,7 @@ window-size@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.4.tgz#f8e1aa1ee5a53ec5bf151ffa09742a6ad7697876" -wordwrap@0.0.2, wordwrap@~0.0.2: +wordwrap@0.0.2: version "0.0.2" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" @@ -4671,7 +4952,20 @@ wordwrap@^1.0.0, wordwrap@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" -wrap-ansi@^2.0.0: +wordwrap@~0.0.2: + version "0.0.3" + resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" + +wordwrapjs@^2.0.0-0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/wordwrapjs/-/wordwrapjs-2.0.0.tgz#ab55f695e6118da93858fdd70c053d1c5e01ac20" + dependencies: + array-back "^1.0.3" + feature-detect-es6 "^1.3.1" + reduce-flatten "^1.0.1" + typical "^2.6.0" + +wrap-ansi@^2.0.0, wrap-ansi@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" dependencies: