generator-jade
Advanced tools
Comparing version 0.5.4 to 0.6.0
@@ -37,4 +37,4 @@ 'use strict'; | ||
name: 'cssProcessor', | ||
message: 'Do you like sass/compass or stylus as a css preprocessor', | ||
choices: ['stylus', 'sass'] | ||
message: 'Do you like sass/compass or stylus as a css preprocessor or just css', | ||
choices: ['stylus', 'sass', 'css'] | ||
}, { | ||
@@ -72,3 +72,3 @@ type: 'confirm', | ||
JadeGenerator.prototype.git = function git() { | ||
this.copy('gitignore', '.gitignore'); | ||
this.template('_gitignore', '.gitignore'); | ||
}; | ||
@@ -89,2 +89,4 @@ | ||
this.copy('_main.styl', 'app/styles/main.styl'); | ||
} else if (this.cssProcessor === 'css') { | ||
this.copy('_main.css', 'app/styles/main.css'); | ||
} | ||
@@ -91,0 +93,0 @@ |
{ | ||
"name": "generator-jade", | ||
"version": "0.5.4", | ||
"version": "0.6.0", | ||
"description": "A yo generator for jade projects", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -21,3 +21,3 @@ # Generator-jade | ||
As css preprocessor you can choose between sass/comapss and stylus. | ||
As css preprocessor you can choose between sass/comapss and stylus. If you don't need a preprocessor, you can choose css. | ||
@@ -24,0 +24,0 @@ All jade files are supposed to be located under app/jade/. All .jade files with an _underscore are treated as partials and not rendered directly. Everything else is a jade file that is supposed to be a page. Create subpages in folders with own index.jade files including _default_layout.jade or you own _layout.jade in /layouts. |
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
24795
22
441