Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

broccoli-kss

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-kss - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

.npmignore

27

index.js
var Writer = require('broccoli-writer');
var kss = require('kss-node');
var options = {
markdown: false
};
module.exports = MyCompiler;
MyCompiler.prototype = Object.create(Writer.prototype);
MyCompiler.prototype.constructor = MyCompiler;
module.exports = KssCompiler;
KssCompiler.prototype = Object.create(Writer.prototype);
KssCompiler.prototype.constructor = KssCompiler;
function MyCompiler(arg1, arg2, ...) {
if (!(this instanceof MyCompiler)) return new MyCompiler(arg1, arg2, ...);
//TODO
function KssCompiler(sourceTree, options) {
if (!(this instanceof KssCompiler)) return new KssCompiler(sourceTree, options);
this.sourceTree = sourceTree
options = options || {}
this.kssOptions = {
templateDir: options.templateDir,
sassFile: options.sassFile
}
};
MyCompiler.prototype.write = function(readTree, destDir) {
//TODO
KssCompiler.prototype.write = function(readTree, destDir) {
readTree(this.sourceTree).then(function(srcDir){
kss(srcDir, destDir, this.kssOptions.templateDir, this.kssOptions.sassFile);
});
};
{
"name": "broccoli-kss",
"version": "0.0.0",
"version": "0.0.1",
"description": "A broccoli plugin for KSS",

@@ -25,4 +25,14 @@ "main": "index.js",

"broccoli-writer": "^0.1.1",
"kss": "latest"
"kss": "latest",
"marked": "0.1.x",
"natural": "0.0.65",
"handlebars": "1.0.5beta",
"wrench": "1.3.x",
"less": "1.x.x",
"stylus": "0.30.x",
"sass": "0.5.x",
"optimist": "0.3.x",
"clean-css": "0.3.x",
"async": "0.1.x"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc