ember-addon-starterkit
Starter kit for creating and publishing new Ember addons with all batteries included.
Last updated 2 years ago by rajasegar .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ember-addon-starterkit 
SYNC missed versions from official npm registry.

ember-addon-starterkit

Build Status npm npm version dependencies Status devDependencies Status EmberObserver

Starter kit for creating and publishing new Ember addons with all batteries included.

Installation

ember install ember-addon-starterkit

Update yuidoc.json to use ember themes

In order to use the installed YUIDoc ember theme we need to update the yuidoc.json with the following new options:

Add the following to the options section

  "enabledEnvironments": ["development","production"],
  "themedir": "node_modules/yuidoc-ember-theme",
  "helpers": ["node_modules/yuidoc-ember-theme/helpers/helpers.js"]

Update config/release.js to push demo app to gh-pages branch

If you want to keep your documentation/demo updated you need to automate that part using the ember-cli-release config.

Add the following to the config/release.js file created by the addon.

/* jshint node:true */
var execSync = require('child_process').execSync;

// For details on each option run `ember help release`
module.exports = {
  publish: true,
  afterPublish: function(project, versions) {
    // Publish dummy app with docs to gh-pages
    runCommand('ember github-pages:commit --message "Released ' + versions.next + '"');
    runCommand('git push origin gh-pages:gh-pages');
  }
};

function runCommand(command) {
  console.log('running: ' + command); // eslint-disable-line
  var output = execSync(command, { encoding: 'utf8' });
  console.log(output); // eslint-disable-line
}

Usage

Once you have your addon code ready to be published with all the documentation added, You just have to issue only one command:

ember release

For accepting all commands with an yes

ember release --yes

Features

  • Release Automation
  • npm Package Publishing
  • Documentation
  • Demo Application
  • Test helpers
  • Code coverage

Batteries

ember-cli-release

Ember CLI addon that defines a release command for bumping the version of your app or addon. It's a streamlined alternative to the npm version command, with a number of additional advantages. ember-cli-release

ember-cli-github-pages

Easily manage gh-pages of your ember-cli addon ember-cli-github-pages

ember-cli-yuidoc

This is an ember-cli addon for generate html documentation from YUIDoc comments in the source code. ember-cli-yuidoc

yuidoc-ember-theme

An EmberJS based YUIDoc theme yuidoc-ember-theme

ember-cli-code-coverage

Code coverage for ember apps using Istanbul Find more info here

ember-native-dom-helpers

Test helpers for your integration tests that fire native events Find more info here

coveralls

Coveralls.io support. Get the great coverage reporting of coveralls.io and add a cool coverage button ( like the one above ) to your README. Find more info here

Addon Demo

The demo application for this addon is published into gh-pages from the dummy app inside and is available here

Running

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

Current Tags

  • 0.1.11                                ...           latest (2 years ago)

11 Versions

  • 0.1.11                                ...           2 years ago
  • 0.1.10                                ...           3 years ago
  • 0.1.9                                ...           3 years ago
  • 0.1.8                                ...           3 years ago
  • 0.1.7                                ...           3 years ago
  • 0.1.6                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |