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

generator-ll-prototype

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ll-prototype

A simple yeoman generator for quick prototyping. Uses gulp, handlebars, and sass

  • 0.6.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Thank you for checking out my Yeoman generator.

To use this generator, please ensure you have installed Yeoman globally on your machine, npm install -g yo. Visit http://yeoman.io/ for more details.

Installation & Usage

To install:

install this generator globally on your machine

npm install -g generator-ll-prototype

To update:

npm update -g generator-ll-prototype

To check current version:

npm list -g generator-ll-prototype

To use:

This is used like any other Yeoman generator. Navigate to your new project folder and run:

yo ll-prototype

Options

  1. Include Foundation Grid
  2. Include jQuery (default included if user chooses to include foundation grid)
  3. Include Modernizr (default included if user chooses to include foundation grid)

Project Structure

[project_name] -> .sass-cache/ -> bower_components/ -> data/ -> dist/ -> node_modules/ -> partials/ -> scripts/ -> styles/ -> templates/ .bowerrc .gitignore bower.json Gulpfile.js humans.txt package.json README.md robots.txt

** sass-cache

  • makes compiling faster
  • Sass caches parsed documents so that they can be reused without parsing them again unless they have changed.
  • git ignored

** bower_components/

  • location where bower writes dependencies that our generator needs
  • this will also be the location where bower writes tools / libraries to should user choose to add anything additional
  • git ignored
  • jQuery ... copied to dist/js/vendor/
  • modernizr ... copied to dist/js/vendor if foundation is selected by user
  • normalize-scss ... imported into main.scss

** data/

  • json file used in gulp-compile-handlebars plugin
  • allows data to be accessible throughout handlebars templates and partials

** dist/

  • compiled folder to deploy

** node_modules/

  • location where npm writes dependencies that our generator needs
  • this will also be the location where npm writes tools / libraries to should user choose to add anything additional
  • git ignored

** partials/

  • handlebars partials that are available throughout project
  • used in gulp-compile-handlebars plugin

** scripts/

  • where user js is written

** styles/

  • where user sass is written

** templates/

  • handlebars templates that are available throughout project

Gulp

Please see comments in gulpfile.js for more information but basically Gulp will:

  • create a dist folder for deployment

  • lint and minify js

  • move vendor js

  • compile and minify sass

  • compile handlebars templates (partials) into .html files

  • watch for any changes and includes livereload

Keywords

FAQs

Package last updated on 12 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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