Skip to content

Provides an Ember.js application blueprint for use with `ember new --blueprint` command.

License

Notifications You must be signed in to change notification settings

chaione/chaitools-ember-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChaiTools Ember Blueprint

Provides an Ember.js application blueprint for use with ember new --blueprint command.

Prerequisites

Usage

ChaiTools

This blueprint can be used with ChaiTools.

Standalone

To create a new Ember project using this blueprint, simply run the following command (requires Ember CLI 2.14+):

$ ember new my-awesome-new-app -b chaitools-ember-blueprint

To use the latest blueprint that hasn't been published to NPM, run this (works with older versions of Ember CLI):

$ ember new my-awesome-new-app -b https://github.com/chaione/chaitools-ember-blueprint.git

Your newly created Ember app is ready to go! Launch it by running:

$ cd my-awesome-new-app
$ ember s

Open your browser, navigate to http://localhost:4200/, and see your new app in action.

Other Useful Commands

  • ember t - Run all tests.
  • ember t -s - Run all tests with live reload.
  • ember release --tag '0.0.1' --annotation 'My first release!' - Create a new version.
  • ember deploy qa - Deploy a build to QA environment.

Installed Addons

In addition to addons installed by the Ember CLI blueprint, this one also installs the following addons that are useful to most of our projects:

Authentication & Authorization

Testing

CSS

Release & Deployment

Error Reporting

Linting

Utils

Other Changes

Ember CLI

  • Pods file structure is enabled by default. See .ember-cli.
  • Browser target is set to IE 10+ and latest versions of Chrome, Safari and Firefox. See config/targets.js.
  • Default deploy targets include DEV, QA, STAGING and PRODUCTION. Please note that deploy targets are not environments in Ember CLI's definition. See config/environment.js and config/deploy.js.

Yarn

This blueprint contains a Yarn lock file which tells Ember CLI to use Yarn instead of NPM.

Circle CI

This blueprint replaces default .travis.yml with a Circle CI config file circle.yml. This config automatically deploys master builds to DEV environment.

ESLint

This blueprint provides a fairly strict ESLint rule set. See .eslintrc.js and tests/.eslintrc.js.

Code Climate

This blueprint contains a Code Climate config file .codeclimate.yml. JavaScript duplication mass threshold is set to 64.

Dependency Lint

Auto-generated dependency lint tests are disabled and you will need to run ember dependency-lint manually. This can be turned on in config/dependency-lint.js.

License

This project is licensed under the MIT License.

About

Provides an Ember.js application blueprint for use with `ember new --blueprint` command.

Resources

License

Stars

Watchers

Forks

Packages

No packages published