New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

generator-whq

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-whq

A yeoman generator for simple PHP projects, including:

0.7.0
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

WHQ Generator

A yeoman generator for simple PHP projects, including:

  • Complete webpack setup
  • Options for Sass or PostCSS
  • Hashing of stylesheets, scripts and images for caching purposes
  • Babel setup so you can use ES6 syntax
  • CSS purification so unused styles are removed
  • CSS and JS minification in production
  • Linting with ESLint and Stylelint
  • BrowserSync for hot reloading

Usage

The first time after downloading, run:

cd [path to generator-whq]
npm link

Change into the directory where you want to create your project. Then run:

yo whq

You will receive prompts to choose your options. Dependencies will be automatically installed, and webpack will be run. The project will then be put into watch mode. You can start working right away!

Keywords

yeoman-generator

FAQs

Package last updated on 22 Jan 2018

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