🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

generator-p4

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-p4

Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP

latest
Source
npmnpm
Version
4.0.0
Version published
Weekly downloads
9
-62.5%
Maintainers
1
Weekly downloads
 
Created
Source

generator-p4 NPM version

Yeoman generator for Foundation 6 + Sass + Gulp + Webpack + Composer + PHP

Installation

First, install Yeoman , Gulp and generator-p4 using npm (we assume you have pre-installed node.js, Composer and a PHP Server).

npm install -g yo
npm install gulp-cli -g
npm install -g generator-p4

Then generate your new project: navigate to your PHP server folder and create a projetc folder

mkdir project
cd project
yo p4

Get started

npm start

Compile assets for production

When building for production, the CSS and JS will be minified. To minify the assets in your /dist folder, run

npm run build

To create a .zip file of your project, run:

npm run package

Local Development

Choose one of the following setups for local development:

  • MAMP (macOS)
  • XAMPP (Windows)
  • WAMP (Windows)
  • LAMP (Linux)

License

MIT © José Willams

Keywords

yeoman-generator

FAQs

Package last updated on 17 Feb 2021

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