From dff34955c39acc775624a32ee24450ebfe4bdae2 Mon Sep 17 00:00:00 2001
From: VandeurenGlenn
Date: Thu, 20 Jul 2017 02:34:08 +0200
Subject: [PATCH] :trollface: Version: 0.8.0
---
bin/backed.js | 441 +-
bin/workers/watcher-worker.js | 18 +-
config/async-backed.json | 2 +-
config/backed.json | 2 +-
config/next-backed.json | 2 +-
docs/ast/source/backed.js.json | 7906 +++++-----
docs/ast/source/config.js.json | 12172 ++++++++--------
docs/ast/source/tasks.js.json | 8352 +++++++++++
.../ast/source/workers/watcher-worker.js.json | 4440 ++++--
docs/badge.svg | 8 +-
docs/class/src/config.js~Config.html | 216 +-
docs/coverage.json | 12 +-
docs/dump.json | 740 +-
docs/file/src/backed.js.html | 62 +-
docs/file/src/config.js.html | 53 +-
docs/file/src/tasks.js.html | 104 +
docs/file/src/workers/watcher-worker.js.html | 18 +-
docs/package.json | 11 +-
docs/script/search_index.js | 18 +-
docs/source.html | 32 +-
gulpfile.js | 6 +-
package.json | 11 +-
src/backed.js | 62 +-
src/config.js | 53 +-
src/tasks.js | 43 +
src/workers/watcher-worker.js | 18 +-
yarn.lock | 1328 +-
27 files changed, 23745 insertions(+), 12385 deletions(-)
create mode 100644 docs/ast/source/tasks.js.json
create mode 100644 docs/file/src/tasks.js.html
create mode 100644 src/tasks.js
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[]
@@ -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": *}
|
@@ -268,13 +270,14 @@ Config
- watch: undefined[]
+ watch: array: undefined[]
|
@@ -302,7 +305,7 @@ Config
- importBowerName(): string
+ defaultPlugins(plugins: array): *
- 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 @@
-
+
-
+
+ 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
-
+
-
+
+ Return:
+
+
+
+ object |
+ {
+ port: 3000,
+ entry: '/',
+ demo: 'demo',
+ docs: 'docs',
+ bowerPath: 'bower_components',
+ nodeModulesPath: 'node_modules',
+ index: null
+ }
+ |
+
+
+
+
+
+
@@ -732,25 +771,39 @@
-
+
-
+
+ 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:
+
+
+ Name | Type | Attribute | Description |
+
+
+
+
+ plugins |
+ array |
+ |
+ |
+
+
+
+
@@ -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:
- object |
- value of 'backed.json'
+ | string |
+ name from 'bower.json'
|
@@ -883,18 +951,18 @@ Return:
-
+
public
- importPackageName(): string
+ importConfig(): object
- source
+ source
@@ -913,8 +981,8 @@ Return:
- string |
- name from 'package.json'
+ | object |
+ value of 'backed.json'
|
@@ -939,48 +1007,29 @@ Return:
-
+
- wrapper around cjs require
-try's to read file from current working directory
-
+
-
- Params:
-
-
- Name | Type | Attribute | Description |
-
-
-
-
- path |
- string |
- |
- path to file/module
- |
-
-
-
-
+
@@ -988,8 +1037,8 @@ Return:
- object | array | function | class |
- module or file
+ | string |
+ name from 'package.json'
|
@@ -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:
- plugins |
- {} |
- |
- |
+ path |
+ string |
+ |
+ path to file/module
+ |
@@ -1061,8 +1112,9 @@ Return:
@@ -1097,7 +1149,7 @@
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(' |
+
+
+
+
+
+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
+};
+
+
+
+
+
+
+
+
+
+
+
+
+
+', '\\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 @@
+
+
+