Socket
Socket
Sign inDemoInstall

generator-jade

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-jade - npm Package Compare versions

Comparing version 0.5.4 to 0.6.0

app/templates/_gitignore

8

app/index.js

@@ -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.

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