1.2.9 • Published 10 years ago

generator-broccoli-project v1.2.9

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

generator-broccoli-project v1.2.9

A Yeoman generator for Broccoli projects (includes Git & Heroku)

Screenshot broccoli project

CHANGELOG

DESCRIPTION

This generator aims to create a ready-to-code environment for front-end project using Broccoli as task runner.

The generator installs the following:

  • Broccoli configuration
    Fonts
    Sass Compile
    Autoprefixer
    CSS clean & minification
    JSHint
    JS concatenation
    JS uglification (including sourcemaps generation)
    images minification (png, jpg, gif, svg)
    * Zetzer templating process

  • Code / Doc configuration
    editorconfig
    jshintrc
    README Markdown
    CHANGELOG markdown
    * package.json

  • Git configuration
    initalizes git
    creates gitignore
    creates & checkouts develop branch
    adds origin remote
    pushes initial commit with skeleton
    installs NPM packages

  • Staging configuration on Heroku
    sets up specific file for deployment on Heroku
    creates restricted access credentials (the generator asks you to enter credentials)

INSTALLATION

1. Install Yeoman

$ npm install -g yo

2. Install generator globally

$ npm install -g generator-broccoli-project

3. Create Git repo

4. Create Heroku app if needed (Heroku config setup is optional)

5. Run generator inside your empty project folder

$ mkdir project && cd project
$ yo broccoli-project

6. Follow the step-by-step installation

Note: some steps are optional

  • the auto push of first commit to origin remote
  • the heroku setup config

COMMANDS

The generator automatically creates a bunch commands to simplify your dev process:

dev

$ npm run dev

Runs the broccoli serve

build

$ npm run build

Builds the project to a dist/ folder.

heroku

$ npm run heroku

Deploys code to Heroku env

start

$ npm run start

Start node server. Mainly used for Heroku hosting, not needed in dev env.

1.2.9

10 years ago

1.2.8

10 years ago

1.2.7

10 years ago

1.2.6

10 years ago

1.2.5

10 years ago

1.2.4

10 years ago

1.2.3

10 years ago