Added Gulp.js for compiling SCSS stylesheets

This commit is contained in:
2022-11-01 18:49:18 -04:00
parent 7c793dac88
commit 91f72d4893
2956 changed files with 361906 additions and 7 deletions

9
node_modules/through2-filter/LICENSE generated vendored Normal file
View File

@ -0,0 +1,9 @@
(The MIT License)
Copyright (c) Bryce B. Baril <bryce@ravenwall.com>
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.

79
node_modules/through2-filter/README.md generated vendored Normal file
View File

@ -0,0 +1,79 @@
through2-filter
===============
[![NPM](https://nodei.co/npm/through2-filter.png)](https://nodei.co/npm/through2-filter/)
This is a super thin wrapper around [through2](http://npm.im/through2) that works like `Array.prototype.filter` but for streams.
For when through2 is just too verbose :wink:
Note you will **NOT** be able to alter the content of the chunks. This is intended for filtering only. If you want to modify the stream content, use either `through2` or `through2-map`.
```js
var filter = require("through2-filter")
var skip = filter(function (chunk) {
// skip buffers longer than 100
return chunk.length < 100
})
// vs. with through2:
var skip = through2(function (chunk, encoding, callback) {
// skip buffers longer than 100
if (chunk.length < 100) this.push(chunk)
return callback()
})
// Then use your filter:
source.pipe(skip).pipe(sink)
// Additionally accepts `wantStrings` argument to conver buffers into strings
var alphanum = new RegExp("^[A-Za-z0-1]+$")
var scrub = filter({wantStrings: true}, function (str) {
return alphanum.exec(str)
})
// Works like `Array.prototype.filter` meaning you can specify a function that
// takes up to two* arguments: fn(element, index)
var skip10 = filter(function (element, index) {
return index > 10
})
```
*Differences from `Array.prototype.filter`:
* No third `array` callback argument. That would require realizing the entire stream, which is generally counter-productive to stream operations.
* `Array.prototype.filter` doesn't modify the source Array, which is somewhat nonsensical when applied to streams.
API
---
`require("through2-filter")([options], fn)`
---
Create a `through2-filter` instance that will call `fn(chunk)`. If `fn(chunk)` returns "true" the chunk will be passed downstream. Otherwise it will be dropped.
`require("through2-filter").ctor([options], fn)`
---
Create a `through2-filter` Type that can be instantiated via `new Type()` or `Type()` to create reusable spies.
`require("through2-filter").obj([options], fn)`
---
Create a `through2-filter` that defaults to `objectMode = true`.
`require("through2-filter").objCtor([options], fn)`
---
Create a `through2-filter` Type that defaults to `objectMode = true`.
Options
-------
* wantStrings: Automatically call chunk.toString() for the super lazy.
* all other through2 options
LICENSE
=======
MIT

50
node_modules/through2-filter/index.js generated vendored Normal file
View File

@ -0,0 +1,50 @@
"use strict";
module.exports = make
module.exports.ctor = ctor
module.exports.objCtor = objCtor
module.exports.obj = obj
var through2 = require("through2")
var xtend = require("xtend")
function ctor(options, fn) {
if (typeof options == "function") {
fn = options
options = {}
}
var Filter = through2.ctor(options, function (chunk, encoding, callback) {
if (this.options.wantStrings) chunk = chunk.toString()
try {
if (fn.call(this, chunk, this._index++)) this.push(chunk)
return callback()
} catch (e) {
return callback(e)
}
})
Filter.prototype._index = 0
return Filter
}
function objCtor(options, fn) {
if (typeof options === "function") {
fn = options
options = {}
}
options = xtend({objectMode: true, highWaterMark: 16}, options)
return ctor(options, fn)
}
function make(options, fn) {
return ctor(options, fn)()
}
function obj(options, fn) {
if (typeof options === "function") {
fn = options
options = {}
}
options = xtend({objectMode: true, highWaterMark: 16}, options)
return make(options, fn)
}

48
node_modules/through2-filter/package.json generated vendored Normal file
View File

@ -0,0 +1,48 @@
{
"name": "through2-filter",
"version": "3.0.0",
"description": "A through2 to create an Array.prototype.filter analog for streams.",
"files": [
"index.js"
],
"directories": {
"test": "test"
},
"scripts": {
"test": "node test/"
},
"repository": {
"type": "git",
"url": "git@github.com:brycebaril/through2-filter.git"
},
"keywords": [
"streams",
"through",
"through2",
"filter"
],
"author": "Bryce B. Baril",
"license": "MIT",
"jshintConfig": {
"asi": true,
"globalstrict": true,
"validthis": true,
"eqnull": true,
"node": true,
"loopfunc": true,
"newcap": false,
"eqeqeq": false
},
"bugs": {
"url": "https://github.com/brycebaril/through2-filter/issues"
},
"devDependencies": {
"tape": "^4.0.0",
"stream-spigot": "^3.0.5",
"concat-stream": "^1.4.7"
},
"dependencies": {
"through2": "~2.0.0",
"xtend": "~4.0.0"
}
}