├── .gitignore
├── Chain.sketchplugin
└── Contents
│ ├── Resources
│ └── icon.icns
│ └── Sketch
│ ├── Chain.cocoascript
│ ├── build
│ ├── Chain.js
│ ├── ChainManager.js
│ ├── Dialog.js
│ ├── Main.js
│ └── Utils.js
│ ├── manifest.json
│ ├── package-lock.json
│ ├── package.json
│ └── src
│ ├── Chain.js
│ ├── ChainManager.js
│ ├── Dialog.js
│ ├── Main.js
│ └── Utils.js
├── LICENSE.txt
├── README.md
└── appcast.xml
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | Chain\.sketchplugin/Contents/Sketch/node_modules/
3 |
4 | \.DS_Store
5 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Resources/icon.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lalomts/Chain/3476f13878324b22c3f8d03f4f59518df6d2ea28/Chain.sketchplugin/Contents/Resources/icon.icns
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/Chain.cocoascript:
--------------------------------------------------------------------------------
1 | @import "build/Utils.js";
2 | @import "build/Dialog.js";
3 | @import "build/ChainManager.js";
4 | @import "build/Chain.js";
5 | @import "build/Main.js";
6 |
7 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/build/Chain.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4 |
5 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6 |
7 | // Chain Components:
8 | // - guideLayer: Layer containing the color reference.
9 | // - referenceTarget: The property containing the color reference inside the layer. Possible values: Fill, Border.
10 | // - chainedLayer: Layer to perform the chained change.
11 | // - type: What type of color change to perform. Possible values: Hue, Saturation, Brightness, Alpha.
12 | // - target: The property to change. Possible values: Fill, Border.
13 | // - value: How much to change the color (expressed in percentage (for Bright/Satur/Alpha)) and in a number between -100 and 100 for Hue.
14 | // - timestamp: Chain creation time.
15 |
16 | var Chain = function () {
17 | function Chain(type, guideLayer, referenceTarget, chainedLayer, target, value, timestamp) {
18 | _classCallCheck(this, Chain);
19 |
20 | this.type = type;
21 | this.guideLayer = guideLayer;
22 | this.referenceTarget = referenceTarget;
23 | this.chainedLayer = chainedLayer;
24 | this.target = target;
25 | this.value = value;
26 | this.timestamp = timestamp;
27 | }
28 |
29 | _createClass(Chain, null, [{
30 | key: 'run',
31 | value: function run(chain, context) {
32 | var success = void 0;
33 | //Find the necesary layers
34 | var guide = context.document.documentData().layerWithID(chain.guideLayer);
35 | var chained = context.document.documentData().layerWithID(chain.chainedLayer);
36 |
37 | if (guide && chained) {
38 | //Get the reference color and the target color.
39 | var guideColor = Chain.getColorFrom(guide, chain.referenceTarget);
40 | var chainedColor = Chain.getColorFrom(chained, chain.target);
41 |
42 | if (guideColor && chainedColor) {
43 | //Modify the specified values and set color back again.
44 | var linkedColor = Chain.transformColor(guideColor, chainedColor, chain.type, chain.value);
45 | Chain.setColorTo(linkedColor, chained, chain.target);
46 | success = true;
47 | } else {
48 | success = false;
49 | log('Could not find colors.');
50 | }
51 | } else {
52 | success == false;
53 | log('Could not update chain');
54 | };
55 | return success;
56 | }
57 | }, {
58 | key: 'setColorTo',
59 | value: function setColorTo(color, layer, target) {
60 |
61 | if (target == "Fill") {
62 |
63 | if (layer.class() == "MSTextLayer") {
64 | // If the layer if text, set the text color instead.
65 | layer.setTextColor(color);
66 | } else {
67 | layer.style().fills().firstObject().color = color;
68 | }
69 | return;
70 | } else if (target == "Border") {
71 |
72 | var border = layer.style().borders().firstObject();
73 |
74 | if (border && border.isEnabled()) {
75 | border.color = color;
76 | } else {
77 | log('Could not set border.');
78 | }
79 | } else {
80 | log("Chain: Tried to update unrecognized layer property.");
81 | }
82 | }
83 | }, {
84 | key: 'getColorFrom',
85 | value: function getColorFrom(layer, target) {
86 |
87 | if (target == "Fill") {
88 | // If the layer if text, get the text color instead.
89 | if (layer.class() == "MSTextLayer") {
90 | return layer.textColor();
91 | } else {
92 | return layer.style().fills().firstObject().color();
93 | }
94 | } else if (target == "Border") {
95 | var border = layer.style().borders().firstObject();
96 |
97 | if (border && border.isEnabled()) {
98 | return layer.style().borders().firstObject().color();
99 | } else {
100 | log("Could not get border");
101 | }
102 | } else {
103 | log("Chain: Tried to get urecognized layer property.");
104 | }
105 | }
106 | }, {
107 | key: 'transformColor',
108 | value: function transformColor(guideColor, chainedColor, type, value) {
109 |
110 | var h = type == "Hue" ? Chain.normalizeHue(guideColor.hue(), value) : chainedColor.hue(),
111 | s = type == "Saturation" ? guideColor.saturation() * value : chainedColor.saturation(),
112 | b = type == "Brightness" ? guideColor.brightness() * value : chainedColor.brightness(),
113 | a = type == "Alpha" ? guideColor.alpha() * value : chainedColor.alpha();
114 |
115 | return MSColor.colorWithHue_saturation_brightness_alpha(h, s, b, a);
116 | }
117 | //Makes the value wrap between 0 and 1.
118 |
119 | }, {
120 | key: 'normalizeHue',
121 | value: function normalizeHue(hue, transform) {
122 | var addition = hue + transform - 1;
123 | if (addition > 1) {
124 | return addition - 1;
125 | } else if (addition < 0) {
126 | return addition + 1;
127 | } else {
128 | return addition;
129 | };
130 | }
131 | }]);
132 |
133 | return Chain;
134 | }();
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/build/ChainManager.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4 |
5 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6 |
7 | var ChainManager = function () {
8 | function ChainManager(context) {
9 | _classCallCheck(this, ChainManager);
10 |
11 | this.context = context;
12 | this.sketch = this.context.api();
13 | this.document = this.sketch.selectedDocument;
14 | this.selection = this.context.selection;
15 | this.command = this.context.command;
16 | this.pluginID = this.context.plugin.identifier();
17 | this.docData = context.document.documentData();
18 | plugin = this.context.plugin;
19 |
20 | this.LAYER_CHAINS_KEY = 'layer-chains';
21 | }
22 |
23 | _createClass(ChainManager, [{
24 | key: "newChain",
25 | value: function newChain() {
26 | var _this = this;
27 |
28 | var layers = this.selection;
29 |
30 | if (layers.count() < 2) {
31 | Dialog.newInformationDialog("Oops!", "Please select at least two layers to chain.");
32 | return;
33 | }
34 |
35 | var userInput = Dialog.newChainCreator(layers);
36 | switch (userInput.responseCode) {
37 | case 1000:
38 | //User clicks create chain
39 |
40 | each(layers, function (layer) {
41 | if (layer.objectID() != userInput.guideLayer) {
42 | userInput.targets.forEach(function (target) {
43 | var chain = new Chain(userInput.type, userInput.guideLayer, userInput.referenceTarget, layer.objectID(), target, userInput.value, Date.now());
44 | _this.saveChain(chain);
45 | });
46 | };
47 | });
48 | break;
49 |
50 | default:
51 | //Just close the dialog
52 | break;
53 | };
54 | }
55 | }, {
56 | key: "saveChain",
57 | value: function saveChain(chain) {
58 |
59 | var chains = this.getStoredChains();
60 | var matchingChain = this.findChainWithMatchingTarget(chains, chain);
61 |
62 | if (matchingChain) {
63 | removeItemFromArray(chains, matchingChain); //Remove chain with same layers, type and target.
64 | }
65 |
66 | chains.push(chain);
67 |
68 | var relatedChains = chains.filter(function (c) {
69 | return c.chainedLayer == chain.chainedLayer && c.target == chain.target;
70 | });
71 | //Run all the chains with the same layer and target.
72 | this.runChains(relatedChains, function (chain, success) {
73 | if (!success) {
74 | removeItemFromArray(chains, chain);
75 | log('Removing...');
76 | }
77 | });
78 | return this.setStoredChains(chains);
79 | }
80 | }, {
81 | key: "removeChainsBetweenSelectedLayers",
82 | value: function removeChainsBetweenSelectedLayers() {
83 | var layers = this.selection;
84 |
85 | if (layers.count() != 2) {
86 | Dialog.newInformationDialog("Cannot remove chains", "Please select two layers.");
87 | };
88 |
89 | var chains = this.getStoredChains();
90 | //Filter all chains that relate the two selected layers.
91 | var filteredChains = chains.filter(function (chain) {
92 | return !(chain.guideLayer == layers[0].objectID() && chain.chainedLayer == layers[1].objectID() || chain.guideLayer == layers[1].objectID() && chain.chainedLayer == layers[0].objectID());
93 | });
94 | this.setStoredChains(filteredChains);
95 | this.context.document.showMessage("Selected chains were removed.");
96 | }
97 | }, {
98 | key: "updateAllChains",
99 | value: function updateAllChains() {
100 | var chains = this.getStoredChains();
101 |
102 | if (chains.length > 0) {
103 | this.runChains(chains, function (chain, success) {
104 | if (!success) {
105 | removeItemFromArray(chains, chain);
106 | log('Removing...');
107 | }
108 | });
109 | this.setStoredChains(chains);
110 | this.context.document.showMessage("Chains updated!");
111 | } else {
112 | Dialog.newInformationDialog("Oops!", "There are no chained layers in this document.");
113 | };
114 | }
115 | }, {
116 | key: "runChains",
117 | value: function runChains(chains, callback) {
118 | var _this2 = this;
119 |
120 | var sorted = chains.sort(function (a, b) {
121 | return a - b;
122 | }); //Sort the chains by the time they were created.
123 | sorted.forEach(function (chain) {
124 | var success = Chain.run(chain, _this2.context); // Perform the chained changes in the chained layer's target.
125 | callback(chain, success);
126 | });
127 | }
128 | }, {
129 | key: "findChainWithMatchingTarget",
130 | value: function findChainWithMatchingTarget(chains, chain) {
131 | var matching = chains.find(function (c) {
132 | if (c.chainedLayer == chain.chainedLayer && c.type == chain.type && c.target == chain.target) {
133 | return true;
134 | } else {
135 | return false;
136 | };
137 | });
138 | return matching;
139 | }
140 | }, {
141 | key: "logChains",
142 | value: function logChains() {
143 | log(this.getStoredChains());
144 | }
145 |
146 | //Storing and retrieving chains from layers.
147 |
148 | }, {
149 | key: "getStoredChains",
150 | value: function getStoredChains() {
151 | var value = this.command.valueForKey_onLayer_forPluginIdentifier(this.LAYER_CHAINS_KEY, this.docData, this.pluginID);
152 | return value ? transformToJavascriptArray(value) : [];
153 | }
154 | }, {
155 | key: "setStoredChains",
156 | value: function setStoredChains(chains) {
157 | return this.command.setValue_forKey_onLayer_forPluginIdentifier(chains, this.LAYER_CHAINS_KEY, this.docData, this.pluginID);
158 | }
159 | }]);
160 |
161 | return ChainManager;
162 | }();
163 |
164 | //Ale y Cass
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/build/Dialog.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
4 |
5 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6 |
7 | var Dialog = function () {
8 | function Dialog() {
9 | _classCallCheck(this, Dialog);
10 | }
11 |
12 | _createClass(Dialog, null, [{
13 | key: "newChainCreator",
14 | value: function newChainCreator(layers) {
15 |
16 | //Creates the alert window
17 | var alert = Dialog.createBasicDialog(true, "Chain");
18 | alert.setMessageText("New Chain");
19 | alert.setInformativeText('Select the type of chain, the layer containing the reference color, enter the color transformation, and choose which properties to update.');
20 |
21 | // Select type of chain
22 | alert.addTextLabelWithValue('Select the type of chain:');
23 |
24 | var types = ["Hue", "Saturation", "Brightness", "Alpha"];
25 | var typeSelection = Dialog.createDropdown(types);
26 | alert.addAccessoryView(typeSelection);
27 |
28 | /////////// Separator
29 | alert.addAccessoryView(Dialog.createSeparator());
30 |
31 | // Select reference layer
32 | alert.addTextLabelWithValue('Select the reference color:');
33 |
34 | var layerNames = map(layers, function (layer) {
35 | return layer.name();
36 | });
37 | var layerSelection = Dialog.createDropdown(layerNames);
38 | alert.addAccessoryView(layerSelection);
39 |
40 | // Select reference target
41 | var allowedRefTargets = ["Fill", "Border"];
42 | var refTargetSelection = Dialog.createRadioMatrix(allowedRefTargets);
43 | alert.addAccessoryView(refTargetSelection);
44 |
45 | /////////// Separator
46 | alert.addAccessoryView(Dialog.createSeparator());
47 |
48 | // Transformation Input
49 | alert.addTextLabelWithValue('Transformation: ');
50 | var valueField = Dialog.createTextField('(+/-) 100');
51 | alert.addAccessoryView(valueField);
52 |
53 | //Sets the target checkboxes
54 | alert.addTextLabelWithValue('Select the properties to chain:');
55 |
56 | var fill = Dialog.createCheckboxWithTitle('Fill');
57 | var border = Dialog.createCheckboxWithTitle('Border', 60);
58 | var checkboxes = [fill, border];
59 |
60 | var checkView = NSView.alloc().initWithFrame(NSMakeRect(0, -10, 300, 22));
61 | checkboxes.forEach(function (checkbox) {
62 | return checkView.addSubview(checkbox);
63 | });
64 | alert.addAccessoryView(checkView);
65 |
66 | //Display the alert
67 | var responseCode = alert.runModal();
68 | var guide = layers[layerSelection.indexOfSelectedItem()]; //Layer selected by user.
69 |
70 | //Return Values
71 | var inputs = {
72 | responseCode: responseCode,
73 | type: typeSelection.objectValueOfSelectedItem(),
74 | guideLayer: guide.objectID(),
75 | referenceTarget: refTargetSelection.selectedCells()[0].title(),
76 | targets: checkboxes.filter(function (target) {
77 | return target.state() != 0;
78 | }).map(function (target) {
79 | return target.title();
80 | }),
81 | value: 1 + valueField.floatValue() / 100.0
82 | };
83 | return inputs;
84 | }
85 |
86 | // UI Creators
87 |
88 | }, {
89 | key: "newInformationDialog",
90 | value: function newInformationDialog(title, message) {
91 | var dialog = Dialog.createBasicDialog(false);
92 | dialog.setMessageText(title);
93 | dialog.setInformativeText(message);
94 |
95 | return dialog.runModal();
96 | }
97 |
98 | // UI
99 |
100 | }, {
101 | key: "createBasicDialog",
102 | value: function createBasicDialog(showsCancel, acceptText) {
103 | var alert = COSAlertWindow.new();
104 |
105 | var iconURL = plugin.urlForResourceNamed("icon.icns").path();
106 | var icon = NSImage.alloc().initByReferencingFile(iconURL);
107 | alert.setIcon(icon);
108 |
109 | alert.addButtonWithTitle(acceptText ? acceptText : 'OK');
110 | if (showsCancel) alert.addButtonWithTitle('Cancel');
111 | return alert;
112 | }
113 | }, {
114 | key: "createTextField",
115 | value: function createTextField(placeholder) {
116 | var textbox = NSTextField.alloc().initWithFrame(NSMakeRect(0, 0, 180, 22));
117 | textbox.placeholderString = placeholder;
118 | textbox.setEditable(true);
119 | textbox.setSelectable(true);
120 | return textbox;
121 | }
122 | }, {
123 | key: "createDropdown",
124 | value: function createDropdown(items) {
125 | var dropdown = NSComboBox.alloc().initWithFrame(NSMakeRect(0, 0, 180, 28));
126 | dropdown.addItemsWithObjectValues(items);
127 | dropdown.setEditable(false);
128 | dropdown.selectItemAtIndex(0);
129 | return dropdown;
130 | }
131 | }, {
132 | key: "createCheckboxWithTitle",
133 | value: function createCheckboxWithTitle(title, xOffset) {
134 |
135 | var offset = xOffset || 0;
136 | var checkbox = NSButton.alloc().initWithFrame(NSMakeRect(offset, 0, 200, 25));
137 | checkbox.setButtonType(NSSwitchButton);
138 | checkbox.setTitle(title);
139 | return checkbox;
140 | }
141 | }, {
142 | key: "createRadioMatrix",
143 | value: function createRadioMatrix(items) {
144 | var buttonCell = NSButtonCell.new();
145 | buttonCell.setButtonType(NSRadioButton);
146 |
147 | var matrix = NSMatrix.alloc().initWithFrame_mode_prototype_numberOfRows_numberOfColumns(NSMakeRect(0, 0, 150, 22), NSRadioModeMatrix, buttonCell, 1, items.length);
148 | matrix.setAutorecalculatesCellSize(true);
149 | var cells = matrix.cells();
150 |
151 | items.forEach(function (item, index) {
152 | cells.objectAtIndex(index).setTitle(item);
153 | });
154 |
155 | return matrix;
156 | }
157 | }, {
158 | key: "createSegmentedControl",
159 | value: function createSegmentedControl(items) {
160 | var segControl = NSSegmentedControl.alloc().initWithFrame(NSMakeRect(0, 0, 300, 22));
161 | segControl.setSegmentCount(items.length);
162 |
163 | items.forEach(function (item, index) {
164 | segControl.setLabel_forSegment(item, index);
165 | segControl.setWidth_forSegment(0, index);
166 | });
167 |
168 | segControl.cell().setTrackingMode(0); //Raw value of NSSegmentSwitchTrackingSelectOne.
169 | segControl.setSelected_forSegment(true, 0);
170 | return segControl;
171 | }
172 | }, {
173 | key: "createSeparator",
174 | value: function createSeparator() {
175 | var separator = NSBox.alloc().initWithFrame(NSMakeRect(0, 0, 250, 10));
176 | separator.setBoxType(2);
177 | return separator;
178 | }
179 | }]);
180 |
181 | return Dialog;
182 | }();
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/build/Main.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | var generateChain = function generateChain(context) {
4 | var manager = new ChainManager(context);
5 | manager.newChain();
6 | };
7 |
8 | var updateAllChains = function updateAllChains(context) {
9 | var manager = new ChainManager(context);
10 | manager.updateAllChains();
11 | };
12 |
13 | var removeChainsBetweenSelected = function removeChainsBetweenSelected(context) {
14 | var manager = new ChainManager(context);
15 | manager.removeChainsBetweenSelectedLayers();
16 | };
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/build/Utils.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 |
3 | //Array Utils
4 |
5 | var removeItemFromArray = function removeItemFromArray(array, item) {
6 | var index = array.indexOf(item);
7 | return array.splice(index, 1);
8 | };
9 |
10 | //Taken from http://sketchplugins.com/d/3-welcome-to-the-site/11
11 | var each = function each(array, handler) {
12 | var count = array.count ? array.count() : array.length;
13 | for (var i = 0; i < count; i++) {
14 | var layer = array[i];
15 | handler(layer, i);
16 | }
17 | };
18 |
19 | var map = function map(array, handler) {
20 | var newArray = NSMutableArray.alloc().init();
21 | each(array, function (item) {
22 | var object = handler(item);
23 | if (object) {
24 | newArray.addObject(object);
25 | }
26 | });
27 | return newArray;
28 | };
29 |
30 | //Transforms an NSArray to Javascript array (hopefully);
31 | var transformToJavascriptArray = function transformToJavascriptArray(array) {
32 | var newArray = [];
33 | each(array, function (item) {
34 | newArray.push(item);
35 | });
36 | return newArray;
37 | };
38 |
39 | var plugin;
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Chain",
3 | "description": "Dynamic color relations inside Sketch.",
4 | "author": "Lalo Mrtnz",
5 | "homepage": "https://github.com/LaloMrtnz/Chain",
6 | "version": "0.9.2",
7 | "appcast": "https://raw.githubusercontent.com/LaloMrtnz/Chain/master/appcast.xml",
8 | "identifier": "com.lalomrtnz.sketch.chain",
9 | "compatibleVersion": "42",
10 | "bundleVersion": "1.0",
11 | "commands" : [
12 | {
13 | "name" : "New Chain",
14 | "script" : "Chain.cocoascript",
15 | "handler" : "generateChain",
16 | "shortcut" : "shift cmd c",
17 | "identifier" : "generateChain"
18 | },
19 | {
20 | "name" : "Update All Chains",
21 | "script" : "Chain.cocoascript",
22 | "handler" : "updateAllChains",
23 | "shortcut" : "shift cmd u",
24 | "identifier" : "updateAllChains"
25 | },
26 | {
27 | "name" : "Remove Chains Between Selected Layers",
28 | "script" : "Chain.cocoascript",
29 | "handler" : "removeChainsBetweenSelected",
30 | "shortcut" : "",
31 | "identifier" : "removeBetweenSelected"
32 | },
33 | ],
34 |
35 | "menu" : {
36 | "title": "Chain",
37 | "items" : [
38 | "generateChain",
39 | "-",
40 | "updateAllChains",
41 | "removeBetweenSelected"
42 | ],
43 | },
44 |
45 | }
46 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/package-lock.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chain",
3 | "version": "0.9.2",
4 | "lockfileVersion": 1,
5 | "requires": true,
6 | "dependencies": {
7 | "ansi-regex": {
8 | "version": "2.1.1",
9 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
10 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",
11 | "dev": true
12 | },
13 | "ansi-styles": {
14 | "version": "2.2.1",
15 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
16 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
17 | "dev": true
18 | },
19 | "anymatch": {
20 | "version": "1.3.2",
21 | "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-1.3.2.tgz",
22 | "integrity": "sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==",
23 | "dev": true,
24 | "optional": true,
25 | "requires": {
26 | "micromatch": "2.3.11",
27 | "normalize-path": "2.1.1"
28 | }
29 | },
30 | "arr-diff": {
31 | "version": "2.0.0",
32 | "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz",
33 | "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=",
34 | "dev": true,
35 | "optional": true,
36 | "requires": {
37 | "arr-flatten": "1.1.0"
38 | }
39 | },
40 | "arr-flatten": {
41 | "version": "1.1.0",
42 | "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz",
43 | "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==",
44 | "dev": true,
45 | "optional": true
46 | },
47 | "array-unique": {
48 | "version": "0.2.1",
49 | "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz",
50 | "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=",
51 | "dev": true,
52 | "optional": true
53 | },
54 | "async-each": {
55 | "version": "1.0.1",
56 | "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.1.tgz",
57 | "integrity": "sha1-GdOGodntxufByF04iu28xW0zYC0=",
58 | "dev": true,
59 | "optional": true
60 | },
61 | "babel-cli": {
62 | "version": "6.26.0",
63 | "resolved": "https://registry.npmjs.org/babel-cli/-/babel-cli-6.26.0.tgz",
64 | "integrity": "sha1-UCq1SHTX24itALiHoGODzgPQAvE=",
65 | "dev": true,
66 | "requires": {
67 | "babel-core": "6.26.0",
68 | "babel-polyfill": "6.26.0",
69 | "babel-register": "6.26.0",
70 | "babel-runtime": "6.26.0",
71 | "chokidar": "1.7.0",
72 | "commander": "2.11.0",
73 | "convert-source-map": "1.5.0",
74 | "fs-readdir-recursive": "1.0.0",
75 | "glob": "7.1.2",
76 | "lodash": "4.17.4",
77 | "output-file-sync": "1.1.2",
78 | "path-is-absolute": "1.0.1",
79 | "slash": "1.0.0",
80 | "source-map": "0.5.6",
81 | "v8flags": "2.1.1"
82 | }
83 | },
84 | "babel-code-frame": {
85 | "version": "6.26.0",
86 | "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
87 | "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=",
88 | "dev": true,
89 | "requires": {
90 | "chalk": "1.1.3",
91 | "esutils": "2.0.2",
92 | "js-tokens": "3.0.2"
93 | }
94 | },
95 | "babel-core": {
96 | "version": "6.26.0",
97 | "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.0.tgz",
98 | "integrity": "sha1-rzL3izGm/O8RnIew/Y2XU/A6C7g=",
99 | "dev": true,
100 | "requires": {
101 | "babel-code-frame": "6.26.0",
102 | "babel-generator": "6.26.0",
103 | "babel-helpers": "6.24.1",
104 | "babel-messages": "6.23.0",
105 | "babel-register": "6.26.0",
106 | "babel-runtime": "6.26.0",
107 | "babel-template": "6.26.0",
108 | "babel-traverse": "6.26.0",
109 | "babel-types": "6.26.0",
110 | "babylon": "6.18.0",
111 | "convert-source-map": "1.5.0",
112 | "debug": "2.6.8",
113 | "json5": "0.5.1",
114 | "lodash": "4.17.4",
115 | "minimatch": "3.0.4",
116 | "path-is-absolute": "1.0.1",
117 | "private": "0.1.7",
118 | "slash": "1.0.0",
119 | "source-map": "0.5.6"
120 | }
121 | },
122 | "babel-generator": {
123 | "version": "6.26.0",
124 | "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.0.tgz",
125 | "integrity": "sha1-rBriAHC3n248odMmlhMFN3TyDcU=",
126 | "dev": true,
127 | "requires": {
128 | "babel-messages": "6.23.0",
129 | "babel-runtime": "6.26.0",
130 | "babel-types": "6.26.0",
131 | "detect-indent": "4.0.0",
132 | "jsesc": "1.3.0",
133 | "lodash": "4.17.4",
134 | "source-map": "0.5.6",
135 | "trim-right": "1.0.1"
136 | }
137 | },
138 | "babel-helper-call-delegate": {
139 | "version": "6.24.1",
140 | "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz",
141 | "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=",
142 | "dev": true,
143 | "requires": {
144 | "babel-helper-hoist-variables": "6.24.1",
145 | "babel-runtime": "6.26.0",
146 | "babel-traverse": "6.26.0",
147 | "babel-types": "6.26.0"
148 | }
149 | },
150 | "babel-helper-define-map": {
151 | "version": "6.26.0",
152 | "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz",
153 | "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=",
154 | "dev": true,
155 | "requires": {
156 | "babel-helper-function-name": "6.24.1",
157 | "babel-runtime": "6.26.0",
158 | "babel-types": "6.26.0",
159 | "lodash": "4.17.4"
160 | }
161 | },
162 | "babel-helper-function-name": {
163 | "version": "6.24.1",
164 | "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz",
165 | "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=",
166 | "dev": true,
167 | "requires": {
168 | "babel-helper-get-function-arity": "6.24.1",
169 | "babel-runtime": "6.26.0",
170 | "babel-template": "6.26.0",
171 | "babel-traverse": "6.26.0",
172 | "babel-types": "6.26.0"
173 | }
174 | },
175 | "babel-helper-get-function-arity": {
176 | "version": "6.24.1",
177 | "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz",
178 | "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=",
179 | "dev": true,
180 | "requires": {
181 | "babel-runtime": "6.26.0",
182 | "babel-types": "6.26.0"
183 | }
184 | },
185 | "babel-helper-hoist-variables": {
186 | "version": "6.24.1",
187 | "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz",
188 | "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=",
189 | "dev": true,
190 | "requires": {
191 | "babel-runtime": "6.26.0",
192 | "babel-types": "6.26.0"
193 | }
194 | },
195 | "babel-helper-optimise-call-expression": {
196 | "version": "6.24.1",
197 | "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz",
198 | "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=",
199 | "dev": true,
200 | "requires": {
201 | "babel-runtime": "6.26.0",
202 | "babel-types": "6.26.0"
203 | }
204 | },
205 | "babel-helper-regex": {
206 | "version": "6.26.0",
207 | "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz",
208 | "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=",
209 | "dev": true,
210 | "requires": {
211 | "babel-runtime": "6.26.0",
212 | "babel-types": "6.26.0",
213 | "lodash": "4.17.4"
214 | }
215 | },
216 | "babel-helper-replace-supers": {
217 | "version": "6.24.1",
218 | "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz",
219 | "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=",
220 | "dev": true,
221 | "requires": {
222 | "babel-helper-optimise-call-expression": "6.24.1",
223 | "babel-messages": "6.23.0",
224 | "babel-runtime": "6.26.0",
225 | "babel-template": "6.26.0",
226 | "babel-traverse": "6.26.0",
227 | "babel-types": "6.26.0"
228 | }
229 | },
230 | "babel-helpers": {
231 | "version": "6.24.1",
232 | "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz",
233 | "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=",
234 | "dev": true,
235 | "requires": {
236 | "babel-runtime": "6.26.0",
237 | "babel-template": "6.26.0"
238 | }
239 | },
240 | "babel-messages": {
241 | "version": "6.23.0",
242 | "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
243 | "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=",
244 | "dev": true,
245 | "requires": {
246 | "babel-runtime": "6.26.0"
247 | }
248 | },
249 | "babel-plugin-check-es2015-constants": {
250 | "version": "6.22.0",
251 | "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz",
252 | "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=",
253 | "dev": true,
254 | "requires": {
255 | "babel-runtime": "6.26.0"
256 | }
257 | },
258 | "babel-plugin-transform-es2015-arrow-functions": {
259 | "version": "6.22.0",
260 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
261 | "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
262 | "dev": true,
263 | "requires": {
264 | "babel-runtime": "6.26.0"
265 | }
266 | },
267 | "babel-plugin-transform-es2015-block-scoped-functions": {
268 | "version": "6.22.0",
269 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz",
270 | "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=",
271 | "dev": true,
272 | "requires": {
273 | "babel-runtime": "6.26.0"
274 | }
275 | },
276 | "babel-plugin-transform-es2015-block-scoping": {
277 | "version": "6.26.0",
278 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz",
279 | "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=",
280 | "dev": true,
281 | "requires": {
282 | "babel-runtime": "6.26.0",
283 | "babel-template": "6.26.0",
284 | "babel-traverse": "6.26.0",
285 | "babel-types": "6.26.0",
286 | "lodash": "4.17.4"
287 | }
288 | },
289 | "babel-plugin-transform-es2015-classes": {
290 | "version": "6.24.1",
291 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz",
292 | "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=",
293 | "dev": true,
294 | "requires": {
295 | "babel-helper-define-map": "6.26.0",
296 | "babel-helper-function-name": "6.24.1",
297 | "babel-helper-optimise-call-expression": "6.24.1",
298 | "babel-helper-replace-supers": "6.24.1",
299 | "babel-messages": "6.23.0",
300 | "babel-runtime": "6.26.0",
301 | "babel-template": "6.26.0",
302 | "babel-traverse": "6.26.0",
303 | "babel-types": "6.26.0"
304 | }
305 | },
306 | "babel-plugin-transform-es2015-computed-properties": {
307 | "version": "6.24.1",
308 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz",
309 | "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=",
310 | "dev": true,
311 | "requires": {
312 | "babel-runtime": "6.26.0",
313 | "babel-template": "6.26.0"
314 | }
315 | },
316 | "babel-plugin-transform-es2015-destructuring": {
317 | "version": "6.23.0",
318 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz",
319 | "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=",
320 | "dev": true,
321 | "requires": {
322 | "babel-runtime": "6.26.0"
323 | }
324 | },
325 | "babel-plugin-transform-es2015-duplicate-keys": {
326 | "version": "6.24.1",
327 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz",
328 | "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=",
329 | "dev": true,
330 | "requires": {
331 | "babel-runtime": "6.26.0",
332 | "babel-types": "6.26.0"
333 | }
334 | },
335 | "babel-plugin-transform-es2015-for-of": {
336 | "version": "6.23.0",
337 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz",
338 | "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=",
339 | "dev": true,
340 | "requires": {
341 | "babel-runtime": "6.26.0"
342 | }
343 | },
344 | "babel-plugin-transform-es2015-function-name": {
345 | "version": "6.24.1",
346 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz",
347 | "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=",
348 | "dev": true,
349 | "requires": {
350 | "babel-helper-function-name": "6.24.1",
351 | "babel-runtime": "6.26.0",
352 | "babel-types": "6.26.0"
353 | }
354 | },
355 | "babel-plugin-transform-es2015-literals": {
356 | "version": "6.22.0",
357 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz",
358 | "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=",
359 | "dev": true,
360 | "requires": {
361 | "babel-runtime": "6.26.0"
362 | }
363 | },
364 | "babel-plugin-transform-es2015-modules-amd": {
365 | "version": "6.24.1",
366 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz",
367 | "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=",
368 | "dev": true,
369 | "requires": {
370 | "babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
371 | "babel-runtime": "6.26.0",
372 | "babel-template": "6.26.0"
373 | }
374 | },
375 | "babel-plugin-transform-es2015-modules-commonjs": {
376 | "version": "6.26.0",
377 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.0.tgz",
378 | "integrity": "sha1-DYOUApt9xqvhqX7xgeAHWN0uXYo=",
379 | "dev": true,
380 | "requires": {
381 | "babel-plugin-transform-strict-mode": "6.24.1",
382 | "babel-runtime": "6.26.0",
383 | "babel-template": "6.26.0",
384 | "babel-types": "6.26.0"
385 | }
386 | },
387 | "babel-plugin-transform-es2015-modules-systemjs": {
388 | "version": "6.24.1",
389 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz",
390 | "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=",
391 | "dev": true,
392 | "requires": {
393 | "babel-helper-hoist-variables": "6.24.1",
394 | "babel-runtime": "6.26.0",
395 | "babel-template": "6.26.0"
396 | }
397 | },
398 | "babel-plugin-transform-es2015-modules-umd": {
399 | "version": "6.24.1",
400 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz",
401 | "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=",
402 | "dev": true,
403 | "requires": {
404 | "babel-plugin-transform-es2015-modules-amd": "6.24.1",
405 | "babel-runtime": "6.26.0",
406 | "babel-template": "6.26.0"
407 | }
408 | },
409 | "babel-plugin-transform-es2015-object-super": {
410 | "version": "6.24.1",
411 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz",
412 | "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=",
413 | "dev": true,
414 | "requires": {
415 | "babel-helper-replace-supers": "6.24.1",
416 | "babel-runtime": "6.26.0"
417 | }
418 | },
419 | "babel-plugin-transform-es2015-parameters": {
420 | "version": "6.24.1",
421 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz",
422 | "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=",
423 | "dev": true,
424 | "requires": {
425 | "babel-helper-call-delegate": "6.24.1",
426 | "babel-helper-get-function-arity": "6.24.1",
427 | "babel-runtime": "6.26.0",
428 | "babel-template": "6.26.0",
429 | "babel-traverse": "6.26.0",
430 | "babel-types": "6.26.0"
431 | }
432 | },
433 | "babel-plugin-transform-es2015-shorthand-properties": {
434 | "version": "6.24.1",
435 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz",
436 | "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=",
437 | "dev": true,
438 | "requires": {
439 | "babel-runtime": "6.26.0",
440 | "babel-types": "6.26.0"
441 | }
442 | },
443 | "babel-plugin-transform-es2015-spread": {
444 | "version": "6.22.0",
445 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz",
446 | "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=",
447 | "dev": true,
448 | "requires": {
449 | "babel-runtime": "6.26.0"
450 | }
451 | },
452 | "babel-plugin-transform-es2015-sticky-regex": {
453 | "version": "6.24.1",
454 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz",
455 | "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=",
456 | "dev": true,
457 | "requires": {
458 | "babel-helper-regex": "6.26.0",
459 | "babel-runtime": "6.26.0",
460 | "babel-types": "6.26.0"
461 | }
462 | },
463 | "babel-plugin-transform-es2015-template-literals": {
464 | "version": "6.22.0",
465 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz",
466 | "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=",
467 | "dev": true,
468 | "requires": {
469 | "babel-runtime": "6.26.0"
470 | }
471 | },
472 | "babel-plugin-transform-es2015-typeof-symbol": {
473 | "version": "6.23.0",
474 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz",
475 | "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=",
476 | "dev": true,
477 | "requires": {
478 | "babel-runtime": "6.26.0"
479 | }
480 | },
481 | "babel-plugin-transform-es2015-unicode-regex": {
482 | "version": "6.24.1",
483 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz",
484 | "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=",
485 | "dev": true,
486 | "requires": {
487 | "babel-helper-regex": "6.26.0",
488 | "babel-runtime": "6.26.0",
489 | "regexpu-core": "2.0.0"
490 | }
491 | },
492 | "babel-plugin-transform-regenerator": {
493 | "version": "6.26.0",
494 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz",
495 | "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=",
496 | "dev": true,
497 | "requires": {
498 | "regenerator-transform": "0.10.1"
499 | }
500 | },
501 | "babel-plugin-transform-strict-mode": {
502 | "version": "6.24.1",
503 | "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz",
504 | "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=",
505 | "dev": true,
506 | "requires": {
507 | "babel-runtime": "6.26.0",
508 | "babel-types": "6.26.0"
509 | }
510 | },
511 | "babel-polyfill": {
512 | "version": "6.26.0",
513 | "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz",
514 | "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=",
515 | "dev": true,
516 | "requires": {
517 | "babel-runtime": "6.26.0",
518 | "core-js": "2.5.0",
519 | "regenerator-runtime": "0.10.5"
520 | },
521 | "dependencies": {
522 | "regenerator-runtime": {
523 | "version": "0.10.5",
524 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz",
525 | "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=",
526 | "dev": true
527 | }
528 | }
529 | },
530 | "babel-preset-es2015": {
531 | "version": "6.24.1",
532 | "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz",
533 | "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=",
534 | "dev": true,
535 | "requires": {
536 | "babel-plugin-check-es2015-constants": "6.22.0",
537 | "babel-plugin-transform-es2015-arrow-functions": "6.22.0",
538 | "babel-plugin-transform-es2015-block-scoped-functions": "6.22.0",
539 | "babel-plugin-transform-es2015-block-scoping": "6.26.0",
540 | "babel-plugin-transform-es2015-classes": "6.24.1",
541 | "babel-plugin-transform-es2015-computed-properties": "6.24.1",
542 | "babel-plugin-transform-es2015-destructuring": "6.23.0",
543 | "babel-plugin-transform-es2015-duplicate-keys": "6.24.1",
544 | "babel-plugin-transform-es2015-for-of": "6.23.0",
545 | "babel-plugin-transform-es2015-function-name": "6.24.1",
546 | "babel-plugin-transform-es2015-literals": "6.22.0",
547 | "babel-plugin-transform-es2015-modules-amd": "6.24.1",
548 | "babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
549 | "babel-plugin-transform-es2015-modules-systemjs": "6.24.1",
550 | "babel-plugin-transform-es2015-modules-umd": "6.24.1",
551 | "babel-plugin-transform-es2015-object-super": "6.24.1",
552 | "babel-plugin-transform-es2015-parameters": "6.24.1",
553 | "babel-plugin-transform-es2015-shorthand-properties": "6.24.1",
554 | "babel-plugin-transform-es2015-spread": "6.22.0",
555 | "babel-plugin-transform-es2015-sticky-regex": "6.24.1",
556 | "babel-plugin-transform-es2015-template-literals": "6.22.0",
557 | "babel-plugin-transform-es2015-typeof-symbol": "6.23.0",
558 | "babel-plugin-transform-es2015-unicode-regex": "6.24.1",
559 | "babel-plugin-transform-regenerator": "6.26.0"
560 | }
561 | },
562 | "babel-register": {
563 | "version": "6.26.0",
564 | "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz",
565 | "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=",
566 | "dev": true,
567 | "requires": {
568 | "babel-core": "6.26.0",
569 | "babel-runtime": "6.26.0",
570 | "core-js": "2.5.0",
571 | "home-or-tmp": "2.0.0",
572 | "lodash": "4.17.4",
573 | "mkdirp": "0.5.1",
574 | "source-map-support": "0.4.16"
575 | }
576 | },
577 | "babel-runtime": {
578 | "version": "6.26.0",
579 | "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
580 | "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=",
581 | "dev": true,
582 | "requires": {
583 | "core-js": "2.5.0",
584 | "regenerator-runtime": "0.11.0"
585 | }
586 | },
587 | "babel-template": {
588 | "version": "6.26.0",
589 | "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz",
590 | "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=",
591 | "dev": true,
592 | "requires": {
593 | "babel-runtime": "6.26.0",
594 | "babel-traverse": "6.26.0",
595 | "babel-types": "6.26.0",
596 | "babylon": "6.18.0",
597 | "lodash": "4.17.4"
598 | }
599 | },
600 | "babel-traverse": {
601 | "version": "6.26.0",
602 | "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz",
603 | "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=",
604 | "dev": true,
605 | "requires": {
606 | "babel-code-frame": "6.26.0",
607 | "babel-messages": "6.23.0",
608 | "babel-runtime": "6.26.0",
609 | "babel-types": "6.26.0",
610 | "babylon": "6.18.0",
611 | "debug": "2.6.8",
612 | "globals": "9.18.0",
613 | "invariant": "2.2.2",
614 | "lodash": "4.17.4"
615 | }
616 | },
617 | "babel-types": {
618 | "version": "6.26.0",
619 | "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz",
620 | "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=",
621 | "dev": true,
622 | "requires": {
623 | "babel-runtime": "6.26.0",
624 | "esutils": "2.0.2",
625 | "lodash": "4.17.4",
626 | "to-fast-properties": "1.0.3"
627 | }
628 | },
629 | "babylon": {
630 | "version": "6.18.0",
631 | "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz",
632 | "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==",
633 | "dev": true
634 | },
635 | "balanced-match": {
636 | "version": "1.0.0",
637 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
638 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
639 | "dev": true
640 | },
641 | "binary-extensions": {
642 | "version": "1.10.0",
643 | "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.10.0.tgz",
644 | "integrity": "sha1-muuabF6IY4qtFx4Wf1kAq+JINdA=",
645 | "dev": true,
646 | "optional": true
647 | },
648 | "brace-expansion": {
649 | "version": "1.1.8",
650 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz",
651 | "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=",
652 | "dev": true,
653 | "requires": {
654 | "balanced-match": "1.0.0",
655 | "concat-map": "0.0.1"
656 | }
657 | },
658 | "braces": {
659 | "version": "1.8.5",
660 | "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz",
661 | "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=",
662 | "dev": true,
663 | "optional": true,
664 | "requires": {
665 | "expand-range": "1.8.2",
666 | "preserve": "0.2.0",
667 | "repeat-element": "1.1.2"
668 | }
669 | },
670 | "chalk": {
671 | "version": "1.1.3",
672 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
673 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
674 | "dev": true,
675 | "requires": {
676 | "ansi-styles": "2.2.1",
677 | "escape-string-regexp": "1.0.5",
678 | "has-ansi": "2.0.0",
679 | "strip-ansi": "3.0.1",
680 | "supports-color": "2.0.0"
681 | }
682 | },
683 | "chokidar": {
684 | "version": "1.7.0",
685 | "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-1.7.0.tgz",
686 | "integrity": "sha1-eY5ol3gVHIB2tLNg5e3SjNortGg=",
687 | "dev": true,
688 | "optional": true,
689 | "requires": {
690 | "anymatch": "1.3.2",
691 | "async-each": "1.0.1",
692 | "fsevents": "1.1.2",
693 | "glob-parent": "2.0.0",
694 | "inherits": "2.0.3",
695 | "is-binary-path": "1.0.1",
696 | "is-glob": "2.0.1",
697 | "path-is-absolute": "1.0.1",
698 | "readdirp": "2.1.0"
699 | }
700 | },
701 | "commander": {
702 | "version": "2.11.0",
703 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz",
704 | "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==",
705 | "dev": true
706 | },
707 | "concat-map": {
708 | "version": "0.0.1",
709 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
710 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
711 | "dev": true
712 | },
713 | "convert-source-map": {
714 | "version": "1.5.0",
715 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz",
716 | "integrity": "sha1-ms1whRxtXf3ZPZKC5e35SgP/RrU=",
717 | "dev": true
718 | },
719 | "core-js": {
720 | "version": "2.5.0",
721 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.0.tgz",
722 | "integrity": "sha1-VpwFCRi+ZIazg3VSAorgRmtxcIY=",
723 | "dev": true
724 | },
725 | "core-util-is": {
726 | "version": "1.0.2",
727 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
728 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=",
729 | "dev": true,
730 | "optional": true
731 | },
732 | "debug": {
733 | "version": "2.6.8",
734 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.8.tgz",
735 | "integrity": "sha1-5zFTHKLt4n0YgiJCfaF4IdaP9Pw=",
736 | "dev": true,
737 | "requires": {
738 | "ms": "2.0.0"
739 | }
740 | },
741 | "detect-indent": {
742 | "version": "4.0.0",
743 | "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz",
744 | "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=",
745 | "dev": true,
746 | "requires": {
747 | "repeating": "2.0.1"
748 | }
749 | },
750 | "escape-string-regexp": {
751 | "version": "1.0.5",
752 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
753 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
754 | "dev": true
755 | },
756 | "esutils": {
757 | "version": "2.0.2",
758 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz",
759 | "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=",
760 | "dev": true
761 | },
762 | "expand-brackets": {
763 | "version": "0.1.5",
764 | "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz",
765 | "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=",
766 | "dev": true,
767 | "optional": true,
768 | "requires": {
769 | "is-posix-bracket": "0.1.1"
770 | }
771 | },
772 | "expand-range": {
773 | "version": "1.8.2",
774 | "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz",
775 | "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=",
776 | "dev": true,
777 | "optional": true,
778 | "requires": {
779 | "fill-range": "2.2.3"
780 | }
781 | },
782 | "extglob": {
783 | "version": "0.3.2",
784 | "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz",
785 | "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=",
786 | "dev": true,
787 | "optional": true,
788 | "requires": {
789 | "is-extglob": "1.0.0"
790 | }
791 | },
792 | "filename-regex": {
793 | "version": "2.0.1",
794 | "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz",
795 | "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=",
796 | "dev": true,
797 | "optional": true
798 | },
799 | "fill-range": {
800 | "version": "2.2.3",
801 | "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.3.tgz",
802 | "integrity": "sha1-ULd9/X5Gm8dJJHCWNpn+eoSFpyM=",
803 | "dev": true,
804 | "optional": true,
805 | "requires": {
806 | "is-number": "2.1.0",
807 | "isobject": "2.1.0",
808 | "randomatic": "1.1.7",
809 | "repeat-element": "1.1.2",
810 | "repeat-string": "1.6.1"
811 | }
812 | },
813 | "for-in": {
814 | "version": "1.0.2",
815 | "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz",
816 | "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=",
817 | "dev": true,
818 | "optional": true
819 | },
820 | "for-own": {
821 | "version": "0.1.5",
822 | "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz",
823 | "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=",
824 | "dev": true,
825 | "optional": true,
826 | "requires": {
827 | "for-in": "1.0.2"
828 | }
829 | },
830 | "fs-readdir-recursive": {
831 | "version": "1.0.0",
832 | "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.0.0.tgz",
833 | "integrity": "sha1-jNF0XItPiinIyuw5JHaSG6GV9WA=",
834 | "dev": true
835 | },
836 | "fs.realpath": {
837 | "version": "1.0.0",
838 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
839 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
840 | "dev": true
841 | },
842 | "fsevents": {
843 | "version": "1.1.2",
844 | "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.1.2.tgz",
845 | "integrity": "sha512-Sn44E5wQW4bTHXvQmvSHwqbuiXtduD6Rrjm2ZtUEGbyrig+nUH3t/QD4M4/ZXViY556TBpRgZkHLDx3JxPwxiw==",
846 | "dev": true,
847 | "optional": true,
848 | "requires": {
849 | "nan": "2.6.2",
850 | "node-pre-gyp": "0.6.36"
851 | },
852 | "dependencies": {
853 | "abbrev": {
854 | "version": "1.1.0",
855 | "bundled": true,
856 | "dev": true,
857 | "optional": true
858 | },
859 | "ajv": {
860 | "version": "4.11.8",
861 | "bundled": true,
862 | "dev": true,
863 | "optional": true,
864 | "requires": {
865 | "co": "4.6.0",
866 | "json-stable-stringify": "1.0.1"
867 | }
868 | },
869 | "ansi-regex": {
870 | "version": "2.1.1",
871 | "bundled": true,
872 | "dev": true
873 | },
874 | "aproba": {
875 | "version": "1.1.1",
876 | "bundled": true,
877 | "dev": true,
878 | "optional": true
879 | },
880 | "are-we-there-yet": {
881 | "version": "1.1.4",
882 | "bundled": true,
883 | "dev": true,
884 | "optional": true,
885 | "requires": {
886 | "delegates": "1.0.0",
887 | "readable-stream": "2.2.9"
888 | }
889 | },
890 | "asn1": {
891 | "version": "0.2.3",
892 | "bundled": true,
893 | "dev": true,
894 | "optional": true
895 | },
896 | "assert-plus": {
897 | "version": "0.2.0",
898 | "bundled": true,
899 | "dev": true,
900 | "optional": true
901 | },
902 | "asynckit": {
903 | "version": "0.4.0",
904 | "bundled": true,
905 | "dev": true,
906 | "optional": true
907 | },
908 | "aws-sign2": {
909 | "version": "0.6.0",
910 | "bundled": true,
911 | "dev": true,
912 | "optional": true
913 | },
914 | "aws4": {
915 | "version": "1.6.0",
916 | "bundled": true,
917 | "dev": true,
918 | "optional": true
919 | },
920 | "balanced-match": {
921 | "version": "0.4.2",
922 | "bundled": true,
923 | "dev": true
924 | },
925 | "bcrypt-pbkdf": {
926 | "version": "1.0.1",
927 | "bundled": true,
928 | "dev": true,
929 | "optional": true,
930 | "requires": {
931 | "tweetnacl": "0.14.5"
932 | }
933 | },
934 | "block-stream": {
935 | "version": "0.0.9",
936 | "bundled": true,
937 | "dev": true,
938 | "requires": {
939 | "inherits": "2.0.3"
940 | }
941 | },
942 | "boom": {
943 | "version": "2.10.1",
944 | "bundled": true,
945 | "dev": true,
946 | "requires": {
947 | "hoek": "2.16.3"
948 | }
949 | },
950 | "brace-expansion": {
951 | "version": "1.1.7",
952 | "bundled": true,
953 | "dev": true,
954 | "requires": {
955 | "balanced-match": "0.4.2",
956 | "concat-map": "0.0.1"
957 | }
958 | },
959 | "buffer-shims": {
960 | "version": "1.0.0",
961 | "bundled": true,
962 | "dev": true
963 | },
964 | "caseless": {
965 | "version": "0.12.0",
966 | "bundled": true,
967 | "dev": true,
968 | "optional": true
969 | },
970 | "co": {
971 | "version": "4.6.0",
972 | "bundled": true,
973 | "dev": true,
974 | "optional": true
975 | },
976 | "code-point-at": {
977 | "version": "1.1.0",
978 | "bundled": true,
979 | "dev": true
980 | },
981 | "combined-stream": {
982 | "version": "1.0.5",
983 | "bundled": true,
984 | "dev": true,
985 | "requires": {
986 | "delayed-stream": "1.0.0"
987 | }
988 | },
989 | "concat-map": {
990 | "version": "0.0.1",
991 | "bundled": true,
992 | "dev": true
993 | },
994 | "console-control-strings": {
995 | "version": "1.1.0",
996 | "bundled": true,
997 | "dev": true
998 | },
999 | "core-util-is": {
1000 | "version": "1.0.2",
1001 | "bundled": true,
1002 | "dev": true
1003 | },
1004 | "cryptiles": {
1005 | "version": "2.0.5",
1006 | "bundled": true,
1007 | "dev": true,
1008 | "optional": true,
1009 | "requires": {
1010 | "boom": "2.10.1"
1011 | }
1012 | },
1013 | "dashdash": {
1014 | "version": "1.14.1",
1015 | "bundled": true,
1016 | "dev": true,
1017 | "optional": true,
1018 | "requires": {
1019 | "assert-plus": "1.0.0"
1020 | },
1021 | "dependencies": {
1022 | "assert-plus": {
1023 | "version": "1.0.0",
1024 | "bundled": true,
1025 | "dev": true,
1026 | "optional": true
1027 | }
1028 | }
1029 | },
1030 | "debug": {
1031 | "version": "2.6.8",
1032 | "bundled": true,
1033 | "dev": true,
1034 | "optional": true,
1035 | "requires": {
1036 | "ms": "2.0.0"
1037 | }
1038 | },
1039 | "deep-extend": {
1040 | "version": "0.4.2",
1041 | "bundled": true,
1042 | "dev": true,
1043 | "optional": true
1044 | },
1045 | "delayed-stream": {
1046 | "version": "1.0.0",
1047 | "bundled": true,
1048 | "dev": true
1049 | },
1050 | "delegates": {
1051 | "version": "1.0.0",
1052 | "bundled": true,
1053 | "dev": true,
1054 | "optional": true
1055 | },
1056 | "ecc-jsbn": {
1057 | "version": "0.1.1",
1058 | "bundled": true,
1059 | "dev": true,
1060 | "optional": true,
1061 | "requires": {
1062 | "jsbn": "0.1.1"
1063 | }
1064 | },
1065 | "extend": {
1066 | "version": "3.0.1",
1067 | "bundled": true,
1068 | "dev": true,
1069 | "optional": true
1070 | },
1071 | "extsprintf": {
1072 | "version": "1.0.2",
1073 | "bundled": true,
1074 | "dev": true
1075 | },
1076 | "forever-agent": {
1077 | "version": "0.6.1",
1078 | "bundled": true,
1079 | "dev": true,
1080 | "optional": true
1081 | },
1082 | "form-data": {
1083 | "version": "2.1.4",
1084 | "bundled": true,
1085 | "dev": true,
1086 | "optional": true,
1087 | "requires": {
1088 | "asynckit": "0.4.0",
1089 | "combined-stream": "1.0.5",
1090 | "mime-types": "2.1.15"
1091 | }
1092 | },
1093 | "fs.realpath": {
1094 | "version": "1.0.0",
1095 | "bundled": true,
1096 | "dev": true
1097 | },
1098 | "fstream": {
1099 | "version": "1.0.11",
1100 | "bundled": true,
1101 | "dev": true,
1102 | "requires": {
1103 | "graceful-fs": "4.1.11",
1104 | "inherits": "2.0.3",
1105 | "mkdirp": "0.5.1",
1106 | "rimraf": "2.6.1"
1107 | }
1108 | },
1109 | "fstream-ignore": {
1110 | "version": "1.0.5",
1111 | "bundled": true,
1112 | "dev": true,
1113 | "optional": true,
1114 | "requires": {
1115 | "fstream": "1.0.11",
1116 | "inherits": "2.0.3",
1117 | "minimatch": "3.0.4"
1118 | }
1119 | },
1120 | "gauge": {
1121 | "version": "2.7.4",
1122 | "bundled": true,
1123 | "dev": true,
1124 | "optional": true,
1125 | "requires": {
1126 | "aproba": "1.1.1",
1127 | "console-control-strings": "1.1.0",
1128 | "has-unicode": "2.0.1",
1129 | "object-assign": "4.1.1",
1130 | "signal-exit": "3.0.2",
1131 | "string-width": "1.0.2",
1132 | "strip-ansi": "3.0.1",
1133 | "wide-align": "1.1.2"
1134 | }
1135 | },
1136 | "getpass": {
1137 | "version": "0.1.7",
1138 | "bundled": true,
1139 | "dev": true,
1140 | "optional": true,
1141 | "requires": {
1142 | "assert-plus": "1.0.0"
1143 | },
1144 | "dependencies": {
1145 | "assert-plus": {
1146 | "version": "1.0.0",
1147 | "bundled": true,
1148 | "dev": true,
1149 | "optional": true
1150 | }
1151 | }
1152 | },
1153 | "glob": {
1154 | "version": "7.1.2",
1155 | "bundled": true,
1156 | "dev": true,
1157 | "requires": {
1158 | "fs.realpath": "1.0.0",
1159 | "inflight": "1.0.6",
1160 | "inherits": "2.0.3",
1161 | "minimatch": "3.0.4",
1162 | "once": "1.4.0",
1163 | "path-is-absolute": "1.0.1"
1164 | }
1165 | },
1166 | "graceful-fs": {
1167 | "version": "4.1.11",
1168 | "bundled": true,
1169 | "dev": true
1170 | },
1171 | "har-schema": {
1172 | "version": "1.0.5",
1173 | "bundled": true,
1174 | "dev": true,
1175 | "optional": true
1176 | },
1177 | "har-validator": {
1178 | "version": "4.2.1",
1179 | "bundled": true,
1180 | "dev": true,
1181 | "optional": true,
1182 | "requires": {
1183 | "ajv": "4.11.8",
1184 | "har-schema": "1.0.5"
1185 | }
1186 | },
1187 | "has-unicode": {
1188 | "version": "2.0.1",
1189 | "bundled": true,
1190 | "dev": true,
1191 | "optional": true
1192 | },
1193 | "hawk": {
1194 | "version": "3.1.3",
1195 | "bundled": true,
1196 | "dev": true,
1197 | "optional": true,
1198 | "requires": {
1199 | "boom": "2.10.1",
1200 | "cryptiles": "2.0.5",
1201 | "hoek": "2.16.3",
1202 | "sntp": "1.0.9"
1203 | }
1204 | },
1205 | "hoek": {
1206 | "version": "2.16.3",
1207 | "bundled": true,
1208 | "dev": true
1209 | },
1210 | "http-signature": {
1211 | "version": "1.1.1",
1212 | "bundled": true,
1213 | "dev": true,
1214 | "optional": true,
1215 | "requires": {
1216 | "assert-plus": "0.2.0",
1217 | "jsprim": "1.4.0",
1218 | "sshpk": "1.13.0"
1219 | }
1220 | },
1221 | "inflight": {
1222 | "version": "1.0.6",
1223 | "bundled": true,
1224 | "dev": true,
1225 | "requires": {
1226 | "once": "1.4.0",
1227 | "wrappy": "1.0.2"
1228 | }
1229 | },
1230 | "inherits": {
1231 | "version": "2.0.3",
1232 | "bundled": true,
1233 | "dev": true
1234 | },
1235 | "ini": {
1236 | "version": "1.3.4",
1237 | "bundled": true,
1238 | "dev": true,
1239 | "optional": true
1240 | },
1241 | "is-fullwidth-code-point": {
1242 | "version": "1.0.0",
1243 | "bundled": true,
1244 | "dev": true,
1245 | "requires": {
1246 | "number-is-nan": "1.0.1"
1247 | }
1248 | },
1249 | "is-typedarray": {
1250 | "version": "1.0.0",
1251 | "bundled": true,
1252 | "dev": true,
1253 | "optional": true
1254 | },
1255 | "isarray": {
1256 | "version": "1.0.0",
1257 | "bundled": true,
1258 | "dev": true
1259 | },
1260 | "isstream": {
1261 | "version": "0.1.2",
1262 | "bundled": true,
1263 | "dev": true,
1264 | "optional": true
1265 | },
1266 | "jodid25519": {
1267 | "version": "1.0.2",
1268 | "bundled": true,
1269 | "dev": true,
1270 | "optional": true,
1271 | "requires": {
1272 | "jsbn": "0.1.1"
1273 | }
1274 | },
1275 | "jsbn": {
1276 | "version": "0.1.1",
1277 | "bundled": true,
1278 | "dev": true,
1279 | "optional": true
1280 | },
1281 | "json-schema": {
1282 | "version": "0.2.3",
1283 | "bundled": true,
1284 | "dev": true,
1285 | "optional": true
1286 | },
1287 | "json-stable-stringify": {
1288 | "version": "1.0.1",
1289 | "bundled": true,
1290 | "dev": true,
1291 | "optional": true,
1292 | "requires": {
1293 | "jsonify": "0.0.0"
1294 | }
1295 | },
1296 | "json-stringify-safe": {
1297 | "version": "5.0.1",
1298 | "bundled": true,
1299 | "dev": true,
1300 | "optional": true
1301 | },
1302 | "jsonify": {
1303 | "version": "0.0.0",
1304 | "bundled": true,
1305 | "dev": true,
1306 | "optional": true
1307 | },
1308 | "jsprim": {
1309 | "version": "1.4.0",
1310 | "bundled": true,
1311 | "dev": true,
1312 | "optional": true,
1313 | "requires": {
1314 | "assert-plus": "1.0.0",
1315 | "extsprintf": "1.0.2",
1316 | "json-schema": "0.2.3",
1317 | "verror": "1.3.6"
1318 | },
1319 | "dependencies": {
1320 | "assert-plus": {
1321 | "version": "1.0.0",
1322 | "bundled": true,
1323 | "dev": true,
1324 | "optional": true
1325 | }
1326 | }
1327 | },
1328 | "mime-db": {
1329 | "version": "1.27.0",
1330 | "bundled": true,
1331 | "dev": true
1332 | },
1333 | "mime-types": {
1334 | "version": "2.1.15",
1335 | "bundled": true,
1336 | "dev": true,
1337 | "requires": {
1338 | "mime-db": "1.27.0"
1339 | }
1340 | },
1341 | "minimatch": {
1342 | "version": "3.0.4",
1343 | "bundled": true,
1344 | "dev": true,
1345 | "requires": {
1346 | "brace-expansion": "1.1.7"
1347 | }
1348 | },
1349 | "minimist": {
1350 | "version": "0.0.8",
1351 | "bundled": true,
1352 | "dev": true
1353 | },
1354 | "mkdirp": {
1355 | "version": "0.5.1",
1356 | "bundled": true,
1357 | "dev": true,
1358 | "requires": {
1359 | "minimist": "0.0.8"
1360 | }
1361 | },
1362 | "ms": {
1363 | "version": "2.0.0",
1364 | "bundled": true,
1365 | "dev": true,
1366 | "optional": true
1367 | },
1368 | "node-pre-gyp": {
1369 | "version": "0.6.36",
1370 | "bundled": true,
1371 | "dev": true,
1372 | "optional": true,
1373 | "requires": {
1374 | "mkdirp": "0.5.1",
1375 | "nopt": "4.0.1",
1376 | "npmlog": "4.1.0",
1377 | "rc": "1.2.1",
1378 | "request": "2.81.0",
1379 | "rimraf": "2.6.1",
1380 | "semver": "5.3.0",
1381 | "tar": "2.2.1",
1382 | "tar-pack": "3.4.0"
1383 | }
1384 | },
1385 | "nopt": {
1386 | "version": "4.0.1",
1387 | "bundled": true,
1388 | "dev": true,
1389 | "optional": true,
1390 | "requires": {
1391 | "abbrev": "1.1.0",
1392 | "osenv": "0.1.4"
1393 | }
1394 | },
1395 | "npmlog": {
1396 | "version": "4.1.0",
1397 | "bundled": true,
1398 | "dev": true,
1399 | "optional": true,
1400 | "requires": {
1401 | "are-we-there-yet": "1.1.4",
1402 | "console-control-strings": "1.1.0",
1403 | "gauge": "2.7.4",
1404 | "set-blocking": "2.0.0"
1405 | }
1406 | },
1407 | "number-is-nan": {
1408 | "version": "1.0.1",
1409 | "bundled": true,
1410 | "dev": true
1411 | },
1412 | "oauth-sign": {
1413 | "version": "0.8.2",
1414 | "bundled": true,
1415 | "dev": true,
1416 | "optional": true
1417 | },
1418 | "object-assign": {
1419 | "version": "4.1.1",
1420 | "bundled": true,
1421 | "dev": true,
1422 | "optional": true
1423 | },
1424 | "once": {
1425 | "version": "1.4.0",
1426 | "bundled": true,
1427 | "dev": true,
1428 | "requires": {
1429 | "wrappy": "1.0.2"
1430 | }
1431 | },
1432 | "os-homedir": {
1433 | "version": "1.0.2",
1434 | "bundled": true,
1435 | "dev": true,
1436 | "optional": true
1437 | },
1438 | "os-tmpdir": {
1439 | "version": "1.0.2",
1440 | "bundled": true,
1441 | "dev": true,
1442 | "optional": true
1443 | },
1444 | "osenv": {
1445 | "version": "0.1.4",
1446 | "bundled": true,
1447 | "dev": true,
1448 | "optional": true,
1449 | "requires": {
1450 | "os-homedir": "1.0.2",
1451 | "os-tmpdir": "1.0.2"
1452 | }
1453 | },
1454 | "path-is-absolute": {
1455 | "version": "1.0.1",
1456 | "bundled": true,
1457 | "dev": true
1458 | },
1459 | "performance-now": {
1460 | "version": "0.2.0",
1461 | "bundled": true,
1462 | "dev": true,
1463 | "optional": true
1464 | },
1465 | "process-nextick-args": {
1466 | "version": "1.0.7",
1467 | "bundled": true,
1468 | "dev": true
1469 | },
1470 | "punycode": {
1471 | "version": "1.4.1",
1472 | "bundled": true,
1473 | "dev": true,
1474 | "optional": true
1475 | },
1476 | "qs": {
1477 | "version": "6.4.0",
1478 | "bundled": true,
1479 | "dev": true,
1480 | "optional": true
1481 | },
1482 | "rc": {
1483 | "version": "1.2.1",
1484 | "bundled": true,
1485 | "dev": true,
1486 | "optional": true,
1487 | "requires": {
1488 | "deep-extend": "0.4.2",
1489 | "ini": "1.3.4",
1490 | "minimist": "1.2.0",
1491 | "strip-json-comments": "2.0.1"
1492 | },
1493 | "dependencies": {
1494 | "minimist": {
1495 | "version": "1.2.0",
1496 | "bundled": true,
1497 | "dev": true,
1498 | "optional": true
1499 | }
1500 | }
1501 | },
1502 | "readable-stream": {
1503 | "version": "2.2.9",
1504 | "bundled": true,
1505 | "dev": true,
1506 | "requires": {
1507 | "buffer-shims": "1.0.0",
1508 | "core-util-is": "1.0.2",
1509 | "inherits": "2.0.3",
1510 | "isarray": "1.0.0",
1511 | "process-nextick-args": "1.0.7",
1512 | "string_decoder": "1.0.1",
1513 | "util-deprecate": "1.0.2"
1514 | }
1515 | },
1516 | "request": {
1517 | "version": "2.81.0",
1518 | "bundled": true,
1519 | "dev": true,
1520 | "optional": true,
1521 | "requires": {
1522 | "aws-sign2": "0.6.0",
1523 | "aws4": "1.6.0",
1524 | "caseless": "0.12.0",
1525 | "combined-stream": "1.0.5",
1526 | "extend": "3.0.1",
1527 | "forever-agent": "0.6.1",
1528 | "form-data": "2.1.4",
1529 | "har-validator": "4.2.1",
1530 | "hawk": "3.1.3",
1531 | "http-signature": "1.1.1",
1532 | "is-typedarray": "1.0.0",
1533 | "isstream": "0.1.2",
1534 | "json-stringify-safe": "5.0.1",
1535 | "mime-types": "2.1.15",
1536 | "oauth-sign": "0.8.2",
1537 | "performance-now": "0.2.0",
1538 | "qs": "6.4.0",
1539 | "safe-buffer": "5.0.1",
1540 | "stringstream": "0.0.5",
1541 | "tough-cookie": "2.3.2",
1542 | "tunnel-agent": "0.6.0",
1543 | "uuid": "3.0.1"
1544 | }
1545 | },
1546 | "rimraf": {
1547 | "version": "2.6.1",
1548 | "bundled": true,
1549 | "dev": true,
1550 | "requires": {
1551 | "glob": "7.1.2"
1552 | }
1553 | },
1554 | "safe-buffer": {
1555 | "version": "5.0.1",
1556 | "bundled": true,
1557 | "dev": true
1558 | },
1559 | "semver": {
1560 | "version": "5.3.0",
1561 | "bundled": true,
1562 | "dev": true,
1563 | "optional": true
1564 | },
1565 | "set-blocking": {
1566 | "version": "2.0.0",
1567 | "bundled": true,
1568 | "dev": true,
1569 | "optional": true
1570 | },
1571 | "signal-exit": {
1572 | "version": "3.0.2",
1573 | "bundled": true,
1574 | "dev": true,
1575 | "optional": true
1576 | },
1577 | "sntp": {
1578 | "version": "1.0.9",
1579 | "bundled": true,
1580 | "dev": true,
1581 | "optional": true,
1582 | "requires": {
1583 | "hoek": "2.16.3"
1584 | }
1585 | },
1586 | "sshpk": {
1587 | "version": "1.13.0",
1588 | "bundled": true,
1589 | "dev": true,
1590 | "optional": true,
1591 | "requires": {
1592 | "asn1": "0.2.3",
1593 | "assert-plus": "1.0.0",
1594 | "bcrypt-pbkdf": "1.0.1",
1595 | "dashdash": "1.14.1",
1596 | "ecc-jsbn": "0.1.1",
1597 | "getpass": "0.1.7",
1598 | "jodid25519": "1.0.2",
1599 | "jsbn": "0.1.1",
1600 | "tweetnacl": "0.14.5"
1601 | },
1602 | "dependencies": {
1603 | "assert-plus": {
1604 | "version": "1.0.0",
1605 | "bundled": true,
1606 | "dev": true,
1607 | "optional": true
1608 | }
1609 | }
1610 | },
1611 | "string_decoder": {
1612 | "version": "1.0.1",
1613 | "bundled": true,
1614 | "dev": true,
1615 | "requires": {
1616 | "safe-buffer": "5.0.1"
1617 | }
1618 | },
1619 | "string-width": {
1620 | "version": "1.0.2",
1621 | "bundled": true,
1622 | "dev": true,
1623 | "requires": {
1624 | "code-point-at": "1.1.0",
1625 | "is-fullwidth-code-point": "1.0.0",
1626 | "strip-ansi": "3.0.1"
1627 | }
1628 | },
1629 | "stringstream": {
1630 | "version": "0.0.5",
1631 | "bundled": true,
1632 | "dev": true,
1633 | "optional": true
1634 | },
1635 | "strip-ansi": {
1636 | "version": "3.0.1",
1637 | "bundled": true,
1638 | "dev": true,
1639 | "requires": {
1640 | "ansi-regex": "2.1.1"
1641 | }
1642 | },
1643 | "strip-json-comments": {
1644 | "version": "2.0.1",
1645 | "bundled": true,
1646 | "dev": true,
1647 | "optional": true
1648 | },
1649 | "tar": {
1650 | "version": "2.2.1",
1651 | "bundled": true,
1652 | "dev": true,
1653 | "requires": {
1654 | "block-stream": "0.0.9",
1655 | "fstream": "1.0.11",
1656 | "inherits": "2.0.3"
1657 | }
1658 | },
1659 | "tar-pack": {
1660 | "version": "3.4.0",
1661 | "bundled": true,
1662 | "dev": true,
1663 | "optional": true,
1664 | "requires": {
1665 | "debug": "2.6.8",
1666 | "fstream": "1.0.11",
1667 | "fstream-ignore": "1.0.5",
1668 | "once": "1.4.0",
1669 | "readable-stream": "2.2.9",
1670 | "rimraf": "2.6.1",
1671 | "tar": "2.2.1",
1672 | "uid-number": "0.0.6"
1673 | }
1674 | },
1675 | "tough-cookie": {
1676 | "version": "2.3.2",
1677 | "bundled": true,
1678 | "dev": true,
1679 | "optional": true,
1680 | "requires": {
1681 | "punycode": "1.4.1"
1682 | }
1683 | },
1684 | "tunnel-agent": {
1685 | "version": "0.6.0",
1686 | "bundled": true,
1687 | "dev": true,
1688 | "optional": true,
1689 | "requires": {
1690 | "safe-buffer": "5.0.1"
1691 | }
1692 | },
1693 | "tweetnacl": {
1694 | "version": "0.14.5",
1695 | "bundled": true,
1696 | "dev": true,
1697 | "optional": true
1698 | },
1699 | "uid-number": {
1700 | "version": "0.0.6",
1701 | "bundled": true,
1702 | "dev": true,
1703 | "optional": true
1704 | },
1705 | "util-deprecate": {
1706 | "version": "1.0.2",
1707 | "bundled": true,
1708 | "dev": true
1709 | },
1710 | "uuid": {
1711 | "version": "3.0.1",
1712 | "bundled": true,
1713 | "dev": true,
1714 | "optional": true
1715 | },
1716 | "verror": {
1717 | "version": "1.3.6",
1718 | "bundled": true,
1719 | "dev": true,
1720 | "optional": true,
1721 | "requires": {
1722 | "extsprintf": "1.0.2"
1723 | }
1724 | },
1725 | "wide-align": {
1726 | "version": "1.1.2",
1727 | "bundled": true,
1728 | "dev": true,
1729 | "optional": true,
1730 | "requires": {
1731 | "string-width": "1.0.2"
1732 | }
1733 | },
1734 | "wrappy": {
1735 | "version": "1.0.2",
1736 | "bundled": true,
1737 | "dev": true
1738 | }
1739 | }
1740 | },
1741 | "glob": {
1742 | "version": "7.1.2",
1743 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
1744 | "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
1745 | "dev": true,
1746 | "requires": {
1747 | "fs.realpath": "1.0.0",
1748 | "inflight": "1.0.6",
1749 | "inherits": "2.0.3",
1750 | "minimatch": "3.0.4",
1751 | "once": "1.4.0",
1752 | "path-is-absolute": "1.0.1"
1753 | }
1754 | },
1755 | "glob-base": {
1756 | "version": "0.3.0",
1757 | "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz",
1758 | "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=",
1759 | "dev": true,
1760 | "optional": true,
1761 | "requires": {
1762 | "glob-parent": "2.0.0",
1763 | "is-glob": "2.0.1"
1764 | }
1765 | },
1766 | "glob-parent": {
1767 | "version": "2.0.0",
1768 | "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz",
1769 | "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=",
1770 | "dev": true,
1771 | "requires": {
1772 | "is-glob": "2.0.1"
1773 | }
1774 | },
1775 | "globals": {
1776 | "version": "9.18.0",
1777 | "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
1778 | "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
1779 | "dev": true
1780 | },
1781 | "graceful-fs": {
1782 | "version": "4.1.11",
1783 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
1784 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=",
1785 | "dev": true
1786 | },
1787 | "has-ansi": {
1788 | "version": "2.0.0",
1789 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
1790 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=",
1791 | "dev": true,
1792 | "requires": {
1793 | "ansi-regex": "2.1.1"
1794 | }
1795 | },
1796 | "home-or-tmp": {
1797 | "version": "2.0.0",
1798 | "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz",
1799 | "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=",
1800 | "dev": true,
1801 | "requires": {
1802 | "os-homedir": "1.0.2",
1803 | "os-tmpdir": "1.0.2"
1804 | }
1805 | },
1806 | "inflight": {
1807 | "version": "1.0.6",
1808 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
1809 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
1810 | "dev": true,
1811 | "requires": {
1812 | "once": "1.4.0",
1813 | "wrappy": "1.0.2"
1814 | }
1815 | },
1816 | "inherits": {
1817 | "version": "2.0.3",
1818 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
1819 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=",
1820 | "dev": true
1821 | },
1822 | "invariant": {
1823 | "version": "2.2.2",
1824 | "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.2.tgz",
1825 | "integrity": "sha1-nh9WrArNtr8wMwbzOL47IErmA2A=",
1826 | "dev": true,
1827 | "requires": {
1828 | "loose-envify": "1.3.1"
1829 | }
1830 | },
1831 | "is-binary-path": {
1832 | "version": "1.0.1",
1833 | "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz",
1834 | "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=",
1835 | "dev": true,
1836 | "optional": true,
1837 | "requires": {
1838 | "binary-extensions": "1.10.0"
1839 | }
1840 | },
1841 | "is-buffer": {
1842 | "version": "1.1.5",
1843 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.5.tgz",
1844 | "integrity": "sha1-Hzsm72E7IUuIy8ojzGwB2Hlh7sw=",
1845 | "dev": true
1846 | },
1847 | "is-dotfile": {
1848 | "version": "1.0.3",
1849 | "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz",
1850 | "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=",
1851 | "dev": true,
1852 | "optional": true
1853 | },
1854 | "is-equal-shallow": {
1855 | "version": "0.1.3",
1856 | "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz",
1857 | "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=",
1858 | "dev": true,
1859 | "optional": true,
1860 | "requires": {
1861 | "is-primitive": "2.0.0"
1862 | }
1863 | },
1864 | "is-extendable": {
1865 | "version": "0.1.1",
1866 | "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",
1867 | "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=",
1868 | "dev": true,
1869 | "optional": true
1870 | },
1871 | "is-extglob": {
1872 | "version": "1.0.0",
1873 | "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz",
1874 | "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=",
1875 | "dev": true
1876 | },
1877 | "is-finite": {
1878 | "version": "1.0.2",
1879 | "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.0.2.tgz",
1880 | "integrity": "sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=",
1881 | "dev": true,
1882 | "requires": {
1883 | "number-is-nan": "1.0.1"
1884 | }
1885 | },
1886 | "is-glob": {
1887 | "version": "2.0.1",
1888 | "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz",
1889 | "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=",
1890 | "dev": true,
1891 | "requires": {
1892 | "is-extglob": "1.0.0"
1893 | }
1894 | },
1895 | "is-number": {
1896 | "version": "2.1.0",
1897 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz",
1898 | "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=",
1899 | "dev": true,
1900 | "optional": true,
1901 | "requires": {
1902 | "kind-of": "3.2.2"
1903 | }
1904 | },
1905 | "is-posix-bracket": {
1906 | "version": "0.1.1",
1907 | "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
1908 | "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=",
1909 | "dev": true,
1910 | "optional": true
1911 | },
1912 | "is-primitive": {
1913 | "version": "2.0.0",
1914 | "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz",
1915 | "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=",
1916 | "dev": true
1917 | },
1918 | "isarray": {
1919 | "version": "1.0.0",
1920 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
1921 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
1922 | "dev": true
1923 | },
1924 | "isobject": {
1925 | "version": "2.1.0",
1926 | "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz",
1927 | "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=",
1928 | "dev": true,
1929 | "optional": true,
1930 | "requires": {
1931 | "isarray": "1.0.0"
1932 | }
1933 | },
1934 | "js-tokens": {
1935 | "version": "3.0.2",
1936 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz",
1937 | "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=",
1938 | "dev": true
1939 | },
1940 | "jsesc": {
1941 | "version": "1.3.0",
1942 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz",
1943 | "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=",
1944 | "dev": true
1945 | },
1946 | "json5": {
1947 | "version": "0.5.1",
1948 | "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
1949 | "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=",
1950 | "dev": true
1951 | },
1952 | "kind-of": {
1953 | "version": "3.2.2",
1954 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
1955 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
1956 | "dev": true,
1957 | "requires": {
1958 | "is-buffer": "1.1.5"
1959 | }
1960 | },
1961 | "lodash": {
1962 | "version": "4.17.4",
1963 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.4.tgz",
1964 | "integrity": "sha1-eCA6TRwyiuHYbcpkYONptX9AVa4=",
1965 | "dev": true
1966 | },
1967 | "loose-envify": {
1968 | "version": "1.3.1",
1969 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.3.1.tgz",
1970 | "integrity": "sha1-0aitM/qc4OcT1l/dCsi3SNR4yEg=",
1971 | "dev": true,
1972 | "requires": {
1973 | "js-tokens": "3.0.2"
1974 | }
1975 | },
1976 | "micromatch": {
1977 | "version": "2.3.11",
1978 | "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz",
1979 | "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=",
1980 | "dev": true,
1981 | "optional": true,
1982 | "requires": {
1983 | "arr-diff": "2.0.0",
1984 | "array-unique": "0.2.1",
1985 | "braces": "1.8.5",
1986 | "expand-brackets": "0.1.5",
1987 | "extglob": "0.3.2",
1988 | "filename-regex": "2.0.1",
1989 | "is-extglob": "1.0.0",
1990 | "is-glob": "2.0.1",
1991 | "kind-of": "3.2.2",
1992 | "normalize-path": "2.1.1",
1993 | "object.omit": "2.0.1",
1994 | "parse-glob": "3.0.4",
1995 | "regex-cache": "0.4.3"
1996 | }
1997 | },
1998 | "minimatch": {
1999 | "version": "3.0.4",
2000 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
2001 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
2002 | "dev": true,
2003 | "requires": {
2004 | "brace-expansion": "1.1.8"
2005 | }
2006 | },
2007 | "minimist": {
2008 | "version": "0.0.8",
2009 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
2010 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=",
2011 | "dev": true
2012 | },
2013 | "mkdirp": {
2014 | "version": "0.5.1",
2015 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
2016 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
2017 | "dev": true,
2018 | "requires": {
2019 | "minimist": "0.0.8"
2020 | }
2021 | },
2022 | "ms": {
2023 | "version": "2.0.0",
2024 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
2025 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
2026 | "dev": true
2027 | },
2028 | "nan": {
2029 | "version": "2.6.2",
2030 | "resolved": "https://registry.npmjs.org/nan/-/nan-2.6.2.tgz",
2031 | "integrity": "sha1-5P805slf37WuzAjeZZb0NgWn20U=",
2032 | "dev": true,
2033 | "optional": true
2034 | },
2035 | "normalize-path": {
2036 | "version": "2.1.1",
2037 | "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
2038 | "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
2039 | "dev": true,
2040 | "requires": {
2041 | "remove-trailing-separator": "1.1.0"
2042 | }
2043 | },
2044 | "number-is-nan": {
2045 | "version": "1.0.1",
2046 | "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz",
2047 | "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=",
2048 | "dev": true
2049 | },
2050 | "object-assign": {
2051 | "version": "4.1.1",
2052 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
2053 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
2054 | "dev": true
2055 | },
2056 | "object.omit": {
2057 | "version": "2.0.1",
2058 | "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz",
2059 | "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=",
2060 | "dev": true,
2061 | "optional": true,
2062 | "requires": {
2063 | "for-own": "0.1.5",
2064 | "is-extendable": "0.1.1"
2065 | }
2066 | },
2067 | "once": {
2068 | "version": "1.4.0",
2069 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
2070 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
2071 | "dev": true,
2072 | "requires": {
2073 | "wrappy": "1.0.2"
2074 | }
2075 | },
2076 | "os-homedir": {
2077 | "version": "1.0.2",
2078 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
2079 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=",
2080 | "dev": true
2081 | },
2082 | "os-tmpdir": {
2083 | "version": "1.0.2",
2084 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz",
2085 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=",
2086 | "dev": true
2087 | },
2088 | "output-file-sync": {
2089 | "version": "1.1.2",
2090 | "resolved": "https://registry.npmjs.org/output-file-sync/-/output-file-sync-1.1.2.tgz",
2091 | "integrity": "sha1-0KM+7+YaIF+suQCS6CZZjVJFznY=",
2092 | "dev": true,
2093 | "requires": {
2094 | "graceful-fs": "4.1.11",
2095 | "mkdirp": "0.5.1",
2096 | "object-assign": "4.1.1"
2097 | }
2098 | },
2099 | "parse-glob": {
2100 | "version": "3.0.4",
2101 | "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
2102 | "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=",
2103 | "dev": true,
2104 | "optional": true,
2105 | "requires": {
2106 | "glob-base": "0.3.0",
2107 | "is-dotfile": "1.0.3",
2108 | "is-extglob": "1.0.0",
2109 | "is-glob": "2.0.1"
2110 | }
2111 | },
2112 | "path-is-absolute": {
2113 | "version": "1.0.1",
2114 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
2115 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
2116 | "dev": true
2117 | },
2118 | "preserve": {
2119 | "version": "0.2.0",
2120 | "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz",
2121 | "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=",
2122 | "dev": true,
2123 | "optional": true
2124 | },
2125 | "private": {
2126 | "version": "0.1.7",
2127 | "resolved": "https://registry.npmjs.org/private/-/private-0.1.7.tgz",
2128 | "integrity": "sha1-aM5eih7woju1cMwoU3tTMqumPvE=",
2129 | "dev": true
2130 | },
2131 | "process-nextick-args": {
2132 | "version": "1.0.7",
2133 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz",
2134 | "integrity": "sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=",
2135 | "dev": true,
2136 | "optional": true
2137 | },
2138 | "randomatic": {
2139 | "version": "1.1.7",
2140 | "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.7.tgz",
2141 | "integrity": "sha512-D5JUjPyJbaJDkuAazpVnSfVkLlpeO3wDlPROTMLGKG1zMFNFRgrciKo1ltz/AzNTkqE0HzDx655QOL51N06how==",
2142 | "dev": true,
2143 | "optional": true,
2144 | "requires": {
2145 | "is-number": "3.0.0",
2146 | "kind-of": "4.0.0"
2147 | },
2148 | "dependencies": {
2149 | "is-number": {
2150 | "version": "3.0.0",
2151 | "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz",
2152 | "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=",
2153 | "dev": true,
2154 | "optional": true,
2155 | "requires": {
2156 | "kind-of": "3.2.2"
2157 | },
2158 | "dependencies": {
2159 | "kind-of": {
2160 | "version": "3.2.2",
2161 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz",
2162 | "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=",
2163 | "dev": true,
2164 | "optional": true,
2165 | "requires": {
2166 | "is-buffer": "1.1.5"
2167 | }
2168 | }
2169 | }
2170 | },
2171 | "kind-of": {
2172 | "version": "4.0.0",
2173 | "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz",
2174 | "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=",
2175 | "dev": true,
2176 | "optional": true,
2177 | "requires": {
2178 | "is-buffer": "1.1.5"
2179 | }
2180 | }
2181 | }
2182 | },
2183 | "readable-stream": {
2184 | "version": "2.3.3",
2185 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.3.tgz",
2186 | "integrity": "sha512-m+qzzcn7KUxEmd1gMbchF+Y2eIUbieUaxkWtptyHywrX0rE8QEYqPC07Vuy4Wm32/xE16NcdBctb8S0Xe/5IeQ==",
2187 | "dev": true,
2188 | "optional": true,
2189 | "requires": {
2190 | "core-util-is": "1.0.2",
2191 | "inherits": "2.0.3",
2192 | "isarray": "1.0.0",
2193 | "process-nextick-args": "1.0.7",
2194 | "safe-buffer": "5.1.1",
2195 | "string_decoder": "1.0.3",
2196 | "util-deprecate": "1.0.2"
2197 | }
2198 | },
2199 | "readdirp": {
2200 | "version": "2.1.0",
2201 | "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.1.0.tgz",
2202 | "integrity": "sha1-TtCtBg3zBzMAxIRANz9y0cxkLXg=",
2203 | "dev": true,
2204 | "optional": true,
2205 | "requires": {
2206 | "graceful-fs": "4.1.11",
2207 | "minimatch": "3.0.4",
2208 | "readable-stream": "2.3.3",
2209 | "set-immediate-shim": "1.0.1"
2210 | }
2211 | },
2212 | "regenerate": {
2213 | "version": "1.3.2",
2214 | "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.3.2.tgz",
2215 | "integrity": "sha1-0ZQcZ7rUN+G+dkM63Vs4X5WxkmA=",
2216 | "dev": true
2217 | },
2218 | "regenerator-runtime": {
2219 | "version": "0.11.0",
2220 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.0.tgz",
2221 | "integrity": "sha512-/aA0kLeRb5N9K0d4fw7ooEbI+xDe+DKD499EQqygGqeS8N3xto15p09uY2xj7ixP81sNPXvRLnAQIqdVStgb1A==",
2222 | "dev": true
2223 | },
2224 | "regenerator-transform": {
2225 | "version": "0.10.1",
2226 | "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz",
2227 | "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==",
2228 | "dev": true,
2229 | "requires": {
2230 | "babel-runtime": "6.26.0",
2231 | "babel-types": "6.26.0",
2232 | "private": "0.1.7"
2233 | }
2234 | },
2235 | "regex-cache": {
2236 | "version": "0.4.3",
2237 | "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.3.tgz",
2238 | "integrity": "sha1-mxpsNdTQ3871cRrmUejp09cRQUU=",
2239 | "dev": true,
2240 | "optional": true,
2241 | "requires": {
2242 | "is-equal-shallow": "0.1.3",
2243 | "is-primitive": "2.0.0"
2244 | }
2245 | },
2246 | "regexpu-core": {
2247 | "version": "2.0.0",
2248 | "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz",
2249 | "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=",
2250 | "dev": true,
2251 | "requires": {
2252 | "regenerate": "1.3.2",
2253 | "regjsgen": "0.2.0",
2254 | "regjsparser": "0.1.5"
2255 | }
2256 | },
2257 | "regjsgen": {
2258 | "version": "0.2.0",
2259 | "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
2260 | "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=",
2261 | "dev": true
2262 | },
2263 | "regjsparser": {
2264 | "version": "0.1.5",
2265 | "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz",
2266 | "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=",
2267 | "dev": true,
2268 | "requires": {
2269 | "jsesc": "0.5.0"
2270 | },
2271 | "dependencies": {
2272 | "jsesc": {
2273 | "version": "0.5.0",
2274 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz",
2275 | "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=",
2276 | "dev": true
2277 | }
2278 | }
2279 | },
2280 | "remove-trailing-separator": {
2281 | "version": "1.1.0",
2282 | "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
2283 | "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=",
2284 | "dev": true
2285 | },
2286 | "repeat-element": {
2287 | "version": "1.1.2",
2288 | "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.2.tgz",
2289 | "integrity": "sha1-7wiaF40Ug7quTZPrmLT55OEdmQo=",
2290 | "dev": true
2291 | },
2292 | "repeat-string": {
2293 | "version": "1.6.1",
2294 | "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz",
2295 | "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=",
2296 | "dev": true,
2297 | "optional": true
2298 | },
2299 | "repeating": {
2300 | "version": "2.0.1",
2301 | "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
2302 | "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
2303 | "dev": true,
2304 | "requires": {
2305 | "is-finite": "1.0.2"
2306 | }
2307 | },
2308 | "safe-buffer": {
2309 | "version": "5.1.1",
2310 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
2311 | "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==",
2312 | "dev": true
2313 | },
2314 | "set-immediate-shim": {
2315 | "version": "1.0.1",
2316 | "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz",
2317 | "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=",
2318 | "dev": true,
2319 | "optional": true
2320 | },
2321 | "slash": {
2322 | "version": "1.0.0",
2323 | "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz",
2324 | "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=",
2325 | "dev": true
2326 | },
2327 | "source-map": {
2328 | "version": "0.5.6",
2329 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.6.tgz",
2330 | "integrity": "sha1-dc449SvwczxafwwRjYEzSiu19BI=",
2331 | "dev": true
2332 | },
2333 | "source-map-support": {
2334 | "version": "0.4.16",
2335 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.16.tgz",
2336 | "integrity": "sha512-A6vlydY7H/ljr4L2UOhDSajQdZQ6dMD7cLH0pzwcmwLyc9u8PNI4WGtnfDDzX7uzGL6c/T+ORL97Zlh+S4iOrg==",
2337 | "dev": true,
2338 | "requires": {
2339 | "source-map": "0.5.6"
2340 | }
2341 | },
2342 | "string_decoder": {
2343 | "version": "1.0.3",
2344 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
2345 | "integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
2346 | "dev": true,
2347 | "optional": true,
2348 | "requires": {
2349 | "safe-buffer": "5.1.1"
2350 | }
2351 | },
2352 | "strip-ansi": {
2353 | "version": "3.0.1",
2354 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
2355 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
2356 | "dev": true,
2357 | "requires": {
2358 | "ansi-regex": "2.1.1"
2359 | }
2360 | },
2361 | "supports-color": {
2362 | "version": "2.0.0",
2363 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
2364 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
2365 | "dev": true
2366 | },
2367 | "to-fast-properties": {
2368 | "version": "1.0.3",
2369 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz",
2370 | "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=",
2371 | "dev": true
2372 | },
2373 | "trim-right": {
2374 | "version": "1.0.1",
2375 | "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz",
2376 | "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=",
2377 | "dev": true
2378 | },
2379 | "user-home": {
2380 | "version": "1.1.1",
2381 | "resolved": "https://registry.npmjs.org/user-home/-/user-home-1.1.1.tgz",
2382 | "integrity": "sha1-K1viOjK2Onyd640PKNSFcko98ZA=",
2383 | "dev": true
2384 | },
2385 | "util-deprecate": {
2386 | "version": "1.0.2",
2387 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
2388 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
2389 | "dev": true,
2390 | "optional": true
2391 | },
2392 | "v8flags": {
2393 | "version": "2.1.1",
2394 | "resolved": "https://registry.npmjs.org/v8flags/-/v8flags-2.1.1.tgz",
2395 | "integrity": "sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=",
2396 | "dev": true,
2397 | "requires": {
2398 | "user-home": "1.1.1"
2399 | }
2400 | },
2401 | "wrappy": {
2402 | "version": "1.0.2",
2403 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
2404 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
2405 | "dev": true
2406 | }
2407 | }
2408 | }
2409 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chain",
3 | "version": "0.9.2",
4 | "description": "Dynamic color relations inside Sketch",
5 | "main": "index.js",
6 | "author": "Lalo Mrtnz",
7 | "license": "ISC",
8 | "scripts": {
9 | "build":"babel src --out-dir build --presets=es2015"
10 | },
11 | "babel": {
12 | "presets": ["es2015"]
13 | },
14 | "devDependencies": {
15 | "babel-cli": "^6.26.0",
16 | "babel-preset-es2015": "^6.24.1"
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/src/Chain.js:
--------------------------------------------------------------------------------
1 | // Chain Components:
2 | // - guideLayer: Layer containing the color reference.
3 | // - referenceTarget: The property containing the color reference inside the layer. Possible values: Fill, Border.
4 | // - chainedLayer: Layer to perform the chained change.
5 | // - type: What type of color change to perform. Possible values: Hue, Saturation, Brightness, Alpha.
6 | // - target: The property to change. Possible values: Fill, Border.
7 | // - value: How much to change the color (expressed in percentage (for Bright/Satur/Alpha)) and in a number between -100 and 100 for Hue.
8 | // - timestamp: Chain creation time.
9 |
10 | class Chain {
11 |
12 | constructor(type, guideLayer, referenceTarget, chainedLayer, target, value, timestamp) {
13 | this.type = type;
14 | this.guideLayer = guideLayer;
15 | this.referenceTarget = referenceTarget;
16 | this.chainedLayer = chainedLayer;
17 | this.target = target;
18 | this.value = value;
19 | this.timestamp = timestamp;
20 | }
21 |
22 | static run(chain, context){
23 | let success;
24 | //Find the necesary layers
25 | let guide = context.document.documentData().layerWithID(chain.guideLayer);
26 | let chained = context.document.documentData().layerWithID(chain.chainedLayer);
27 |
28 | if (guide && chained) {
29 | //Get the reference color and the target color.
30 | let guideColor = Chain.getColorFrom(guide, chain.referenceTarget);
31 | let chainedColor = Chain.getColorFrom(chained, chain.target);
32 |
33 | if (guideColor && chainedColor) {
34 | //Modify the specified values and set color back again.
35 | let linkedColor = Chain.transformColor(guideColor, chainedColor, chain.type, chain.value);
36 | Chain.setColorTo(linkedColor, chained, chain.target);
37 | success = true;
38 |
39 | } else {
40 | success = false;
41 | log('Could not find colors.')
42 | }
43 |
44 | } else {
45 | success == false
46 | log('Could not update chain')
47 | };
48 | return success
49 | }
50 |
51 | static setColorTo(color, layer, target) {
52 |
53 | if (target == "Fill") {
54 |
55 | if (layer.class() == "MSTextLayer") {
56 | // If the layer if text, set the text color instead.
57 | layer.setTextColor(color);
58 |
59 | } else {
60 | layer.style().fills().firstObject().color = color;
61 | }
62 | return;
63 |
64 | } else if (target == "Border"){
65 |
66 | let border = layer.style().borders().firstObject()
67 |
68 | if (border && border.isEnabled()){
69 | border.color = color;
70 | } else {
71 | log('Could not set border.');
72 | }
73 | } else {
74 | log("Chain: Tried to update unrecognized layer property.")
75 | }
76 | }
77 |
78 | static getColorFrom(layer, target) {
79 |
80 | if (target == "Fill") {
81 | // If the layer if text, get the text color instead.
82 | if (layer.class() == "MSTextLayer") {
83 | return layer.textColor();
84 |
85 | } else {
86 | return layer.style().fills().firstObject().color();
87 | }
88 |
89 | } else if (target == "Border"){
90 | let border = layer.style().borders().firstObject()
91 |
92 | if (border && border.isEnabled()) {
93 | return layer.style().borders().firstObject().color();
94 |
95 | } else {
96 | log("Could not get border");
97 | }
98 |
99 | } else {
100 | log("Chain: Tried to get urecognized layer property.")
101 | }
102 | }
103 |
104 | static transformColor(guideColor, chainedColor, type, value) {
105 |
106 | let h = type == "Hue" ? Chain.normalizeHue(guideColor.hue(), value) : chainedColor.hue(),
107 | s = type == "Saturation" ? guideColor.saturation() * value : chainedColor.saturation(),
108 | b = type == "Brightness" ? guideColor.brightness() * value : chainedColor.brightness(),
109 | a = type == "Alpha" ? guideColor.alpha() * value : chainedColor.alpha();
110 |
111 | return MSColor.colorWithHue_saturation_brightness_alpha(h, s ,b, a);
112 | }
113 | //Makes the value wrap between 0 and 1.
114 | static normalizeHue(hue, transform) {
115 | let addition = hue + transform - 1;
116 | if (addition > 1) {
117 | return addition - 1;
118 | } else if (addition < 0) {
119 | return addition + 1;
120 | } else {
121 | return addition;
122 | };
123 | }
124 | }
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/src/ChainManager.js:
--------------------------------------------------------------------------------
1 | class ChainManager {
2 |
3 | constructor(context) {
4 | this.context = context;
5 | this.sketch = this.context.api()
6 | this.document = this.sketch.selectedDocument;
7 | this.selection = this.context.selection;
8 | this.command = this.context.command;
9 | this.pluginID = this.context.plugin.identifier();
10 | this.docData = context.document.documentData();
11 | plugin = this.context.plugin;
12 |
13 | this.LAYER_CHAINS_KEY = 'layer-chains';
14 | }
15 |
16 | newChain() {
17 | let layers = this.selection;
18 |
19 | if (layers.count() < 2) {
20 | Dialog.newInformationDialog("Oops!", "Please select at least two layers to chain.")
21 | return
22 | }
23 |
24 | let userInput = Dialog.newChainCreator(layers);
25 | switch (userInput.responseCode) {
26 | case 1000: //User clicks create chain
27 |
28 | each(layers, layer => {
29 | if (layer.objectID() != userInput.guideLayer) {
30 | userInput.targets.forEach(target => {
31 | let chain = new Chain(userInput.type, userInput.guideLayer, userInput.referenceTarget, layer.objectID(), target, userInput.value, Date.now());
32 | this.saveChain(chain);
33 | })
34 | };
35 | });
36 | break;
37 |
38 | default: //Just close the dialog
39 | break;
40 | };
41 | }
42 |
43 | saveChain(chain) {
44 |
45 | let chains = this.getStoredChains();
46 | let matchingChain = this.findChainWithMatchingTarget(chains, chain);
47 |
48 | if (matchingChain) {
49 | removeItemFromArray(chains, matchingChain); //Remove chain with same layers, type and target.
50 | }
51 |
52 | chains.push(chain);
53 |
54 | let relatedChains = chains.filter(c => c.chainedLayer == chain.chainedLayer && c.target == chain.target)
55 | //Run all the chains with the same layer and target.
56 | this.runChains(relatedChains, (chain, success) => {
57 | if(!success) {
58 | removeItemFromArray(chains, chain);
59 | log('Removing...');
60 | }
61 | });
62 | return this.setStoredChains(chains);
63 | }
64 |
65 | removeChainsBetweenSelectedLayers() {
66 | let layers = this.selection;
67 |
68 | if (layers.count() != 2) {
69 | Dialog.newInformationDialog("Cannot remove chains", "Please select two layers.")
70 | };
71 |
72 | let chains = this.getStoredChains();
73 | //Filter all chains that relate the two selected layers.
74 | let filteredChains = chains.filter(chain =>
75 | !(chain.guideLayer == layers[0].objectID() && chain.chainedLayer == layers[1].objectID() ||
76 | chain.guideLayer == layers[1].objectID() && chain.chainedLayer == layers[0].objectID())
77 | )
78 | this.setStoredChains(filteredChains);
79 | this.context.document.showMessage("Selected chains were removed.")
80 | }
81 |
82 | updateAllChains() {
83 | let chains = this.getStoredChains();
84 |
85 | if (chains.length > 0) {
86 | this.runChains(chains, (chain, success) => {
87 | if(!success) {
88 | removeItemFromArray(chains, chain);
89 | log('Removing...');
90 | }
91 | });
92 | this.setStoredChains(chains);
93 | this.context.document.showMessage("Chains updated!")
94 | } else {
95 | Dialog.newInformationDialog("Oops!", "There are no chained layers in this document.");
96 | };
97 | }
98 |
99 | runChains(chains, callback) {
100 | let sorted = chains.sort((a,b) => a - b); //Sort the chains by the time they were created.
101 | sorted.forEach(chain => {
102 | let success = Chain.run(chain, this.context) // Perform the chained changes in the chained layer's target.
103 | callback(chain, success);
104 | });
105 | }
106 |
107 | findChainWithMatchingTarget(chains, chain) {
108 | let matching = chains.find(function(c) {
109 | if (c.chainedLayer == chain.chainedLayer && c.type == chain.type && c.target == chain.target){
110 | return true;
111 | } else {
112 | return false;
113 | };
114 | });
115 | return matching;
116 | }
117 |
118 | logChains() {
119 | log(this.getStoredChains())
120 | }
121 |
122 | //Storing and retrieving chains from layers.
123 | getStoredChains(){
124 | const value = this.command.valueForKey_onLayer_forPluginIdentifier(this.LAYER_CHAINS_KEY, this.docData, this.pluginID);
125 | return value ? transformToJavascriptArray(value) : []
126 | }
127 |
128 | setStoredChains(chains){
129 | return this.command.setValue_forKey_onLayer_forPluginIdentifier(chains, this.LAYER_CHAINS_KEY, this.docData, this.pluginID);
130 | }
131 | }
132 |
133 | //Ale y Cass
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/src/Dialog.js:
--------------------------------------------------------------------------------
1 | class Dialog {
2 |
3 | static newChainCreator(layers) {
4 |
5 | //Creates the alert window
6 | let alert = Dialog.createBasicDialog(true, "Chain")
7 | alert.setMessageText("New Chain");
8 | alert.setInformativeText('Select the type of chain, the layer containing the reference color, enter the color transformation, and choose which properties to update.');
9 |
10 | // Select type of chain
11 | alert.addTextLabelWithValue('Select the type of chain:');
12 |
13 | let types = ["Hue", "Saturation", "Brightness", "Alpha"];
14 | let typeSelection = Dialog.createDropdown(types);
15 | alert.addAccessoryView(typeSelection);
16 |
17 | /////////// Separator
18 | alert.addAccessoryView(Dialog.createSeparator());
19 |
20 | // Select reference layer
21 | alert.addTextLabelWithValue('Select the reference color:');
22 |
23 | let layerNames = map(layers, layer => layer.name());
24 | let layerSelection = Dialog.createDropdown(layerNames);
25 | alert.addAccessoryView(layerSelection);
26 |
27 | // Select reference target
28 | let allowedRefTargets = ["Fill", "Border"];
29 | let refTargetSelection = Dialog.createRadioMatrix(allowedRefTargets);
30 | alert.addAccessoryView(refTargetSelection);
31 |
32 | /////////// Separator
33 | alert.addAccessoryView(Dialog.createSeparator());
34 |
35 |
36 | // Transformation Input
37 | alert.addTextLabelWithValue('Transformation: ');
38 | let valueField = Dialog.createTextField('(+/-) 100');
39 | alert.addAccessoryView(valueField);
40 |
41 | //Sets the target checkboxes
42 | alert.addTextLabelWithValue('Select the properties to chain:');
43 |
44 | let fill = Dialog.createCheckboxWithTitle('Fill');
45 | let border = Dialog.createCheckboxWithTitle('Border', 60);
46 | let checkboxes = [fill, border];
47 |
48 | let checkView = NSView.alloc().initWithFrame(NSMakeRect(0,-10,300,22));
49 | checkboxes.forEach(checkbox => checkView.addSubview(checkbox));
50 | alert.addAccessoryView(checkView);
51 |
52 |
53 | //Display the alert
54 | let responseCode = alert.runModal();
55 | let guide = layers[layerSelection.indexOfSelectedItem()]; //Layer selected by user.
56 |
57 | //Return Values
58 | let inputs = {
59 | responseCode: responseCode,
60 | type: typeSelection.objectValueOfSelectedItem(),
61 | guideLayer: guide.objectID(),
62 | referenceTarget: refTargetSelection.selectedCells()[0].title(),
63 | targets: checkboxes.filter(target => target.state() != 0).map(target => target.title()),
64 | value: 1 + (valueField.floatValue()/100.0)
65 | }
66 | return inputs;
67 | }
68 |
69 | // UI Creators
70 |
71 | static newInformationDialog(title, message) {
72 | let dialog = Dialog.createBasicDialog(false)
73 | dialog.setMessageText(title);
74 | dialog.setInformativeText(message);
75 |
76 | return dialog.runModal();
77 | }
78 |
79 | // UI
80 | static createBasicDialog(showsCancel, acceptText){
81 | let alert = COSAlertWindow.new();
82 |
83 | let iconURL = plugin.urlForResourceNamed("icon.icns").path()
84 | let icon = NSImage.alloc().initByReferencingFile(iconURL);
85 | alert.setIcon(icon);
86 |
87 | alert.addButtonWithTitle(acceptText ? acceptText : 'OK');
88 | if (showsCancel) alert.addButtonWithTitle('Cancel');
89 | return alert
90 | }
91 |
92 | static createTextField(placeholder) {
93 | var textbox = NSTextField.alloc().initWithFrame(NSMakeRect(0,0,180,22));
94 | textbox.placeholderString = placeholder;
95 | textbox.setEditable(true);
96 | textbox.setSelectable(true);
97 | return textbox
98 | }
99 |
100 | static createDropdown(items) {
101 | let dropdown = NSComboBox.alloc().initWithFrame(NSMakeRect(0,0,180,28));
102 | dropdown.addItemsWithObjectValues(items);
103 | dropdown.setEditable(false);
104 | dropdown.selectItemAtIndex(0)
105 | return dropdown;
106 | }
107 |
108 | static createCheckboxWithTitle(title, xOffset) {
109 |
110 | let offset = xOffset || 0;
111 | let checkbox = NSButton.alloc().initWithFrame(NSMakeRect(offset, 0, 200, 25));
112 | checkbox.setButtonType(NSSwitchButton);
113 | checkbox.setTitle(title);
114 | return checkbox;
115 | }
116 |
117 | static createRadioMatrix(items) {
118 | let buttonCell = NSButtonCell.new();
119 | buttonCell.setButtonType(NSRadioButton);
120 |
121 | let matrix = NSMatrix.alloc().initWithFrame_mode_prototype_numberOfRows_numberOfColumns(NSMakeRect(0, 0, 150, 22), NSRadioModeMatrix, buttonCell, 1, items.length);
122 | matrix.setAutorecalculatesCellSize(true);
123 | let cells = matrix.cells();
124 |
125 | items.forEach((item, index) => {
126 | cells.objectAtIndex(index).setTitle(item);
127 | });
128 |
129 | return matrix;
130 | }
131 |
132 | static createSegmentedControl(items) {
133 | let segControl = NSSegmentedControl.alloc().initWithFrame(NSMakeRect(0,0,300,22));
134 | segControl.setSegmentCount(items.length);
135 |
136 | items.forEach((item, index) => {
137 | segControl.setLabel_forSegment(item, index);
138 | segControl.setWidth_forSegment(0, index);
139 | });
140 |
141 | segControl.cell().setTrackingMode(0); //Raw value of NSSegmentSwitchTrackingSelectOne.
142 | segControl.setSelected_forSegment(true, 0);
143 | return segControl
144 | }
145 |
146 | static createSeparator(){
147 | let separator = NSBox.alloc().initWithFrame(NSMakeRect(0,0,250,10));
148 | separator.setBoxType(2);
149 | return separator
150 | }
151 |
152 | }
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/src/Main.js:
--------------------------------------------------------------------------------
1 | var generateChain = function(context) {
2 | let manager = new ChainManager(context);
3 | manager.newChain();
4 | };
5 |
6 | var updateAllChains = function(context) {
7 | let manager = new ChainManager(context);
8 | manager.updateAllChains();
9 | };
10 |
11 | var removeChainsBetweenSelected = function(context){
12 | let manager = new ChainManager(context);
13 | manager.removeChainsBetweenSelectedLayers();
14 | };
15 |
--------------------------------------------------------------------------------
/Chain.sketchplugin/Contents/Sketch/src/Utils.js:
--------------------------------------------------------------------------------
1 | //Array Utils
2 |
3 | let removeItemFromArray = function(array, item){
4 | let index = array.indexOf(item);
5 | return array.splice(index, 1);
6 | }
7 |
8 | //Taken from http://sketchplugins.com/d/3-welcome-to-the-site/11
9 | let each = function(array, handler) {
10 | var count = array.count ? array.count() : array.length;
11 | for (var i = 0; i < count; i++) {
12 | var layer = array[i];
13 | handler(layer, i);
14 | }
15 | }
16 |
17 | let map = function(array, handler) {
18 | var newArray = NSMutableArray.alloc().init();
19 | each(array, function(item) {
20 | var object = handler(item);
21 | if (object) {
22 | newArray.addObject(object);
23 | }
24 | });
25 | return newArray;
26 | }
27 |
28 | //Transforms an NSArray to Javascript array (hopefully);
29 | let transformToJavascriptArray = function (array) {
30 | let newArray = [];
31 | each(array, function(item) {
32 | newArray.push(item);
33 | });
34 | return newArray;
35 | }
36 |
37 | var plugin;
--------------------------------------------------------------------------------
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 | {one line to give the program's name and a brief idea of what it does.}
635 | Copyright (C) {year} {name of author}
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | {project} Copyright (C) {year} {fullname}
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🦁 Chain is now on Product Hunt! Come [show some love!](https://www.producthunt.com/posts/chain-4) ♥️
2 |
3 |
4 |
5 |
6 | | [Download][] | [Features][] | [Usage][] | [Changelog][] | [Next][] | [Credits][] | [Donate][] |
7 |
8 | ## Features
9 | * Chain multiple layers
10 | * Create chains between multiple properties
11 | * Transform color properties to create more complex chains
12 | * Chains are stored in the document so you can update them anytime
13 |
14 | ## Usage
15 |
16 | ### Creating Chains
17 | 1. Select the layers you want to chain
18 | 2. Run the command **New Chain** from the menu or use **[shift cmd c]**
19 | 3. Select your desired options and click **OK**
20 |
21 |
22 |
23 |
24 |
25 | ### Applying property transformations
26 | When selecting a new chain, you can apply different transformations to the color property you're chaining (hue/saturation/brightness/alpha). Just specify a percentage to offset the property (**i.e** If you apply a transformation of **-10** on the **brightness** you will get a color **10% darker**.
27 |
28 |
29 |
30 |
31 |
32 | ### Updating Chains
33 | To update the Chains in your document, just modify your reference layer and select **Update all Chains** or use **[shift cmd u]**.
34 |
35 |
36 |
37 |
38 |
39 | ### Removing chains
40 | To remove Chains, select two chained layers and select **Remove All Chains Between Selected Layers**, that will erase the chains from the document.
41 |
42 |
43 |
44 |
45 |
46 | # What's Next
47 | * Better Chain management (for creating, editing and deleting them)
48 | * Improved UI to make it easier to implement Chain in yor workflow
49 |
50 | If you have an idea for a new feature, [create a new Issue](https://github.com/LaloMrtnz/Chain/issues) or send me a message on [Twitter](https://twitter.com/L__A__L__O).
51 |
52 | # Credits
53 | * Created with lots of ♥️ by [Lalo](https://twitter.com/L__A__L__O)
54 |
55 | # Like it?
56 | If you find Chain useful, consider supporting its development.
57 |
58 | [Donate 😎](https://www.paypal.me/LaloMrtnz/5usd)
59 |
60 |
61 | [Download]:https://github.com/LaloMrtnz/Chain/releases/latest
62 | [Features]:https://github.com/LaloMrtnz/Chain#features
63 | [Usage]:https://github.com/LaloMrtnz/Chain#usage
64 | [Changelog]:https://github.com/LaloMrtnz/Chain/releases
65 | [Next]:https://github.com/LaloMrtnz/Chain#whats-next
66 | [Credits]:https://github.com/LaloMrtnz/Chain#credits
67 | [Donate]:https://www.paypal.me/LaloMrtnz/0usd
68 |
--------------------------------------------------------------------------------
/appcast.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Chain
5 | https://raw.githubusercontent.com/margusholland/Comma/master/comma-plugin-appcast.xml
6 | Dynamic color relations inside Sketch.
7 | en
8 |
9 | Version 0.9
10 |
11 |
13 |