broccoli-kss
Advanced tools
Comparing version 0.0.0 to 0.0.1
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15520
6
424
12
1
1
+ Addedasync@0.1.x
+ Addedclean-css@0.3.x
+ Addedhandlebars@1.0.5beta
+ Addedless@1.x.x
+ Addedmarked@0.1.x
+ Addednatural@0.0.65
+ Addedoptimist@0.3.x
+ Addedsass@0.5.x
+ Addedstylus@0.30.x
+ Addedwrench@1.3.x
+ Addedamdefine@1.0.1(transitive)
+ Addedapparatus@0.0.10(transitive)
+ Addedasn1@0.1.11(transitive)
+ Addedassert-plus@0.1.5(transitive)
+ Addedasync@0.1.220.9.2(transitive)
+ Addedaws-sign2@0.5.0(transitive)
+ Addedboom@0.4.2(transitive)
+ Addedclean-css@0.3.32.2.23(transitive)
+ Addedcombined-stream@0.0.7(transitive)
+ Addedcommander@2.2.0(transitive)
+ Addedcryptiles@0.2.2(transitive)
+ Addedcssom@0.2.5(transitive)
+ Addedctype@0.5.3(transitive)
+ Addeddebug@4.3.7(transitive)
+ Addeddelayed-stream@0.0.5(transitive)
+ Addedforever-agent@0.5.2(transitive)
+ Addedform-data@0.1.4(transitive)
+ Addedgraceful-fs@3.0.12(transitive)
+ Addedhawk@1.1.1(transitive)
+ Addedhoek@0.9.1(transitive)
+ Addedhttp-signature@0.10.1(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedless@1.7.5(transitive)
+ Addedmarked@0.1.9(transitive)
+ Addedmime@1.2.11(transitive)
+ Addedmime-types@1.0.2(transitive)
+ Addedmkdirp@0.3.50.5.6(transitive)
+ Addedms@2.1.3(transitive)
+ Addednatives@1.1.6(transitive)
+ Addednatural@0.0.65(transitive)
+ Addednode-uuid@1.4.8(transitive)
+ Addedoauth-sign@0.3.0(transitive)
+ Addedoptimist@0.1.90.3.7(transitive)
+ Addedqs@1.0.2(transitive)
+ Addedrequest@2.40.0(transitive)
+ Addedsass@0.5.0(transitive)
+ Addedsntp@0.2.4(transitive)
+ Addedsource-map@0.1.43(transitive)
+ Addedstringstream@0.0.6(transitive)
+ Addedstylus@0.30.1(transitive)
+ Addedsylvester@0.0.21(transitive)
+ Addedtldts@6.1.59(transitive)
+ Addedtldts-core@6.1.59(transitive)
+ Addedtough-cookie@5.0.0(transitive)
+ Addedtunnel-agent@0.4.3(transitive)
+ Addedunderscore@1.13.7(transitive)
+ Addedwordwrap@0.0.3(transitive)
+ Addedwrench@1.3.9(transitive)