initial commit

This commit is contained in:
air66
2019-07-24 18:16:32 +01:00
commit 5efebf4ded
8591 changed files with 899103 additions and 0 deletions

34
node_modules/postcss-discard-empty/CHANGELOG.md generated vendored Normal file
View File

@@ -0,0 +1,34 @@
# 4.0.0-rc.0
* Breaking: Drops support for Node 0.12, we now require at least Node 4.
* Breaking: Update PostCSS to 6.0.0.
# 2.1.0
* postcss-discard-empty will now report the rules that were removed
(thanks to @duncanbeevers).
# 2.0.1
* Now compiled with babel 6.
# 2.0.0
* Upgraded to PostCSS 5.
# 1.1.2
* Increased performance by iterating the AST in a single pass
(thanks to @andyjansson).
# 1.1.1
* Tweaks for compatibility with the plugin guidelines.
# 1.1.0
* Now uses the PostCSS `4.1` plugin API.
# 1.0.0
* Initial release.

22
node_modules/postcss-discard-empty/LICENSE-MIT generated vendored Normal file
View File

@@ -0,0 +1,22 @@
Copyright (c) Ben Briggs <beneb.info@gmail.com> (http://beneb.info)
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.

49
node_modules/postcss-discard-empty/README.md generated vendored Normal file
View File

@@ -0,0 +1,49 @@
# [postcss][postcss]-discard-empty
> Discard empty rules and values with PostCSS.
## Install
With [npm](https://npmjs.org/package/postcss-discard-empty) do:
```
npm install postcss-discard-empty --save
```
## Example
For more examples see the [tests](src/__tests__/index.js).
### Input
```css
@font-face;
h1 {}
{color:blue}
h2 {color:}
h3 {color:red}
```
### Output
```css
h3 {color:red}
```
## Usage
See the [PostCSS documentation](https://github.com/postcss/postcss#usage) for
examples for your environment.
## Contributors
See [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).
## License
MIT © [Ben Briggs](http://beneb.info)
[postcss]: https://github.com/postcss/postcss

38
node_modules/postcss-discard-empty/dist/index.js generated vendored Normal file
View File

@@ -0,0 +1,38 @@
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _postcss = require('postcss');
var _postcss2 = _interopRequireDefault(_postcss);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const plugin = 'postcss-discard-empty';
function discardAndReport(css, result) {
function discardEmpty(node) {
const { type, nodes: sub, params } = node;
if (sub) {
node.each(discardEmpty);
}
if (type === 'decl' && !node.value || type === 'rule' && !node.selector || sub && !sub.length || type === 'atrule' && (!sub && !params || !params && !sub.length)) {
node.remove();
result.messages.push({
type: 'removal',
plugin,
node
});
}
}
css.each(discardEmpty);
}
exports.default = _postcss2.default.plugin(plugin, () => discardAndReport);
module.exports = exports['default'];

71
node_modules/postcss-discard-empty/package.json generated vendored Normal file
View File

@@ -0,0 +1,71 @@
{
"_from": "postcss-discard-empty@^4.0.1",
"_id": "postcss-discard-empty@4.0.1",
"_inBundle": false,
"_integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==",
"_location": "/postcss-discard-empty",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "postcss-discard-empty@^4.0.1",
"name": "postcss-discard-empty",
"escapedName": "postcss-discard-empty",
"rawSpec": "^4.0.1",
"saveSpec": null,
"fetchSpec": "^4.0.1"
},
"_requiredBy": [
"/cssnano-preset-default"
],
"_resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz",
"_shasum": "c8c951e9f73ed9428019458444a02ad90bb9f765",
"_spec": "postcss-discard-empty@^4.0.1",
"_where": "D:\\Air66 Files\\dev_sites\\www.airurl.dev.cc\\user\\plugins\\air66Theme\\node_modules\\cssnano-preset-default",
"author": {
"name": "Ben Briggs",
"email": "beneb.info@gmail.com",
"url": "http://beneb.info"
},
"bugs": {
"url": "https://github.com/cssnano/cssnano/issues"
},
"bundleDependencies": false,
"dependencies": {
"postcss": "^7.0.0"
},
"deprecated": false,
"description": "Discard empty rules and values with PostCSS.",
"devDependencies": {
"babel-cli": "^6.0.0",
"cross-env": "^5.0.0"
},
"engines": {
"node": ">=6.9.0"
},
"files": [
"dist",
"LICENSE-MIT"
],
"homepage": "https://github.com/cssnano/cssnano",
"keywords": [
"compress",
"css",
"empty",
"minify",
"optimisation",
"postcss",
"postcss-plugin"
],
"license": "MIT",
"main": "dist/index.js",
"name": "postcss-discard-empty",
"repository": {
"type": "git",
"url": "git+https://github.com/cssnano/cssnano.git"
},
"scripts": {
"prepublish": "cross-env BABEL_ENV=publish babel src --out-dir dist --ignore /__tests__/"
},
"version": "4.0.1"
}