summaryrefslogtreecommitdiff
path: root/tools/node_modules/eslint/node_modules/optionator
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node_modules/eslint/node_modules/optionator')
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/LICENSE22
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/README.md236
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/lib/help.js247
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/lib/index.js465
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/lib/util.js54
-rw-r--r--tools/node_modules/eslint/node_modules/optionator/package.json74
6 files changed, 1098 insertions, 0 deletions
diff --git a/tools/node_modules/eslint/node_modules/optionator/LICENSE b/tools/node_modules/eslint/node_modules/optionator/LICENSE
new file mode 100644
index 0000000000..525b11850e
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) George Zahariev
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
diff --git a/tools/node_modules/eslint/node_modules/optionator/README.md b/tools/node_modules/eslint/node_modules/optionator/README.md
new file mode 100644
index 0000000000..91c59d379b
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/README.md
@@ -0,0 +1,236 @@
+# Optionator
+<a name="optionator" />
+
+Optionator is a JavaScript option parsing and help generation library used by [eslint](http://eslint.org), [Grasp](http://graspjs.com), [LiveScript](http://livescript.net), [esmangle](https://github.com/estools/esmangle), [escodegen](https://github.com/estools/escodegen), and [many more](https://www.npmjs.com/browse/depended/optionator).
+
+For an online demo, check out the [Grasp online demo](http://www.graspjs.com/#demo).
+
+[About](#about) &middot; [Usage](#usage) &middot; [Settings Format](#settings-format) &middot; [Argument Format](#argument-format)
+
+## Why?
+The problem with other option parsers, such as `yargs` or `minimist`, is they just accept all input, valid or not.
+With Optionator, if you mistype an option, it will give you an error (with a suggestion for what you meant).
+If you give the wrong type of argument for an option, it will give you an error rather than supplying the wrong input to your application.
+
+ $ cmd --halp
+ Invalid option '--halp' - perhaps you meant '--help'?
+
+ $ cmd --count str
+ Invalid value for option 'count' - expected type Int, received value: str.
+
+Other helpful features include reformatting the help text based on the size of the console, so that it fits even if the console is narrow, and accepting not just an array (eg. process.argv), but a string or object as well, making things like testing much easier.
+
+## About
+Optionator uses [type-check](https://github.com/gkz/type-check) and [levn](https://github.com/gkz/levn) behind the scenes to cast and verify input according the specified types.
+
+MIT license. Version 0.8.2
+
+ npm install optionator
+
+For updates on Optionator, [follow me on twitter](https://twitter.com/gkzahariev).
+
+## Usage
+`require('optionator');` returns a function. It has one property, `VERSION`, the current version of the library as a string. This function is called with an object specifying your options and other information, see the [settings format section](#settings-format). This in turn returns an object with three properties, `parse`, `parseArgv`, `generateHelp`, and `generateHelpForOption`, which are all functions.
+
+```js
+var optionator = require('optionator')({
+ prepend: 'Usage: cmd [options]',
+ append: 'Version 1.0.0',
+ options: [{
+ option: 'help',
+ alias: 'h',
+ type: 'Boolean',
+ description: 'displays help'
+ }, {
+ option: 'count',
+ alias: 'c',
+ type: 'Int',
+ description: 'number of things',
+ example: 'cmd --count 2'
+ }]
+});
+
+var options = optionator.parseArgv(process.argv);
+if (options.help) {
+ console.log(optionator.generateHelp());
+}
+...
+```
+
+### parse(input, parseOptions)
+`parse` processes the `input` according to your settings, and returns an object with the results.
+
+##### arguments
+* input - `[String] | Object | String` - the input you wish to parse
+* parseOptions - `{slice: Int}` - all options optional
+ - `slice` specifies how much to slice away from the beginning if the input is an array or string - by default `0` for string, `2` for array (works with `process.argv`)
+
+##### returns
+`Object` - the parsed options, each key is a camelCase version of the option name (specified in dash-case), and each value is the processed value for that option. Positional values are in an array under the `_` key.
+
+##### example
+```js
+parse(['node', 't.js', '--count', '2', 'positional']); // {count: 2, _: ['positional']}
+parse('--count 2 positional'); // {count: 2, _: ['positional']}
+parse({count: 2, _:['positional']}); // {count: 2, _: ['positional']}
+```
+
+### parseArgv(input)
+`parseArgv` works exactly like `parse`, but only for array input and it slices off the first two elements.
+
+##### arguments
+* input - `[String]` - the input you wish to parse
+
+##### returns
+See "returns" section in "parse"
+
+##### example
+```js
+parseArgv(process.argv);
+```
+
+### generateHelp(helpOptions)
+`generateHelp` produces help text based on your settings.
+
+##### arguments
+* helpOptions - `{showHidden: Boolean, interpolate: Object}` - all options optional
+ - `showHidden` specifies whether to show options with `hidden: true` specified, by default it is `false`
+ - `interpolate` specify data to be interpolated in `prepend` and `append` text, `{{key}}` is the format - eg. `generateHelp({interpolate:{version: '0.4.2'}})`, will change this `append` text: `Version {{version}}` to `Version 0.4.2`
+
+##### returns
+`String` - the generated help text
+
+##### example
+```js
+generateHelp(); /*
+"Usage: cmd [options] positional
+
+ -h, --help displays help
+ -c, --count Int number of things
+
+Version 1.0.0
+"*/
+```
+
+### generateHelpForOption(optionName)
+`generateHelpForOption` produces expanded help text for the specified with `optionName` option. If an `example` was specified for the option, it will be displayed, and if a `longDescription` was specified, it will display that instead of the `description`.
+
+##### arguments
+* optionName - `String` - the name of the option to display
+
+##### returns
+`String` - the generated help text for the option
+
+##### example
+```js
+generateHelpForOption('count'); /*
+"-c, --count Int
+description: number of things
+example: cmd --count 2
+"*/
+```
+
+## Settings Format
+When your `require('optionator')`, you get a function that takes in a settings object. This object has the type:
+
+ {
+ prepend: String,
+ append: String,
+ options: [{heading: String} | {
+ option: String,
+ alias: [String] | String,
+ type: String,
+ enum: [String],
+ default: String,
+ restPositional: Boolean,
+ required: Boolean,
+ overrideRequired: Boolean,
+ dependsOn: [String] | String,
+ concatRepeatedArrays: Boolean | (Boolean, Object),
+ mergeRepeatedObjects: Boolean,
+ description: String,
+ longDescription: String,
+ example: [String] | String
+ }],
+ helpStyle: {
+ aliasSeparator: String,
+ typeSeparator: String,
+ descriptionSeparator: String,
+ initialIndent: Int,
+ secondaryIndent: Int,
+ maxPadFactor: Number
+ },
+ mutuallyExclusive: [[String | [String]]],
+ concatRepeatedArrays: Boolean | (Boolean, Object), // deprecated, set in defaults object
+ mergeRepeatedObjects: Boolean, // deprecated, set in defaults object
+ positionalAnywhere: Boolean,
+ typeAliases: Object,
+ defaults: Object
+ }
+
+All of the properties are optional (the `Maybe` has been excluded for brevities sake), except for having either `heading: String` or `option: String` in each object in the `options` array.
+
+### Top Level Properties
+* `prepend` is an optional string to be placed before the options in the help text
+* `append` is an optional string to be placed after the options in the help text
+* `options` is a required array specifying your options and headings, the options and headings will be displayed in the order specified
+* `helpStyle` is an optional object which enables you to change the default appearance of some aspects of the help text
+* `mutuallyExclusive` is an optional array of arrays of either strings or arrays of strings. The top level array is a list of rules, each rule is a list of elements - each element can be either a string (the name of an option), or a list of strings (a group of option names) - there will be an error if more than one element is present
+* `concatRepeatedArrays` see description under the "Option Properties" heading - use at the top level is deprecated, if you want to set this for all options, use the `defaults` property
+* `mergeRepeatedObjects` see description under the "Option Properties" heading - use at the top level is deprecated, if you want to set this for all options, use the `defaults` property
+* `positionalAnywhere` is an optional boolean (defaults to `true`) - when `true` it allows positional arguments anywhere, when `false`, all arguments after the first positional one are taken to be positional as well, even if they look like a flag. For example, with `positionalAnywhere: false`, the arguments `--flag --boom 12 --crack` would have two positional arguments: `12` and `--crack`
+* `typeAliases` is an optional object, it allows you to set aliases for types, eg. `{Path: 'String'}` would allow you to use the type `Path` as an alias for the type `String`
+* `defaults` is an optional object following the option properties format, which specifies default values for all options. A default will be overridden if manually set. For example, you can do `default: { type: "String" }` to set the default type of all options to `String`, and then override that default in an individual option by setting the `type` property
+
+#### Heading Properties
+* `heading` a required string, the name of the heading
+
+#### Option Properties
+* `option` the required name of the option - use dash-case, without the leading dashes
+* `alias` is an optional string or array of strings which specify any aliases for the option
+* `type` is a required string in the [type check](https://github.com/gkz/type-check) [format](https://github.com/gkz/type-check#type-format), this will be used to cast the inputted value and validate it
+* `enum` is an optional array of strings, each string will be parsed by [levn](https://github.com/gkz/levn) - the argument value must be one of the resulting values - each potential value must validate against the specified `type`
+* `default` is a optional string, which will be parsed by [levn](https://github.com/gkz/levn) and used as the default value if none is set - the value must validate against the specified `type`
+* `restPositional` is an optional boolean - if set to `true`, everything after the option will be taken to be a positional argument, even if it looks like a named argument
+* `required` is an optional boolean - if set to `true`, the option parsing will fail if the option is not defined
+* `overrideRequired` is a optional boolean - if set to `true` and the option is used, and there is another option which is required but not set, it will override the need for the required option and there will be no error - this is useful if you have required options and want to use `--help` or `--version` flags
+* `concatRepeatedArrays` is an optional boolean or tuple with boolean and options object (defaults to `false`) - when set to `true` and an option contains an array value and is repeated, the subsequent values for the flag will be appended rather than overwriting the original value - eg. option `g` of type `[String]`: `-g a -g b -g c,d` will result in `['a','b','c','d']`
+
+ You can supply an options object by giving the following value: `[true, options]`. The one currently supported option is `oneValuePerFlag`, this only allows one array value per flag. This is useful if your potential values contain a comma.
+* `mergeRepeatedObjects` is an optional boolean (defaults to `false`) - when set to `true` and an option contains an object value and is repeated, the subsequent values for the flag will be merged rather than overwriting the original value - eg. option `g` of type `Object`: `-g a:1 -g b:2 -g c:3,d:4` will result in `{a: 1, b: 2, c: 3, d: 4}`
+* `dependsOn` is an optional string or array of strings - if simply a string (the name of another option), it will make sure that that other option is set, if an array of strings, depending on whether `'and'` or `'or'` is first, it will either check whether all (`['and', 'option-a', 'option-b']`), or at least one (`['or', 'option-a', 'option-b']`) other options are set
+* `description` is an optional string, which will be displayed next to the option in the help text
+* `longDescription` is an optional string, it will be displayed instead of the `description` when `generateHelpForOption` is used
+* `example` is an optional string or array of strings with example(s) for the option - these will be displayed when `generateHelpForOption` is used
+
+#### Help Style Properties
+* `aliasSeparator` is an optional string, separates multiple names from each other - default: ' ,'
+* `typeSeparator` is an optional string, separates the type from the names - default: ' '
+* `descriptionSeparator` is an optional string , separates the description from the padded name and type - default: ' '
+* `initialIndent` is an optional int - the amount of indent for options - default: 2
+* `secondaryIndent` is an optional int - the amount of indent if wrapped fully (in addition to the initial indent) - default: 4
+* `maxPadFactor` is an optional number - affects the default level of padding for the names/type, it is multiplied by the average of the length of the names/type - default: 1.5
+
+## Argument Format
+At the highest level there are two types of arguments: named, and positional.
+
+Name arguments of any length are prefixed with `--` (eg. `--go`), and those of one character may be prefixed with either `--` or `-` (eg. `-g`).
+
+There are two types of named arguments: boolean flags (eg. `--problemo`, `-p`) which take no value and result in a `true` if they are present, the falsey `undefined` if they are not present, or `false` if present and explicitly prefixed with `no` (eg. `--no-problemo`). Named arguments with values (eg. `--tseries 800`, `-t 800`) are the other type. If the option has a type `Boolean` it will automatically be made into a boolean flag. Any other type results in a named argument that takes a value.
+
+For more information about how to properly set types to get the value you want, take a look at the [type check](https://github.com/gkz/type-check) and [levn](https://github.com/gkz/levn) pages.
+
+You can group single character arguments that use a single `-`, however all except the last must be boolean flags (which take no value). The last may be a boolean flag, or an argument which takes a value - eg. `-ba 2` is equivalent to `-b -a 2`.
+
+Positional arguments are all those values which do not fall under the above - they can be anywhere, not just at the end. For example, in `cmd -b one -a 2 two` where `b` is a boolean flag, and `a` has the type `Number`, there are two positional arguments, `one` and `two`.
+
+Everything after an `--` is positional, even if it looks like a named argument.
+
+You may optionally use `=` to separate option names from values, for example: `--count=2`.
+
+If you specify the option `NUM`, then any argument using a single `-` followed by a number will be valid and will set the value of `NUM`. Eg. `-2` will be parsed into `NUM: 2`.
+
+If duplicate named arguments are present, the last one will be taken.
+
+## Technical About
+`optionator` is written in [LiveScript](http://livescript.net/) - a language that compiles to JavaScript. It uses [levn](https://github.com/gkz/levn) to cast arguments to their specified type, and uses [type-check](https://github.com/gkz/type-check) to validate values. It also uses the [prelude.ls](http://preludels.com/) library.
diff --git a/tools/node_modules/eslint/node_modules/optionator/lib/help.js b/tools/node_modules/eslint/node_modules/optionator/lib/help.js
new file mode 100644
index 0000000000..a459c02c26
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/lib/help.js
@@ -0,0 +1,247 @@
+// Generated by LiveScript 1.5.0
+(function(){
+ var ref$, id, find, sort, min, max, map, unlines, nameToRaw, dasherize, naturalJoin, wordwrap, getPreText, setHelpStyleDefaults, generateHelpForOption, generateHelp;
+ ref$ = require('prelude-ls'), id = ref$.id, find = ref$.find, sort = ref$.sort, min = ref$.min, max = ref$.max, map = ref$.map, unlines = ref$.unlines;
+ ref$ = require('./util'), nameToRaw = ref$.nameToRaw, dasherize = ref$.dasherize, naturalJoin = ref$.naturalJoin;
+ wordwrap = require('wordwrap');
+ getPreText = function(option, arg$, maxWidth){
+ var mainName, shortNames, ref$, longNames, type, description, aliasSeparator, typeSeparator, initialIndent, names, namesString, namesStringLen, typeSeparatorString, typeSeparatorStringLen, wrap;
+ mainName = option.option, shortNames = (ref$ = option.shortNames) != null
+ ? ref$
+ : [], longNames = (ref$ = option.longNames) != null
+ ? ref$
+ : [], type = option.type, description = option.description;
+ aliasSeparator = arg$.aliasSeparator, typeSeparator = arg$.typeSeparator, initialIndent = arg$.initialIndent;
+ if (option.negateName) {
+ mainName = "no-" + mainName;
+ if (longNames) {
+ longNames = map(function(it){
+ return "no-" + it;
+ }, longNames);
+ }
+ }
+ names = mainName.length === 1
+ ? [mainName].concat(shortNames, longNames)
+ : shortNames.concat([mainName], longNames);
+ namesString = map(nameToRaw, names).join(aliasSeparator);
+ namesStringLen = namesString.length;
+ typeSeparatorString = mainName === 'NUM' ? '::' : typeSeparator;
+ typeSeparatorStringLen = typeSeparatorString.length;
+ if (maxWidth != null && !option.boolean && initialIndent + namesStringLen + typeSeparatorStringLen + type.length > maxWidth) {
+ wrap = wordwrap(initialIndent + namesStringLen + typeSeparatorStringLen, maxWidth);
+ return namesString + "" + typeSeparatorString + wrap(type).replace(/^\s+/, '');
+ } else {
+ return namesString + "" + (option.boolean
+ ? ''
+ : typeSeparatorString + "" + type);
+ }
+ };
+ setHelpStyleDefaults = function(helpStyle){
+ helpStyle.aliasSeparator == null && (helpStyle.aliasSeparator = ', ');
+ helpStyle.typeSeparator == null && (helpStyle.typeSeparator = ' ');
+ helpStyle.descriptionSeparator == null && (helpStyle.descriptionSeparator = ' ');
+ helpStyle.initialIndent == null && (helpStyle.initialIndent = 2);
+ helpStyle.secondaryIndent == null && (helpStyle.secondaryIndent = 4);
+ helpStyle.maxPadFactor == null && (helpStyle.maxPadFactor = 1.5);
+ };
+ generateHelpForOption = function(getOption, arg$){
+ var stdout, helpStyle, ref$;
+ stdout = arg$.stdout, helpStyle = (ref$ = arg$.helpStyle) != null
+ ? ref$
+ : {};
+ setHelpStyleDefaults(helpStyle);
+ return function(optionName){
+ var maxWidth, wrap, option, e, pre, defaultString, restPositionalString, description, fullDescription, that, preDescription, descriptionString, exampleString, examples, seperator;
+ maxWidth = stdout != null && stdout.isTTY ? stdout.columns - 1 : null;
+ wrap = maxWidth ? wordwrap(maxWidth) : id;
+ try {
+ option = getOption(dasherize(optionName));
+ } catch (e$) {
+ e = e$;
+ return e.message;
+ }
+ pre = getPreText(option, helpStyle);
+ defaultString = option['default'] && !option.negateName ? "\ndefault: " + option['default'] : '';
+ restPositionalString = option.restPositional ? 'Everything after this option is considered a positional argument, even if it looks like an option.' : '';
+ description = option.longDescription || option.description && sentencize(option.description);
+ fullDescription = description && restPositionalString
+ ? description + " " + restPositionalString
+ : (that = description || restPositionalString) ? that : '';
+ preDescription = 'description:';
+ descriptionString = !fullDescription
+ ? ''
+ : maxWidth && fullDescription.length - 1 - preDescription.length > maxWidth
+ ? "\n" + preDescription + "\n" + wrap(fullDescription)
+ : "\n" + preDescription + " " + fullDescription;
+ exampleString = (that = option.example) ? (examples = [].concat(that), examples.length > 1
+ ? "\nexamples:\n" + unlines(examples)
+ : "\nexample: " + examples[0]) : '';
+ seperator = defaultString || descriptionString || exampleString ? "\n" + repeatString$('=', pre.length) : '';
+ return pre + "" + seperator + defaultString + descriptionString + exampleString;
+ };
+ };
+ generateHelp = function(arg$){
+ var options, prepend, append, helpStyle, ref$, stdout, aliasSeparator, typeSeparator, descriptionSeparator, maxPadFactor, initialIndent, secondaryIndent;
+ options = arg$.options, prepend = arg$.prepend, append = arg$.append, helpStyle = (ref$ = arg$.helpStyle) != null
+ ? ref$
+ : {}, stdout = arg$.stdout;
+ setHelpStyleDefaults(helpStyle);
+ aliasSeparator = helpStyle.aliasSeparator, typeSeparator = helpStyle.typeSeparator, descriptionSeparator = helpStyle.descriptionSeparator, maxPadFactor = helpStyle.maxPadFactor, initialIndent = helpStyle.initialIndent, secondaryIndent = helpStyle.secondaryIndent;
+ return function(arg$){
+ var ref$, showHidden, interpolate, maxWidth, output, out, data, optionCount, totalPreLen, preLens, i$, len$, item, that, pre, descParts, desc, preLen, sortedPreLens, maxPreLen, preLenMean, x, padAmount, descSepLen, fullWrapCount, partialWrapCount, descLen, totalLen, initialSpace, wrapAllFull, i, wrap;
+ ref$ = arg$ != null
+ ? arg$
+ : {}, showHidden = ref$.showHidden, interpolate = ref$.interpolate;
+ maxWidth = stdout != null && stdout.isTTY ? stdout.columns - 1 : null;
+ output = [];
+ out = function(it){
+ return output.push(it != null ? it : '');
+ };
+ if (prepend) {
+ out(interpolate ? interp(prepend, interpolate) : prepend);
+ out();
+ }
+ data = [];
+ optionCount = 0;
+ totalPreLen = 0;
+ preLens = [];
+ for (i$ = 0, len$ = (ref$ = options).length; i$ < len$; ++i$) {
+ item = ref$[i$];
+ if (showHidden || !item.hidden) {
+ if (that = item.heading) {
+ data.push({
+ type: 'heading',
+ value: that
+ });
+ } else {
+ pre = getPreText(item, helpStyle, maxWidth);
+ descParts = [];
+ if ((that = item.description) != null) {
+ descParts.push(that);
+ }
+ if (that = item['enum']) {
+ descParts.push("either: " + naturalJoin(that));
+ }
+ if (item['default'] && !item.negateName) {
+ descParts.push("default: " + item['default']);
+ }
+ desc = descParts.join(' - ');
+ data.push({
+ type: 'option',
+ pre: pre,
+ desc: desc,
+ descLen: desc.length
+ });
+ preLen = pre.length;
+ optionCount++;
+ totalPreLen += preLen;
+ preLens.push(preLen);
+ }
+ }
+ }
+ sortedPreLens = sort(preLens);
+ maxPreLen = sortedPreLens[sortedPreLens.length - 1];
+ preLenMean = initialIndent + totalPreLen / optionCount;
+ x = optionCount > 2 ? min(preLenMean * maxPadFactor, maxPreLen) : maxPreLen;
+ for (i$ = sortedPreLens.length - 1; i$ >= 0; --i$) {
+ preLen = sortedPreLens[i$];
+ if (preLen <= x) {
+ padAmount = preLen;
+ break;
+ }
+ }
+ descSepLen = descriptionSeparator.length;
+ if (maxWidth != null) {
+ fullWrapCount = 0;
+ partialWrapCount = 0;
+ for (i$ = 0, len$ = data.length; i$ < len$; ++i$) {
+ item = data[i$];
+ if (item.type === 'option') {
+ pre = item.pre, desc = item.desc, descLen = item.descLen;
+ if (descLen === 0) {
+ item.wrap = 'none';
+ } else {
+ preLen = max(padAmount, pre.length) + initialIndent + descSepLen;
+ totalLen = preLen + descLen;
+ if (totalLen > maxWidth) {
+ if (descLen / 2.5 > maxWidth - preLen) {
+ fullWrapCount++;
+ item.wrap = 'full';
+ } else {
+ partialWrapCount++;
+ item.wrap = 'partial';
+ }
+ } else {
+ item.wrap = 'none';
+ }
+ }
+ }
+ }
+ }
+ initialSpace = repeatString$(' ', initialIndent);
+ wrapAllFull = optionCount > 1 && fullWrapCount + partialWrapCount * 0.5 > optionCount * 0.5;
+ for (i$ = 0, len$ = data.length; i$ < len$; ++i$) {
+ i = i$;
+ item = data[i$];
+ if (item.type === 'heading') {
+ if (i !== 0) {
+ out();
+ }
+ out(item.value + ":");
+ } else {
+ pre = item.pre, desc = item.desc, descLen = item.descLen, wrap = item.wrap;
+ if (maxWidth != null) {
+ if (wrapAllFull || wrap === 'full') {
+ wrap = wordwrap(initialIndent + secondaryIndent, maxWidth);
+ out(initialSpace + "" + pre + "\n" + wrap(desc));
+ continue;
+ } else if (wrap === 'partial') {
+ wrap = wordwrap(initialIndent + descSepLen + max(padAmount, pre.length), maxWidth);
+ out(initialSpace + "" + pad(pre, padAmount) + descriptionSeparator + wrap(desc).replace(/^\s+/, ''));
+ continue;
+ }
+ }
+ if (descLen === 0) {
+ out(initialSpace + "" + pre);
+ } else {
+ out(initialSpace + "" + pad(pre, padAmount) + descriptionSeparator + desc);
+ }
+ }
+ }
+ if (append) {
+ out();
+ out(interpolate ? interp(append, interpolate) : append);
+ }
+ return unlines(output);
+ };
+ };
+ function pad(str, num){
+ var len, padAmount;
+ len = str.length;
+ padAmount = num - len;
+ return str + "" + repeatString$(' ', padAmount > 0 ? padAmount : 0);
+ }
+ function sentencize(str){
+ var first, rest, period;
+ first = str.charAt(0).toUpperCase();
+ rest = str.slice(1);
+ period = /[\.!\?]$/.test(str) ? '' : '.';
+ return first + "" + rest + period;
+ }
+ function interp(string, object){
+ return string.replace(/{{([a-zA-Z$_][a-zA-Z$_0-9]*)}}/g, function(arg$, key){
+ var ref$;
+ return (ref$ = object[key]) != null
+ ? ref$
+ : "{{" + key + "}}";
+ });
+ }
+ module.exports = {
+ generateHelp: generateHelp,
+ generateHelpForOption: generateHelpForOption
+ };
+ function repeatString$(str, n){
+ for (var r = ''; n > 0; (n >>= 1) && (str += str)) if (n & 1) r += str;
+ return r;
+ }
+}).call(this);
diff --git a/tools/node_modules/eslint/node_modules/optionator/lib/index.js b/tools/node_modules/eslint/node_modules/optionator/lib/index.js
new file mode 100644
index 0000000000..d947286c76
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/lib/index.js
@@ -0,0 +1,465 @@
+// Generated by LiveScript 1.5.0
+(function(){
+ var VERSION, ref$, id, map, compact, any, groupBy, partition, chars, isItNaN, keys, Obj, camelize, deepIs, closestString, nameToRaw, dasherize, naturalJoin, generateHelp, generateHelpForOption, parsedTypeCheck, parseType, parseLevn, camelizeKeys, parseString, main, toString$ = {}.toString, slice$ = [].slice;
+ VERSION = '0.8.2';
+ ref$ = require('prelude-ls'), id = ref$.id, map = ref$.map, compact = ref$.compact, any = ref$.any, groupBy = ref$.groupBy, partition = ref$.partition, chars = ref$.chars, isItNaN = ref$.isItNaN, keys = ref$.keys, Obj = ref$.Obj, camelize = ref$.camelize;
+ deepIs = require('deep-is');
+ ref$ = require('./util'), closestString = ref$.closestString, nameToRaw = ref$.nameToRaw, dasherize = ref$.dasherize, naturalJoin = ref$.naturalJoin;
+ ref$ = require('./help'), generateHelp = ref$.generateHelp, generateHelpForOption = ref$.generateHelpForOption;
+ ref$ = require('type-check'), parsedTypeCheck = ref$.parsedTypeCheck, parseType = ref$.parseType;
+ parseLevn = require('levn').parsedTypeParse;
+ camelizeKeys = function(obj){
+ var key, value, resultObj$ = {};
+ for (key in obj) {
+ value = obj[key];
+ resultObj$[camelize(key)] = value;
+ }
+ return resultObj$;
+ };
+ parseString = function(string){
+ var assignOpt, regex, replaceRegex, result, this$ = this;
+ assignOpt = '--?[a-zA-Z][-a-z-A-Z0-9]*=';
+ regex = RegExp('(?:' + assignOpt + ')?(?:\'(?:\\\\\'|[^\'])+\'|"(?:\\\\"|[^"])+")|[^\'"\\s]+', 'g');
+ replaceRegex = RegExp('^(' + assignOpt + ')?[\'"]([\\s\\S]*)[\'"]$');
+ result = map(function(it){
+ return it.replace(replaceRegex, '$1$2');
+ }, string.match(regex) || []);
+ return result;
+ };
+ main = function(libOptions){
+ var opts, defaults, required, traverse, getOption, parse;
+ opts = {};
+ defaults = {};
+ required = [];
+ if (toString$.call(libOptions.stdout).slice(8, -1) === 'Undefined') {
+ libOptions.stdout = process.stdout;
+ }
+ libOptions.positionalAnywhere == null && (libOptions.positionalAnywhere = true);
+ libOptions.typeAliases == null && (libOptions.typeAliases = {});
+ libOptions.defaults == null && (libOptions.defaults = {});
+ if (libOptions.concatRepeatedArrays != null) {
+ libOptions.defaults.concatRepeatedArrays = libOptions.concatRepeatedArrays;
+ }
+ if (libOptions.mergeRepeatedObjects != null) {
+ libOptions.defaults.mergeRepeatedObjects = libOptions.mergeRepeatedObjects;
+ }
+ traverse = function(options){
+ var i$, len$, option, name, k, ref$, v, type, that, e, parsedPossibilities, parsedType, j$, len1$, possibility, rawDependsType, dependsOpts, dependsType, cra, alias, shortNames, longNames, this$ = this;
+ if (toString$.call(options).slice(8, -1) !== 'Array') {
+ throw new Error('No options defined.');
+ }
+ for (i$ = 0, len$ = options.length; i$ < len$; ++i$) {
+ option = options[i$];
+ if (option.heading == null) {
+ name = option.option;
+ if (opts[name] != null) {
+ throw new Error("Option '" + name + "' already defined.");
+ }
+ for (k in ref$ = libOptions.defaults) {
+ v = ref$[k];
+ option[k] == null && (option[k] = v);
+ }
+ if (option.type === 'Boolean') {
+ option.boolean == null && (option.boolean = true);
+ }
+ if (option.parsedType == null) {
+ if (!option.type) {
+ throw new Error("No type defined for option '" + name + "'.");
+ }
+ try {
+ type = (that = libOptions.typeAliases[option.type]) != null
+ ? that
+ : option.type;
+ option.parsedType = parseType(type);
+ } catch (e$) {
+ e = e$;
+ throw new Error("Option '" + name + "': Error parsing type '" + option.type + "': " + e.message);
+ }
+ }
+ if (option['default']) {
+ try {
+ defaults[name] = parseLevn(option.parsedType, option['default']);
+ } catch (e$) {
+ e = e$;
+ throw new Error("Option '" + name + "': Error parsing default value '" + option['default'] + "' for type '" + option.type + "': " + e.message);
+ }
+ }
+ if (option['enum'] && !option.parsedPossiblities) {
+ parsedPossibilities = [];
+ parsedType = option.parsedType;
+ for (j$ = 0, len1$ = (ref$ = option['enum']).length; j$ < len1$; ++j$) {
+ possibility = ref$[j$];
+ try {
+ parsedPossibilities.push(parseLevn(parsedType, possibility));
+ } catch (e$) {
+ e = e$;
+ throw new Error("Option '" + name + "': Error parsing enum value '" + possibility + "' for type '" + option.type + "': " + e.message);
+ }
+ }
+ option.parsedPossibilities = parsedPossibilities;
+ }
+ if (that = option.dependsOn) {
+ if (that.length) {
+ ref$ = [].concat(option.dependsOn), rawDependsType = ref$[0], dependsOpts = slice$.call(ref$, 1);
+ dependsType = rawDependsType.toLowerCase();
+ if (dependsOpts.length) {
+ if (dependsType === 'and' || dependsType === 'or') {
+ option.dependsOn = [dependsType].concat(slice$.call(dependsOpts));
+ } else {
+ throw new Error("Option '" + name + "': If you have more than one dependency, you must specify either 'and' or 'or'");
+ }
+ } else {
+ if ((ref$ = dependsType.toLowerCase()) === 'and' || ref$ === 'or') {
+ option.dependsOn = null;
+ } else {
+ option.dependsOn = ['and', rawDependsType];
+ }
+ }
+ } else {
+ option.dependsOn = null;
+ }
+ }
+ if (option.required) {
+ required.push(name);
+ }
+ opts[name] = option;
+ if (option.concatRepeatedArrays != null) {
+ cra = option.concatRepeatedArrays;
+ if ('Boolean' === toString$.call(cra).slice(8, -1)) {
+ option.concatRepeatedArrays = [cra, {}];
+ } else if (cra.length === 1) {
+ option.concatRepeatedArrays = [cra[0], {}];
+ } else if (cra.length !== 2) {
+ throw new Error("Invalid setting for concatRepeatedArrays");
+ }
+ }
+ if (option.alias || option.aliases) {
+ if (name === 'NUM') {
+ throw new Error("-NUM option can't have aliases.");
+ }
+ if (option.alias) {
+ option.aliases == null && (option.aliases = [].concat(option.alias));
+ }
+ for (j$ = 0, len1$ = (ref$ = option.aliases).length; j$ < len1$; ++j$) {
+ alias = ref$[j$];
+ if (opts[alias] != null) {
+ throw new Error("Option '" + alias + "' already defined.");
+ }
+ opts[alias] = option;
+ }
+ ref$ = partition(fn$, option.aliases), shortNames = ref$[0], longNames = ref$[1];
+ option.shortNames == null && (option.shortNames = shortNames);
+ option.longNames == null && (option.longNames = longNames);
+ }
+ if ((!option.aliases || option.shortNames.length === 0) && option.type === 'Boolean' && option['default'] === 'true') {
+ option.negateName = true;
+ }
+ }
+ }
+ function fn$(it){
+ return it.length === 1;
+ }
+ };
+ traverse(libOptions.options);
+ getOption = function(name){
+ var opt, possiblyMeant;
+ opt = opts[name];
+ if (opt == null) {
+ possiblyMeant = closestString(keys(opts), name);
+ throw new Error("Invalid option '" + nameToRaw(name) + "'" + (possiblyMeant ? " - perhaps you meant '" + nameToRaw(possiblyMeant) + "'?" : '.'));
+ }
+ return opt;
+ };
+ parse = function(input, arg$){
+ var slice, obj, positional, restPositional, overrideRequired, prop, setValue, setDefaults, checkRequired, mutuallyExclusiveError, checkMutuallyExclusive, checkDependency, checkDependencies, checkProp, args, key, value, option, ref$, i$, len$, arg, that, result, short, argName, usingAssign, val, flags, len, j$, len1$, i, flag, opt, name, valPrime, negated, noedName;
+ slice = (arg$ != null
+ ? arg$
+ : {}).slice;
+ obj = {};
+ positional = [];
+ restPositional = false;
+ overrideRequired = false;
+ prop = null;
+ setValue = function(name, value){
+ var opt, val, cra, e, currentType;
+ opt = getOption(name);
+ if (opt.boolean) {
+ val = value;
+ } else {
+ try {
+ cra = opt.concatRepeatedArrays;
+ if (cra != null && cra[0] && cra[1].oneValuePerFlag && opt.parsedType.length === 1 && opt.parsedType[0].structure === 'array') {
+ val = [parseLevn(opt.parsedType[0].of, value)];
+ } else {
+ val = parseLevn(opt.parsedType, value);
+ }
+ } catch (e$) {
+ e = e$;
+ throw new Error("Invalid value for option '" + name + "' - expected type " + opt.type + ", received value: " + value + ".");
+ }
+ if (opt['enum'] && !any(function(it){
+ return deepIs(it, val);
+ }, opt.parsedPossibilities)) {
+ throw new Error("Option " + name + ": '" + val + "' not one of " + naturalJoin(opt['enum']) + ".");
+ }
+ }
+ currentType = toString$.call(obj[name]).slice(8, -1);
+ if (obj[name] != null) {
+ if (opt.concatRepeatedArrays != null && opt.concatRepeatedArrays[0] && currentType === 'Array') {
+ obj[name] = obj[name].concat(val);
+ } else if (opt.mergeRepeatedObjects && currentType === 'Object') {
+ import$(obj[name], val);
+ } else {
+ obj[name] = val;
+ }
+ } else {
+ obj[name] = val;
+ }
+ if (opt.restPositional) {
+ restPositional = true;
+ }
+ if (opt.overrideRequired) {
+ overrideRequired = true;
+ }
+ };
+ setDefaults = function(){
+ var name, ref$, value;
+ for (name in ref$ = defaults) {
+ value = ref$[name];
+ if (obj[name] == null) {
+ obj[name] = value;
+ }
+ }
+ };
+ checkRequired = function(){
+ var i$, ref$, len$, name;
+ if (overrideRequired) {
+ return;
+ }
+ for (i$ = 0, len$ = (ref$ = required).length; i$ < len$; ++i$) {
+ name = ref$[i$];
+ if (!obj[name]) {
+ throw new Error("Option " + nameToRaw(name) + " is required.");
+ }
+ }
+ };
+ mutuallyExclusiveError = function(first, second){
+ throw new Error("The options " + nameToRaw(first) + " and " + nameToRaw(second) + " are mutually exclusive - you cannot use them at the same time.");
+ };
+ checkMutuallyExclusive = function(){
+ var rules, i$, len$, rule, present, j$, len1$, element, k$, len2$, opt;
+ rules = libOptions.mutuallyExclusive;
+ if (!rules) {
+ return;
+ }
+ for (i$ = 0, len$ = rules.length; i$ < len$; ++i$) {
+ rule = rules[i$];
+ present = null;
+ for (j$ = 0, len1$ = rule.length; j$ < len1$; ++j$) {
+ element = rule[j$];
+ if (toString$.call(element).slice(8, -1) === 'Array') {
+ for (k$ = 0, len2$ = element.length; k$ < len2$; ++k$) {
+ opt = element[k$];
+ if (opt in obj) {
+ if (present != null) {
+ mutuallyExclusiveError(present, opt);
+ } else {
+ present = opt;
+ break;
+ }
+ }
+ }
+ } else {
+ if (element in obj) {
+ if (present != null) {
+ mutuallyExclusiveError(present, element);
+ } else {
+ present = element;
+ }
+ }
+ }
+ }
+ }
+ };
+ checkDependency = function(option){
+ var dependsOn, type, targetOptionNames, i$, len$, targetOptionName, targetOption;
+ dependsOn = option.dependsOn;
+ if (!dependsOn || option.dependenciesMet) {
+ return true;
+ }
+ type = dependsOn[0], targetOptionNames = slice$.call(dependsOn, 1);
+ for (i$ = 0, len$ = targetOptionNames.length; i$ < len$; ++i$) {
+ targetOptionName = targetOptionNames[i$];
+ targetOption = obj[targetOptionName];
+ if (targetOption && checkDependency(targetOption)) {
+ if (type === 'or') {
+ return true;
+ }
+ } else if (type === 'and') {
+ throw new Error("The option '" + option.option + "' did not have its dependencies met.");
+ }
+ }
+ if (type === 'and') {
+ return true;
+ } else {
+ throw new Error("The option '" + option.option + "' did not meet any of its dependencies.");
+ }
+ };
+ checkDependencies = function(){
+ var name;
+ for (name in obj) {
+ checkDependency(opts[name]);
+ }
+ };
+ checkProp = function(){
+ if (prop) {
+ throw new Error("Value for '" + prop + "' of type '" + getOption(prop).type + "' required.");
+ }
+ };
+ switch (toString$.call(input).slice(8, -1)) {
+ case 'String':
+ args = parseString(input.slice(slice != null ? slice : 0));
+ break;
+ case 'Array':
+ args = input.slice(slice != null ? slice : 2);
+ break;
+ case 'Object':
+ obj = {};
+ for (key in input) {
+ value = input[key];
+ if (key !== '_') {
+ option = getOption(dasherize(key));
+ if (parsedTypeCheck(option.parsedType, value)) {
+ obj[option.option] = value;
+ } else {
+ throw new Error("Option '" + option.option + "': Invalid type for '" + value + "' - expected type '" + option.type + "'.");
+ }
+ }
+ }
+ checkMutuallyExclusive();
+ checkDependencies();
+ setDefaults();
+ checkRequired();
+ return ref$ = camelizeKeys(obj), ref$._ = input._ || [], ref$;
+ default:
+ throw new Error("Invalid argument to 'parse': " + input + ".");
+ }
+ for (i$ = 0, len$ = args.length; i$ < len$; ++i$) {
+ arg = args[i$];
+ if (arg === '--') {
+ restPositional = true;
+ } else if (restPositional) {
+ positional.push(arg);
+ } else {
+ if (that = arg.match(/^(--?)([a-zA-Z][-a-zA-Z0-9]*)(=)?(.*)?$/)) {
+ result = that;
+ checkProp();
+ short = result[1].length === 1;
+ argName = result[2];
+ usingAssign = result[3] != null;
+ val = result[4];
+ if (usingAssign && val == null) {
+ throw new Error("No value for '" + argName + "' specified.");
+ }
+ if (short) {
+ flags = chars(argName);
+ len = flags.length;
+ for (j$ = 0, len1$ = flags.length; j$ < len1$; ++j$) {
+ i = j$;
+ flag = flags[j$];
+ opt = getOption(flag);
+ name = opt.option;
+ if (restPositional) {
+ positional.push(flag);
+ } else if (i === len - 1) {
+ if (usingAssign) {
+ valPrime = opt.boolean ? parseLevn([{
+ type: 'Boolean'
+ }], val) : val;
+ setValue(name, valPrime);
+ } else if (opt.boolean) {
+ setValue(name, true);
+ } else {
+ prop = name;
+ }
+ } else if (opt.boolean) {
+ setValue(name, true);
+ } else {
+ throw new Error("Can't set argument '" + flag + "' when not last flag in a group of short flags.");
+ }
+ }
+ } else {
+ negated = false;
+ if (that = argName.match(/^no-(.+)$/)) {
+ negated = true;
+ noedName = that[1];
+ opt = getOption(noedName);
+ } else {
+ opt = getOption(argName);
+ }
+ name = opt.option;
+ if (opt.boolean) {
+ valPrime = usingAssign ? parseLevn([{
+ type: 'Boolean'
+ }], val) : true;
+ if (negated) {
+ setValue(name, !valPrime);
+ } else {
+ setValue(name, valPrime);
+ }
+ } else {
+ if (negated) {
+ throw new Error("Only use 'no-' prefix for Boolean options, not with '" + noedName + "'.");
+ }
+ if (usingAssign) {
+ setValue(name, val);
+ } else {
+ prop = name;
+ }
+ }
+ }
+ } else if (that = arg.match(/^-([0-9]+(?:\.[0-9]+)?)$/)) {
+ opt = opts.NUM;
+ if (!opt) {
+ throw new Error('No -NUM option defined.');
+ }
+ setValue(opt.option, that[1]);
+ } else {
+ if (prop) {
+ setValue(prop, arg);
+ prop = null;
+ } else {
+ positional.push(arg);
+ if (!libOptions.positionalAnywhere) {
+ restPositional = true;
+ }
+ }
+ }
+ }
+ }
+ checkProp();
+ checkMutuallyExclusive();
+ checkDependencies();
+ setDefaults();
+ checkRequired();
+ return ref$ = camelizeKeys(obj), ref$._ = positional, ref$;
+ };
+ return {
+ parse: parse,
+ parseArgv: function(it){
+ return parse(it, {
+ slice: 2
+ });
+ },
+ generateHelp: generateHelp(libOptions),
+ generateHelpForOption: generateHelpForOption(getOption, libOptions)
+ };
+ };
+ main.VERSION = VERSION;
+ module.exports = main;
+ function import$(obj, src){
+ var own = {}.hasOwnProperty;
+ for (var key in src) if (own.call(src, key)) obj[key] = src[key];
+ return obj;
+ }
+}).call(this);
diff --git a/tools/node_modules/eslint/node_modules/optionator/lib/util.js b/tools/node_modules/eslint/node_modules/optionator/lib/util.js
new file mode 100644
index 0000000000..d5c972def1
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/lib/util.js
@@ -0,0 +1,54 @@
+// Generated by LiveScript 1.5.0
+(function(){
+ var prelude, map, sortBy, fl, closestString, nameToRaw, dasherize, naturalJoin;
+ prelude = require('prelude-ls'), map = prelude.map, sortBy = prelude.sortBy;
+ fl = require('fast-levenshtein');
+ closestString = function(possibilities, input){
+ var distances, ref$, string, distance, this$ = this;
+ if (!possibilities.length) {
+ return;
+ }
+ distances = map(function(it){
+ var ref$, longer, shorter;
+ ref$ = input.length > it.length
+ ? [input, it]
+ : [it, input], longer = ref$[0], shorter = ref$[1];
+ return {
+ string: it,
+ distance: fl.get(longer, shorter)
+ };
+ })(
+ possibilities);
+ ref$ = sortBy(function(it){
+ return it.distance;
+ }, distances)[0], string = ref$.string, distance = ref$.distance;
+ return string;
+ };
+ nameToRaw = function(name){
+ if (name.length === 1 || name === 'NUM') {
+ return "-" + name;
+ } else {
+ return "--" + name;
+ }
+ };
+ dasherize = function(string){
+ if (/^[A-Z]/.test(string)) {
+ return string;
+ } else {
+ return prelude.dasherize(string);
+ }
+ };
+ naturalJoin = function(array){
+ if (array.length < 3) {
+ return array.join(' or ');
+ } else {
+ return array.slice(0, -1).join(', ') + ", or " + array[array.length - 1];
+ }
+ };
+ module.exports = {
+ closestString: closestString,
+ nameToRaw: nameToRaw,
+ dasherize: dasherize,
+ naturalJoin: naturalJoin
+ };
+}).call(this);
diff --git a/tools/node_modules/eslint/node_modules/optionator/package.json b/tools/node_modules/eslint/node_modules/optionator/package.json
new file mode 100644
index 0000000000..159d418643
--- /dev/null
+++ b/tools/node_modules/eslint/node_modules/optionator/package.json
@@ -0,0 +1,74 @@
+{
+ "_from": "optionator@^0.8.2",
+ "_id": "optionator@0.8.2",
+ "_inBundle": false,
+ "_integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+ "_location": "/eslint/optionator",
+ "_phantomChildren": {},
+ "_requested": {
+ "type": "range",
+ "registry": true,
+ "raw": "optionator@^0.8.2",
+ "name": "optionator",
+ "escapedName": "optionator",
+ "rawSpec": "^0.8.2",
+ "saveSpec": null,
+ "fetchSpec": "^0.8.2"
+ },
+ "_requiredBy": [
+ "/eslint"
+ ],
+ "_resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
+ "_shasum": "364c5e409d3f4d6301d6c0b4c05bba50180aeb64",
+ "_spec": "optionator@^0.8.2",
+ "_where": "/Users/cjihrig/iojs/node/tools/eslint-tmp/node_modules/eslint",
+ "author": {
+ "name": "George Zahariev",
+ "email": "z@georgezahariev.com"
+ },
+ "bugs": {
+ "url": "https://github.com/gkz/optionator/issues"
+ },
+ "bundleDependencies": false,
+ "dependencies": {
+ "deep-is": "~0.1.3",
+ "fast-levenshtein": "~2.0.4",
+ "levn": "~0.3.0",
+ "prelude-ls": "~1.1.2",
+ "type-check": "~0.3.2",
+ "wordwrap": "~1.0.0"
+ },
+ "deprecated": false,
+ "description": "option parsing and help generation",
+ "devDependencies": {
+ "istanbul": "~0.4.1",
+ "livescript": "~1.5.0",
+ "mocha": "~3.0.2"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ },
+ "files": [
+ "lib",
+ "README.md",
+ "LICENSE"
+ ],
+ "homepage": "https://github.com/gkz/optionator",
+ "keywords": [
+ "options",
+ "flags",
+ "option parsing",
+ "cli"
+ ],
+ "license": "MIT",
+ "main": "./lib/",
+ "name": "optionator",
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/gkz/optionator.git"
+ },
+ "scripts": {
+ "test": "make test"
+ },
+ "version": "0.8.2"
+}