generator-p4

4.0.0 • Public • Published

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:

License

MIT © José Willams

Dependencies (3)

Dev Dependencies (11)

Package Sidebar

Install

npm i generator-p4

Weekly Downloads

1

Version

4.0.0

License

MIT

Unpacked Size

2.43 MB

Total Files

92

Last publish

Collaborators

  • williambeto