Added Gulp.js for compiling SCSS stylesheets
This commit is contained in:
21
node_modules/array-last/LICENSE
generated
vendored
Normal file
21
node_modules/array-last/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
94
node_modules/array-last/README.md
generated
vendored
Executable file
94
node_modules/array-last/README.md
generated
vendored
Executable file
@ -0,0 +1,94 @@
|
||||
# array-last [](https://www.npmjs.com/package/array-last) [](https://npmjs.org/package/array-last) [](https://npmjs.org/package/array-last) [](https://travis-ci.org/jonschlinkert/array-last)
|
||||
|
||||
> Get the last or last n elements in an array.
|
||||
|
||||
Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save array-last
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var last = require('array-last');
|
||||
|
||||
last(['a', 'b', 'c', 'd', 'e', 'f']);
|
||||
//=> 'f'
|
||||
|
||||
last(['a', 'b', 'c', 'd', 'e', 'f'], 1);
|
||||
//=> 'f'
|
||||
|
||||
last(['a', 'b', 'c', 'd', 'e', 'f'], 3);
|
||||
//=> ['d', 'e', 'f']
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
<details>
|
||||
<summary><strong>Contributing</strong></summary>
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Running Tests</strong></summary>
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Building docs</strong></summary>
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Related projects
|
||||
|
||||
You might also be interested in these projects:
|
||||
|
||||
* [arr-union](https://www.npmjs.com/package/arr-union): Combines a list of arrays, returning a single array with unique values, using strict equality… [more](https://github.com/jonschlinkert/arr-union) | [homepage](https://github.com/jonschlinkert/arr-union)
|
||||
* [array-unique](https://www.npmjs.com/package/array-unique): Remove duplicate values from an array. Fastest ES5 implementation. | [homepage](https://github.com/jonschlinkert/array-unique)
|
||||
* [array-xor](https://www.npmjs.com/package/array-xor): Returns the symmetric difference (exclusive-or) of an array of elements (elements that are present in… [more](https://github.com/jonschlinkert/array-xor) | [homepage](https://github.com/jonschlinkert/array-xor)
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 19 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 3 | [SpyMaster356](https://github.com/SpyMaster356) |
|
||||
| 2 | [bendrucker](https://github.com/bendrucker) |
|
||||
| 2 | [phated](https://github.com/phated) |
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on November 30, 2017._
|
30
node_modules/array-last/index.js
generated
vendored
Normal file
30
node_modules/array-last/index.js
generated
vendored
Normal file
@ -0,0 +1,30 @@
|
||||
/*!
|
||||
* array-last <https://github.com/jonschlinkert/array-last>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
var isNumber = require('is-number');
|
||||
|
||||
module.exports = function last(arr, n) {
|
||||
if (!Array.isArray(arr)) {
|
||||
throw new Error('expected the first argument to be an array');
|
||||
}
|
||||
|
||||
var len = arr.length;
|
||||
if (len === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
n = isNumber(n) ? +n : 1;
|
||||
if (n === 1) {
|
||||
return arr[len - 1];
|
||||
}
|
||||
|
||||
var res = new Array(n);
|
||||
while (n--) {
|
||||
res[n] = arr[--len];
|
||||
}
|
||||
return res;
|
||||
};
|
21
node_modules/array-last/node_modules/is-number/LICENSE
generated
vendored
Normal file
21
node_modules/array-last/node_modules/is-number/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
135
node_modules/array-last/node_modules/is-number/README.md
generated
vendored
Normal file
135
node_modules/array-last/node_modules/is-number/README.md
generated
vendored
Normal file
@ -0,0 +1,135 @@
|
||||
# is-number [](https://www.npmjs.com/package/is-number) [](https://npmjs.org/package/is-number) [](https://npmjs.org/package/is-number) [](https://travis-ci.org/jonschlinkert/is-number)
|
||||
|
||||
> Returns true if the value is a number. comprehensive tests.
|
||||
|
||||
Please consider following this project's author, [Jon Schlinkert](https://github.com/jonschlinkert), and consider starring the project to show your :heart: and support.
|
||||
|
||||
## Install
|
||||
|
||||
Install with [npm](https://www.npmjs.com/):
|
||||
|
||||
```sh
|
||||
$ npm install --save is-number
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
To understand some of the rationale behind the decisions made in this library (and to learn about some oddities of number evaluation in JavaScript), [see this gist](https://gist.github.com/jonschlinkert/e30c70c713da325d0e81).
|
||||
|
||||
```js
|
||||
var isNumber = require('is-number');
|
||||
```
|
||||
|
||||
### true
|
||||
|
||||
See the [tests](./test.js) for more examples.
|
||||
|
||||
```js
|
||||
isNumber(5e3) //=> 'true'
|
||||
isNumber(0xff) //=> 'true'
|
||||
isNumber(-1.1) //=> 'true'
|
||||
isNumber(0) //=> 'true'
|
||||
isNumber(1) //=> 'true'
|
||||
isNumber(1.1) //=> 'true'
|
||||
isNumber(10) //=> 'true'
|
||||
isNumber(10.10) //=> 'true'
|
||||
isNumber(100) //=> 'true'
|
||||
isNumber('-1.1') //=> 'true'
|
||||
isNumber('0') //=> 'true'
|
||||
isNumber('012') //=> 'true'
|
||||
isNumber('0xff') //=> 'true'
|
||||
isNumber('1') //=> 'true'
|
||||
isNumber('1.1') //=> 'true'
|
||||
isNumber('10') //=> 'true'
|
||||
isNumber('10.10') //=> 'true'
|
||||
isNumber('100') //=> 'true'
|
||||
isNumber('5e3') //=> 'true'
|
||||
isNumber(parseInt('012')) //=> 'true'
|
||||
isNumber(parseFloat('012')) //=> 'true'
|
||||
```
|
||||
|
||||
### False
|
||||
|
||||
See the [tests](./test.js) for more examples.
|
||||
|
||||
```js
|
||||
isNumber('foo') //=> 'false'
|
||||
isNumber([1]) //=> 'false'
|
||||
isNumber([]) //=> 'false'
|
||||
isNumber(function () {}) //=> 'false'
|
||||
isNumber(Infinity) //=> 'false'
|
||||
isNumber(NaN) //=> 'false'
|
||||
isNumber(new Array('abc')) //=> 'false'
|
||||
isNumber(new Array(2)) //=> 'false'
|
||||
isNumber(new Buffer('abc')) //=> 'false'
|
||||
isNumber(null) //=> 'false'
|
||||
isNumber(undefined) //=> 'false'
|
||||
isNumber({abc: 'abc'}) //=> 'false'
|
||||
```
|
||||
|
||||
## About
|
||||
|
||||
<details>
|
||||
<summary><strong>Contributing</strong></summary>
|
||||
|
||||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Running Tests</strong></summary>
|
||||
|
||||
Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
|
||||
|
||||
```sh
|
||||
$ npm install && npm test
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary><strong>Building docs</strong></summary>
|
||||
|
||||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
|
||||
|
||||
To generate the readme, run the following command:
|
||||
|
||||
```sh
|
||||
$ npm install -g verbose/verb#dev verb-generate-readme && verb
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### Related projects
|
||||
|
||||
You might also be interested in these projects:
|
||||
|
||||
* [even](https://www.npmjs.com/package/even): Get the even numbered items from an array. | [homepage](https://github.com/jonschlinkert/even "Get the even numbered items from an array.")
|
||||
* [is-even](https://www.npmjs.com/package/is-even): Return true if the given number is even. | [homepage](https://github.com/jonschlinkert/is-even "Return true if the given number is even.")
|
||||
* [is-odd](https://www.npmjs.com/package/is-odd): Returns true if the given number is odd. | [homepage](https://github.com/jonschlinkert/is-odd "Returns true if the given number is odd.")
|
||||
* [is-primitive](https://www.npmjs.com/package/is-primitive): Returns `true` if the value is a primitive. | [homepage](https://github.com/jonschlinkert/is-primitive "Returns `true` if the value is a primitive. ")
|
||||
* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.")
|
||||
* [odd](https://www.npmjs.com/package/odd): Get the odd numbered items from an array. | [homepage](https://github.com/jonschlinkert/odd "Get the odd numbered items from an array.")
|
||||
|
||||
### Contributors
|
||||
|
||||
| **Commits** | **Contributor** |
|
||||
| --- | --- |
|
||||
| 38 | [jonschlinkert](https://github.com/jonschlinkert) |
|
||||
| 5 | [charlike](https://github.com/charlike) |
|
||||
|
||||
### Author
|
||||
|
||||
**Jon Schlinkert**
|
||||
|
||||
* [github/jonschlinkert](https://github.com/jonschlinkert)
|
||||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
|
||||
|
||||
### License
|
||||
|
||||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
|
||||
Released under the [MIT License](LICENSE).
|
||||
|
||||
***
|
||||
|
||||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on October 17, 2017._
|
21
node_modules/array-last/node_modules/is-number/index.js
generated
vendored
Normal file
21
node_modules/array-last/node_modules/is-number/index.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/*!
|
||||
* is-number <https://github.com/jonschlinkert/is-number>
|
||||
*
|
||||
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function isNumber(num) {
|
||||
var type = typeof num;
|
||||
|
||||
if (type === 'string' || num instanceof String) {
|
||||
// an empty string would be coerced to true with the below logic
|
||||
if (!num.trim()) return false;
|
||||
} else if (type !== 'number' && !(num instanceof Number)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return (num - num + 1) >= 0;
|
||||
};
|
76
node_modules/array-last/node_modules/is-number/package.json
generated
vendored
Normal file
76
node_modules/array-last/node_modules/is-number/package.json
generated
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "is-number",
|
||||
"description": "Returns true if the value is a number. comprehensive tests.",
|
||||
"version": "4.0.0",
|
||||
"homepage": "https://github.com/jonschlinkert/is-number",
|
||||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
||||
"contributors": [
|
||||
"Jon Schlinkert (http://twitter.com/jonschlinkert)",
|
||||
"tunnckoCore (https://i.am.charlike.online)"
|
||||
],
|
||||
"repository": "jonschlinkert/is-number",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/is-number/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"devDependencies": {
|
||||
"benchmarked": "^2.0.0",
|
||||
"chalk": "^2.1.0",
|
||||
"gulp-format-md": "^1.0.0",
|
||||
"mocha": "^3.0.1"
|
||||
},
|
||||
"keywords": [
|
||||
"check",
|
||||
"coerce",
|
||||
"coercion",
|
||||
"integer",
|
||||
"is",
|
||||
"is-nan",
|
||||
"is-num",
|
||||
"is-number",
|
||||
"istype",
|
||||
"kind",
|
||||
"math",
|
||||
"nan",
|
||||
"num",
|
||||
"number",
|
||||
"numeric",
|
||||
"test",
|
||||
"type",
|
||||
"typeof",
|
||||
"value"
|
||||
],
|
||||
"verb": {
|
||||
"related": {
|
||||
"list": [
|
||||
"even",
|
||||
"is-even",
|
||||
"is-odd",
|
||||
"is-primitive",
|
||||
"kind-of",
|
||||
"odd"
|
||||
]
|
||||
},
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
}
|
||||
}
|
76
node_modules/array-last/package.json
generated
vendored
Normal file
76
node_modules/array-last/package.json
generated
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
{
|
||||
"name": "array-last",
|
||||
"description": "Get the last or last n elements in an array.",
|
||||
"version": "1.3.0",
|
||||
"homepage": "https://github.com/jonschlinkert/array-last",
|
||||
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
|
||||
"contributors": [
|
||||
"Ben Drucker (http://www.bendrucker.me)",
|
||||
"Blaine Bublitz (https://twitter.com/BlaineBublitz)",
|
||||
"Jon Schlinkert (http://twitter.com/jonschlinkert)",
|
||||
"Stephen A. Wilson (https://github.com/SpyMaster356)"
|
||||
],
|
||||
"repository": "jonschlinkert/array-last",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jonschlinkert/array-last/issues"
|
||||
},
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"main": "index.js",
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "mocha"
|
||||
},
|
||||
"dependencies": {
|
||||
"is-number": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"ansi-bold": "^0.1.1",
|
||||
"array-slice": "^1.0.0",
|
||||
"benchmarked": "^1.1.1",
|
||||
"gulp-format-md": "^1.0.0",
|
||||
"matched": "^1.0.2",
|
||||
"mocha": "^3.5.0"
|
||||
},
|
||||
"keywords": [
|
||||
"array",
|
||||
"fast",
|
||||
"first",
|
||||
"initial",
|
||||
"javascript",
|
||||
"js",
|
||||
"last",
|
||||
"rest",
|
||||
"util",
|
||||
"utility",
|
||||
"utils"
|
||||
],
|
||||
"verb": {
|
||||
"run": true,
|
||||
"toc": false,
|
||||
"layout": "default",
|
||||
"tasks": [
|
||||
"readme"
|
||||
],
|
||||
"plugins": [
|
||||
"gulp-format-md"
|
||||
],
|
||||
"related": {
|
||||
"list": [
|
||||
"arr-union",
|
||||
"array-unique",
|
||||
"array-xor"
|
||||
]
|
||||
},
|
||||
"reflinks": [
|
||||
"verb"
|
||||
],
|
||||
"lint": {
|
||||
"reflinks": true
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user