Socket
Book a DemoInstallSign in
Socket

generator-dawg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-dawg

Don't Automate Without Gulp: An opinionated generator that gets you up and running with modern front-end web development tools (Gulp, BrowserSync, ES6, Babel, JSHint, Mocha, Sass)

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

generator-dawg

Don't Automate Without Gulp! generator-dawg is an opinionated Yeoman generator that gets you up and running with modern front-end web development tools. Inspired by generator-modern-frontend.

Sit tight dawg!

Features

  • Development
    • Package management with npm
    • Building with Gulp
    • Live-reloading with BrowserSync
      • Automatically reload the browser when changes to the file system are detected
      • Changes in stylesheets inject into the browser without triggering a reload
    • Scaffolds out common files like favicon.ico, robots.txt, Readme.md, and more
  • JavaScript
  • CSS
  • Images

For more information on what this generator can do for you, take a look at the gulp plugins used in our package.json.

Getting Started

  • Install Yeoman: npm install --global yo
  • Install this generator: npm install --global generator-dawg
  • Create a directory for your new project: mkdir my_new_project && cd my_new_project
  • Run yo dawg to install dependencies and start scaffolding. This will run gulp serve --silent upon completion, and will fire up your favorite browser at localhost:9000, which points to your shiny new web app.

Now you're ready to go! Open up . in your favorite text editor and begin hacking.

You can add files to your project as you normally would. Third-party scripts and styles can be placed in src/scripts/vendor and src/styles/vendor, and Gulp will automatically concatenate and minify them into your app's main scripts/stylesheet.

Other useful commands (after you've already yo dawged):

  • Run gulp serve --silent to preview and watch for changes
  • Run npm install --save <package> to install frontend dependencies
  • Run gulp to build for production

Options

  • --skip-install Skips the automatic execution of npm after scaffolding has finished.

License

BSD license

Keywords

yeoman-generator

FAQs

Package last updated on 23 Nov 2015

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