@mobylogix/react-component
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -16,3 +16,3 @@ #! /usr/bin/env node | ||
var dir = options.dir ? path.resolve(name.toLowerCase()) : './'; | ||
var dir = options.dir ? path.resolve(name.toLowerCase()) : ''; | ||
var stylesExt = options.styles || "css"; | ||
@@ -70,4 +70,4 @@ var fileExt = options.ext || "js"; | ||
`; | ||
if (options.dir) { | ||
fs.mkdirSync("./"+name); | ||
if (dir != '') { | ||
fs.mkdirSync("./"+name.toLowerCase()); | ||
} | ||
@@ -74,0 +74,0 @@ fs.openSync(styles, "w"); |
{ | ||
"name": "@mobylogix/react-component", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"repository": "https://github.com/mobylogix/react-component.git", | ||
@@ -5,0 +5,0 @@ "description": "Generate react component", |
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
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
3355