0.0.11 • Published 9 years ago

generator-project-esnow v0.0.11

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

Build Status Dependency Status devDependency Status

generator-project-esnow

Yeoman generator to create ES next generation project (based on ES6 / ES2015, ES7 ...).

Goal

Provide an easy way to set up a ES project based on ES6 / ES2015, ES7, etc ...

We can generate a project based on:

  • Grunt / Gulp
  • Karma & Jasmine
  • Bower
  • 6to5 / babel / traceur
  • Eslint / JsHint

With basics tasks, such as:

  • running metrics (documentation, JavaScript hints)
  • running tests
  • development compilation
  • production compilation

Install

$ npm install --save-dev --global generator-project-esnow

Usage

$ npm yo project-esnow

or

$ npm yo

and choose the Project-Esnow generator into the list

Prompts

prompts.createProjectFolder

Type: Boolean Default: false

Shall we generate a folder with the project name or install files into the current folder

prompts.projectName

Type: String Default: esnow-project Required: true

Name of the project

prompts.projectDescription

Type: String

Description of the project

prompts.projectVersion

Type: String Default: 1.0.0

Version of the project. Based on the semver convention. See https://docs.npmjs.com/misc/semver

prompts.transpiler

Type: String Default: babel

ES transpiler. Choices between 6to5, babel and traceur

prompts.linting

Type: String Default: eslint

ES linting. Choices between eslint and jshint

prompts.downloadDependencies

Type: Boolean Default: false

Shall we download at the end of the generation the npm and bower dependencies of the project ?

prompts.git

Type: Boolean Default: true

Shall we generate some git files for the project ?

Project commands

  • Run tests: bash npm test
  • Run compilation: bash npm run compile
  • Run distribution: bash npm run dist
  • Run reports: bash npm run report

If you want to run bower commands:

  • bash npm run bower install
  • bash npm run bower prune
  • ...

If you want to run gulp commands if you are in a gulp project:

  • bash npm run gulp compile
  • bash npm run gulp dist
  • ...

If you want to run grunt commands if you are in a grunt project:

  • bash npm run grunt compile
  • bash npm run grunt dist
  • ...

License

MIT © Julien Roche

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.5

9 years ago

0.0.1

9 years ago

0.0.2

9 years ago

0.0.3

9 years ago

0.0.4

9 years ago