mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-09-12 21:03:32 -06:00
Initial commit
This commit is contained in:
50
node_modules/postcss-scss/CHANGELOG.md
generated
vendored
Normal file
50
node_modules/postcss-scss/CHANGELOG.md
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
## 0.4.1
|
||||
* Fix compatibility with PostCSS 5.2.13.
|
||||
|
||||
## 0.4
|
||||
* Add mixed comments support (`// width: 5% /* width: 6% */`)
|
||||
|
||||
## 0.3.1
|
||||
* Fix parsing selector with interpolation in pseudo-class.
|
||||
|
||||
## 0.3
|
||||
* Use PostCSS 5.2.
|
||||
|
||||
## 0.2.1
|
||||
* Fix nested prop parser for prefixed pseudo.
|
||||
|
||||
## 0.2
|
||||
* Add nested properties support (by dryoma).
|
||||
|
||||
## 0.1.9
|
||||
* Use PostCSS 5.1.
|
||||
* Add source maos to build JS files.
|
||||
* Fix interpolation in `url()`.
|
||||
|
||||
## 0.1.8
|
||||
* Fix interpolation-in-interpolation parsing.
|
||||
* Fix at-rule with interpolation parsing.
|
||||
|
||||
## 0.1.7
|
||||
* Fix inline comments with Windows new lines.
|
||||
|
||||
## 0.1.6
|
||||
* Parse new lines according W3C CSS syntax specification.
|
||||
|
||||
## 0.1.5
|
||||
* Fix package dependencies.
|
||||
|
||||
## 0.1.4
|
||||
* Fix CSS syntax error position on unclosed quotes.
|
||||
|
||||
## 0.1.3
|
||||
* Fix ES2015 module export.
|
||||
|
||||
## 0.1.2
|
||||
* Fix interpolation inside string.
|
||||
|
||||
## 0.1.1
|
||||
* Fix `url()` parsing.
|
||||
|
||||
## 0.1
|
||||
* Initial release.
|
20
node_modules/postcss-scss/LICENSE
generated
vendored
Normal file
20
node_modules/postcss-scss/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright 2013 Andrey Sitnik <andrey@sitnik.ru>
|
||||
|
||||
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.
|
65
node_modules/postcss-scss/README.md
generated
vendored
Normal file
65
node_modules/postcss-scss/README.md
generated
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
# PostCSS SCSS Syntax [![Build Status][ci-img]][ci]
|
||||
|
||||
<img align="right" width="95" height="95"
|
||||
title="Philosopher’s stone, logo of PostCSS"
|
||||
src="http://postcss.github.io/postcss/logo.svg">
|
||||
|
||||
A [SCSS] parser for [PostCSS].
|
||||
|
||||
**This module does not compile SCSS.** It simply parses mixins as custom
|
||||
at-rules & variables as properties, so that PostCSS plugins can then transform
|
||||
SCSS source code alongside CSS.
|
||||
|
||||
[PostCSS]: https://github.com/postcss/postcss
|
||||
[ci-img]: https://img.shields.io/travis/postcss/postcss-scss.svg
|
||||
[SCSS]: http://sass-lang.com/
|
||||
[ci]: https://travis-ci.org/postcss/postcss-scss
|
||||
|
||||
<a href="https://evilmartians.com/?utm_source=postcss">
|
||||
<img src="https://evilmartians.com/badges/sponsored-by-evil-martians.svg" alt="Sponsored by Evil Martians" width="236" height="54">
|
||||
</a>
|
||||
|
||||
## Usage
|
||||
|
||||
### SCSS Transformations
|
||||
|
||||
The main use case of this plugin is to apply PostCSS transformations directly
|
||||
to SCSS source code. For example, if you ship a theme written in SCSS and need
|
||||
[Autoprefixer] to add the appropriate vendor prefixes to it; or you need to
|
||||
lint SCSS with a plugin such as [Stylelint].
|
||||
|
||||
```js
|
||||
var syntax = require('postcss-scss');
|
||||
postcss(plugins).process(scss, { syntax: syntax }).then(function (result) {
|
||||
result.content // SCSS with transformations
|
||||
});
|
||||
```
|
||||
|
||||
[Autoprefixer]: https://github.com/postcss/autoprefixer
|
||||
[Stylelint]: http://stylelint.io/
|
||||
|
||||
### Inline Comments for PostCSS
|
||||
|
||||
This module also enables parsing of single-line comments in CSS source code.
|
||||
|
||||
```scss
|
||||
:root {
|
||||
// Main theme color
|
||||
--color: red;
|
||||
}
|
||||
```
|
||||
|
||||
Note that you don’t need a special stringifier to handle the output; the default
|
||||
one will automatically convert single line comments into block comments.
|
||||
|
||||
```js
|
||||
var syntax = require('postcss-scss');
|
||||
postcss(plugins).process(scss, { parser: syntax }).then(function (result) {
|
||||
result.css // CSS with normal comments
|
||||
});
|
||||
```
|
||||
|
||||
If you want Sass behaviour with removing inline comments, you can use
|
||||
[postcss-strip-inline-comments] plugin.
|
||||
|
||||
[postcss-strip-inline-comments]: https://github.com/mummybot/postcss-strip-inline-comments
|
36
node_modules/postcss-scss/lib/nested-declaration.js
generated
vendored
Normal file
36
node_modules/postcss-scss/lib/nested-declaration.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _container = require('postcss/lib/container');
|
||||
|
||||
var _container2 = _interopRequireDefault(_container);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
|
||||
var NestedDeclaration = function (_Container) {
|
||||
_inherits(NestedDeclaration, _Container);
|
||||
|
||||
function NestedDeclaration(defaults) {
|
||||
_classCallCheck(this, NestedDeclaration);
|
||||
|
||||
var _this = _possibleConstructorReturn(this, _Container.call(this, defaults));
|
||||
|
||||
_this.type = 'decl';
|
||||
_this.isNested = true;
|
||||
if (!_this.nodes) _this.nodes = [];
|
||||
return _this;
|
||||
}
|
||||
|
||||
return NestedDeclaration;
|
||||
}(_container2.default);
|
||||
|
||||
exports.default = NestedDeclaration;
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIm5lc3RlZC1kZWNsYXJhdGlvbi5lczYiXSwibmFtZXMiOlsiTmVzdGVkRGVjbGFyYXRpb24iLCJkZWZhdWx0cyIsInR5cGUiLCJpc05lc3RlZCIsIm5vZGVzIl0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7Ozs7Ozs7OztJQUVNQSxpQjs7O0FBRUYsK0JBQVlDLFFBQVosRUFBc0I7QUFBQTs7QUFBQSxxREFDbEIsc0JBQU1BLFFBQU4sQ0FEa0I7O0FBRWxCLGNBQUtDLElBQUwsR0FBZ0IsTUFBaEI7QUFDQSxjQUFLQyxRQUFMLEdBQWdCLElBQWhCO0FBQ0EsWUFBSyxDQUFDLE1BQUtDLEtBQVgsRUFBbUIsTUFBS0EsS0FBTCxHQUFhLEVBQWI7QUFKRDtBQUtyQjs7Ozs7a0JBSVVKLGlCIiwiZmlsZSI6Im5lc3RlZC1kZWNsYXJhdGlvbi5qcyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBDb250YWluZXIgZnJvbSAncG9zdGNzcy9saWIvY29udGFpbmVyJztcblxuY2xhc3MgTmVzdGVkRGVjbGFyYXRpb24gZXh0ZW5kcyBDb250YWluZXIge1xuXG4gICAgY29uc3RydWN0b3IoZGVmYXVsdHMpIHtcbiAgICAgICAgc3VwZXIoZGVmYXVsdHMpO1xuICAgICAgICB0aGlzLnR5cGUgICAgID0gJ2RlY2wnO1xuICAgICAgICB0aGlzLmlzTmVzdGVkID0gdHJ1ZTtcbiAgICAgICAgaWYgKCAhdGhpcy5ub2RlcyApIHRoaXMubm9kZXMgPSBbXTtcbiAgICB9XG5cbn1cblxuZXhwb3J0IGRlZmF1bHQgTmVzdGVkRGVjbGFyYXRpb247XG4iXX0=
|
26
node_modules/postcss-scss/lib/scss-parse.js
generated
vendored
Normal file
26
node_modules/postcss-scss/lib/scss-parse.js
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = scssParse;
|
||||
|
||||
var _input = require('postcss/lib/input');
|
||||
|
||||
var _input2 = _interopRequireDefault(_input);
|
||||
|
||||
var _scssParser = require('./scss-parser');
|
||||
|
||||
var _scssParser2 = _interopRequireDefault(_scssParser);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function scssParse(scss, opts) {
|
||||
var input = new _input2.default(scss, opts);
|
||||
|
||||
var parser = new _scssParser2.default(input);
|
||||
parser.tokenize();
|
||||
parser.loop();
|
||||
|
||||
return parser.root;
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjc3MtcGFyc2UuZXM2Il0sIm5hbWVzIjpbInNjc3NQYXJzZSIsInNjc3MiLCJvcHRzIiwiaW5wdXQiLCJwYXJzZXIiLCJ0b2tlbml6ZSIsImxvb3AiLCJyb290Il0sIm1hcHBpbmdzIjoiOzs7a0JBSXdCQSxTOztBQUp4Qjs7OztBQUVBOzs7Ozs7QUFFZSxTQUFTQSxTQUFULENBQW1CQyxJQUFuQixFQUF5QkMsSUFBekIsRUFBK0I7QUFDMUMsUUFBSUMsUUFBUSxvQkFBVUYsSUFBVixFQUFnQkMsSUFBaEIsQ0FBWjs7QUFFQSxRQUFJRSxTQUFTLHlCQUFlRCxLQUFmLENBQWI7QUFDQUMsV0FBT0MsUUFBUDtBQUNBRCxXQUFPRSxJQUFQOztBQUVBLFdBQU9GLE9BQU9HLElBQWQ7QUFDSCIsImZpbGUiOiJzY3NzLXBhcnNlLmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IElucHV0IGZyb20gJ3Bvc3Rjc3MvbGliL2lucHV0JztcblxuaW1wb3J0IFNjc3NQYXJzZXIgZnJvbSAnLi9zY3NzLXBhcnNlcic7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNjc3NQYXJzZShzY3NzLCBvcHRzKSB7XG4gICAgbGV0IGlucHV0ID0gbmV3IElucHV0KHNjc3MsIG9wdHMpO1xuXG4gICAgbGV0IHBhcnNlciA9IG5ldyBTY3NzUGFyc2VyKGlucHV0KTtcbiAgICBwYXJzZXIudG9rZW5pemUoKTtcbiAgICBwYXJzZXIubG9vcCgpO1xuXG4gICAgcmV0dXJuIHBhcnNlci5yb290O1xufVxuIl19
|
197
node_modules/postcss-scss/lib/scss-parser.js
generated
vendored
Normal file
197
node_modules/postcss-scss/lib/scss-parser.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
68
node_modules/postcss-scss/lib/scss-stringifier.js
generated
vendored
Normal file
68
node_modules/postcss-scss/lib/scss-stringifier.js
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _stringifier = require('postcss/lib/stringifier');
|
||||
|
||||
var _stringifier2 = _interopRequireDefault(_stringifier);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
||||
|
||||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
||||
|
||||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
||||
|
||||
var ScssStringifier = function (_Stringifier) {
|
||||
_inherits(ScssStringifier, _Stringifier);
|
||||
|
||||
function ScssStringifier() {
|
||||
_classCallCheck(this, ScssStringifier);
|
||||
|
||||
return _possibleConstructorReturn(this, _Stringifier.apply(this, arguments));
|
||||
}
|
||||
|
||||
ScssStringifier.prototype.comment = function comment(node) {
|
||||
var left = this.raw(node, 'left', 'commentLeft');
|
||||
var right = this.raw(node, 'right', 'commentRight');
|
||||
|
||||
if (node.raws.inline) {
|
||||
var text = node.raws.text || node.text;
|
||||
this.builder('//' + left + text + right, node);
|
||||
} else {
|
||||
this.builder('/*' + left + node.text + right + '*/', node);
|
||||
}
|
||||
};
|
||||
|
||||
ScssStringifier.prototype.decl = function decl(node, semicolon) {
|
||||
if (!node.isNested) {
|
||||
_Stringifier.prototype.decl.call(this, node, semicolon);
|
||||
} else {
|
||||
|
||||
var between = this.raw(node, 'between', 'colon');
|
||||
var string = node.prop + between + this.rawValue(node, 'value');
|
||||
if (node.important) {
|
||||
string += node.raws.important || ' !important';
|
||||
}
|
||||
|
||||
this.builder(string + '{', node, 'start');
|
||||
|
||||
var after = void 0;
|
||||
if (node.nodes && node.nodes.length) {
|
||||
this.body(node);
|
||||
after = this.raw(node, 'after');
|
||||
} else {
|
||||
after = this.raw(node, 'after', 'emptyBody');
|
||||
}
|
||||
if (after) this.builder(after);
|
||||
this.builder('}', node, 'end');
|
||||
}
|
||||
};
|
||||
|
||||
return ScssStringifier;
|
||||
}(_stringifier2.default);
|
||||
|
||||
exports.default = ScssStringifier;
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjc3Mtc3RyaW5naWZpZXIuZXM2Il0sIm5hbWVzIjpbIlNjc3NTdHJpbmdpZmllciIsImNvbW1lbnQiLCJub2RlIiwibGVmdCIsInJhdyIsInJpZ2h0IiwicmF3cyIsImlubGluZSIsInRleHQiLCJidWlsZGVyIiwiZGVjbCIsInNlbWljb2xvbiIsImlzTmVzdGVkIiwiYmV0d2VlbiIsInN0cmluZyIsInByb3AiLCJyYXdWYWx1ZSIsImltcG9ydGFudCIsImFmdGVyIiwibm9kZXMiLCJsZW5ndGgiLCJib2R5Il0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7Ozs7Ozs7OztJQUVxQkEsZTs7Ozs7Ozs7OzhCQUVqQkMsTyxvQkFBUUMsSSxFQUFNO0FBQ1YsWUFBSUMsT0FBUSxLQUFLQyxHQUFMLENBQVNGLElBQVQsRUFBZSxNQUFmLEVBQXdCLGFBQXhCLENBQVo7QUFDQSxZQUFJRyxRQUFRLEtBQUtELEdBQUwsQ0FBU0YsSUFBVCxFQUFlLE9BQWYsRUFBd0IsY0FBeEIsQ0FBWjs7QUFFQSxZQUFLQSxLQUFLSSxJQUFMLENBQVVDLE1BQWYsRUFBd0I7QUFDcEIsZ0JBQUl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aWNvbG9uKSB7XG4gICAgICAgIGlmICggIW5vZGUuaXNOZXN0ZWQgKSB7XG4gICAgICAgICAgICBzdXBlci5kZWNsKG5vZGUsIHNlbWljb2xvbik7XG4gICAgICAgIH0gZWxzZSB7XG5cbiAgICAgICAgICAgIGxldCBiZXR3ZWVuID0gdGhpcy5yYXcobm9kZSwgJ2JldHdlZW4nLCAnY29sb24nKTtcbiAgICAgICAgICAgIGxldCBzdHJpbmcgID0gbm9kZS5wcm9wICsgYmV0d2VlbiArIHRoaXMucmF3VmFsdWUobm9kZSwgJ3ZhbHVlJyk7XG4gICAgICAgICAgICBpZiAoIG5vZGUuaW1wb3J0YW50ICkge1xuICAgICAgICAgICAgICAgIHN0cmluZyArPSBub2RlLnJhd3MuaW1wb3J0YW50IHx8ICcgIWltcG9ydGFudCc7XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIHRoaXMuYnVpbGRlcihzdHJpbmcgKyAneycsIG5vZGUsICdzdGFydCcpO1xuXG4gICAgICAgICAgICBsZXQgYWZ0ZXI7XG4gICAgICAgICAgICBpZiAoIG5vZGUubm9kZXMgJiYgbm9kZS5ub2Rlcy5sZW5ndGggKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5ib2R5KG5vZGUpO1xuICAgICAgICAgICAgICAgIGFmdGVyID0gdGhpcy5yYXcobm9kZSwgJ2FmdGVyJyk7XG4gICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgIGFmdGVyID0gdGhpcy5yYXcobm9kZSwgJ2FmdGVyJywgJ2VtcHR5Qm9keScpO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgaWYgKCBhZnRlciApIHRoaXMuYnVpbGRlcihhZnRlcik7XG4gICAgICAgICAgICB0aGlzLmJ1aWxkZXIoJ30nLCBub2RlLCAnZW5kJyk7XG4gICAgICAgIH1cbiAgICB9XG5cbn1cbiJdfQ==
|
17
node_modules/postcss-scss/lib/scss-stringify.js
generated
vendored
Normal file
17
node_modules/postcss-scss/lib/scss-stringify.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = scssStringify;
|
||||
|
||||
var _scssStringifier = require('./scss-stringifier');
|
||||
|
||||
var _scssStringifier2 = _interopRequireDefault(_scssStringifier);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
function scssStringify(node, builder) {
|
||||
var str = new _scssStringifier2.default(builder);
|
||||
str.stringify(node);
|
||||
}
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjc3Mtc3RyaW5naWZ5LmVzNiJdLCJuYW1lcyI6WyJzY3NzU3RyaW5naWZ5Iiwibm9kZSIsImJ1aWxkZXIiLCJzdHIiLCJzdHJpbmdpZnkiXSwibWFwcGluZ3MiOiI7OztrQkFFd0JBLGE7O0FBRnhCOzs7Ozs7QUFFZSxTQUFTQSxhQUFULENBQXVCQyxJQUF2QixFQUE2QkMsT0FBN0IsRUFBc0M7QUFDakQsUUFBSUMsTUFBTSw4QkFBb0JELE9BQXBCLENBQVY7QUFDQUMsUUFBSUMsU0FBSixDQUFjSCxJQUFkO0FBQ0giLCJmaWxlIjoic2Nzcy1zdHJpbmdpZnkuanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgU2Nzc1N0cmluZ2lmaWVyIGZyb20gJy4vc2Nzcy1zdHJpbmdpZmllcic7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIHNjc3NTdHJpbmdpZnkobm9kZSwgYnVpbGRlcikge1xuICAgIGxldCBzdHIgPSBuZXcgU2Nzc1N0cmluZ2lmaWVyKGJ1aWxkZXIpO1xuICAgIHN0ci5zdHJpbmdpZnkobm9kZSk7XG59XG4iXX0=
|
17
node_modules/postcss-scss/lib/scss-syntax.js
generated
vendored
Normal file
17
node_modules/postcss-scss/lib/scss-syntax.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
|
||||
var _scssStringify = require('./scss-stringify');
|
||||
|
||||
var _scssStringify2 = _interopRequireDefault(_scssStringify);
|
||||
|
||||
var _scssParse = require('./scss-parse');
|
||||
|
||||
var _scssParse2 = _interopRequireDefault(_scssParse);
|
||||
|
||||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||||
|
||||
exports.default = { parse: _scssParse2.default, stringify: _scssStringify2.default };
|
||||
module.exports = exports['default'];
|
||||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNjc3Mtc3ludGF4LmVzNiJdLCJuYW1lcyI6WyJwYXJzZSIsInN0cmluZ2lmeSJdLCJtYXBwaW5ncyI6Ijs7OztBQUFBOzs7O0FBQ0E7Ozs7OztrQkFFZSxFQUFFQSwwQkFBRixFQUFTQyxrQ0FBVCxFIiwiZmlsZSI6InNjc3Mtc3ludGF4LmpzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0cmluZ2lmeSBmcm9tICcuL3Njc3Mtc3RyaW5naWZ5JztcbmltcG9ydCBwYXJzZSAgICAgZnJvbSAnLi9zY3NzLXBhcnNlJztcblxuZXhwb3J0IGRlZmF1bHQgeyBwYXJzZSwgc3RyaW5naWZ5IH07XG4iXX0=
|
344
node_modules/postcss-scss/lib/scss-tokenize.js
generated
vendored
Normal file
344
node_modules/postcss-scss/lib/scss-tokenize.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
114
node_modules/postcss-scss/package.json
generated
vendored
Normal file
114
node_modules/postcss-scss/package.json
generated
vendored
Normal file
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"postcss-scss@^0.4.0",
|
||||
"/Users/pmarsceill/_projects/just-the-docs/node_modules/stylelint"
|
||||
]
|
||||
],
|
||||
"_from": "postcss-scss@>=0.4.0 <0.5.0",
|
||||
"_id": "postcss-scss@0.4.1",
|
||||
"_inCache": true,
|
||||
"_installable": true,
|
||||
"_location": "/postcss-scss",
|
||||
"_nodeVersion": "7.5.0",
|
||||
"_npmOperationalInternal": {
|
||||
"host": "packages-18-east.internal.npmjs.com",
|
||||
"tmp": "tmp/postcss-scss-0.4.1.tgz_1487178598408_0.5990975915919989"
|
||||
},
|
||||
"_npmUser": {
|
||||
"email": "andrey@sitnik.ru",
|
||||
"name": "ai"
|
||||
},
|
||||
"_npmVersion": "4.1.2",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"name": "postcss-scss",
|
||||
"raw": "postcss-scss@^0.4.0",
|
||||
"rawSpec": "^0.4.0",
|
||||
"scope": null,
|
||||
"spec": ">=0.4.0 <0.5.0",
|
||||
"type": "range"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/stylelint"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-0.4.1.tgz",
|
||||
"_shasum": "ad771b81f0f72f5f4845d08aa60f93557653d54c",
|
||||
"_shrinkwrap": null,
|
||||
"_spec": "postcss-scss@^0.4.0",
|
||||
"_where": "/Users/pmarsceill/_projects/just-the-docs/node_modules/stylelint",
|
||||
"author": {
|
||||
"email": "andrey@sitnik.ru",
|
||||
"name": "Andrey Sitnik"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/postcss/postcss-scss/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"postcss": "^5.2.13"
|
||||
},
|
||||
"description": "SCSS parser for PostCSS",
|
||||
"devDependencies": {
|
||||
"ava": "^0.18.1",
|
||||
"babel-core": "^6.23.1",
|
||||
"babel-eslint": "^7.1.1",
|
||||
"babel-plugin-add-module-exports": "0.2.1",
|
||||
"babel-plugin-precompile-charcodes": "1.0.0",
|
||||
"babel-preset-es2015": "^6.22.0",
|
||||
"del": "2.2.2",
|
||||
"eslint": "^3.15.0",
|
||||
"eslint-config-postcss": "2.0.2",
|
||||
"gulp": "3.9.1",
|
||||
"gulp-ava": "^0.16.0",
|
||||
"gulp-babel": "6.1.2",
|
||||
"gulp-changed": "1.3.2",
|
||||
"gulp-eslint": "3.0.1",
|
||||
"gulp-json-editor": "2.2.1",
|
||||
"gulp-sourcemaps": "^2.4.1",
|
||||
"lint-staged": "^3.3.0",
|
||||
"postcss-parser-tests": "^5.0.11",
|
||||
"pre-commit": "^1.2.2",
|
||||
"run-sequence": "1.2.2"
|
||||
},
|
||||
"directories": {},
|
||||
"dist": {
|
||||
"shasum": "ad771b81f0f72f5f4845d08aa60f93557653d54c",
|
||||
"tarball": "https://registry.npmjs.org/postcss-scss/-/postcss-scss-0.4.1.tgz"
|
||||
},
|
||||
"homepage": "https://github.com/postcss/postcss-scss#readme",
|
||||
"keywords": [
|
||||
"css",
|
||||
"parser",
|
||||
"postcss",
|
||||
"postcss-syntax",
|
||||
"sass",
|
||||
"scss"
|
||||
],
|
||||
"license": "MIT",
|
||||
"lint-staged": {
|
||||
"lib/*.es6": "eslint",
|
||||
"test/*.js": "eslint"
|
||||
},
|
||||
"main": "lib/scss-syntax",
|
||||
"maintainers": [
|
||||
{
|
||||
"name": "ai",
|
||||
"email": "andrey@sitnik.ru"
|
||||
}
|
||||
],
|
||||
"name": "postcss-scss",
|
||||
"optionalDependencies": {},
|
||||
"pre-commit": [
|
||||
"lint-staged"
|
||||
],
|
||||
"readme": "ERROR: No README data found!",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/postcss/postcss-scss.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint-staged": "lint-staged",
|
||||
"test": "gulp"
|
||||
},
|
||||
"version": "0.4.1"
|
||||
}
|
Reference in New Issue
Block a user