0.2.30 • Published 6 years ago

generator-symfonic-assets v0.2.30

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

generator-symfonic-assets NPM version

Generator for setting up asset generation for Symfony PHP projects.

Installation

First install node.js, Gulp and Bower if you haven't already. Then install Yeoman and generator-symfonic-assets using npm.

npm install -g yo
npm install -g generator-symfonic-assets

Then change into a fresh Symfony PHP project folder:

yo symfonic-assets

ATTENTION

This generator is made for the sole purpose of generating front end assets for Symfony PHP framework projects, so it's mandatory to have a fresh Symfony project ready

After installing all dependencies please run gulp jslibs first to concatenate and compress all the JS libraries. Feel free to run this command again any time you add a new library (either through Bower or manually).

Available Gulp tasks

Default Task
This is run when you enter gulp on the command line. It starts Symfony's development server, dumps all assets from other bundles and takes care about starting up BrowserSync and compiling all the assets.

Compile all the things

Images Task
Running gulp images optimizes all the images from the web-src/images directory and copies them into the web/images folder.

Sass-Lint Task
gulp sass-lint lints all the given Sass files, configured through paths.scss.lint.

JSLibs Task
gulp jslibs concatenates and minifies all the given JS libraries - configured through paths.js.libs - and puts them into the target directory. This must be run after Yeoman initially and every time a JS library (external) is added.

Getting To Know Yeoman

  • Yeoman has a heart of gold.
  • Yeoman is a person with feelings and opinions, but is very easy to work with.
  • Yeoman can be too opinionated at times but is easily convinced not to be.
  • Feel free to learn more about Yeoman.

License

MIT © Nils Butenschön

0.2.30

6 years ago

0.2.29

7 years ago

0.2.28

7 years ago

0.2.27

7 years ago

0.2.26

7 years ago

0.2.25

7 years ago

0.2.24

7 years ago

0.2.23

7 years ago

0.2.22

7 years ago

0.2.21

7 years ago

0.2.20

7 years ago

0.2.19

8 years ago

0.2.18

8 years ago

0.2.17

8 years ago

0.2.16

8 years ago

0.2.15

8 years ago

0.2.14

8 years ago

0.2.1-3.1

8 years ago

0.2.13

8 years ago

0.2.12

8 years ago

0.2.11

8 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.0

8 years ago