Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.8 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.8 KB

ember-cli-default-packager

Build Status Build status Coverage Status

Default Packager for Ember CLI. More details in Packager RFC.

Building

Run yarn compile to build the project. This will create dist folder with index.js file in it and necessary typings as well.

Docs

Run yarn docs to generate documentation. This will create docs folder. Documentation is done via typedoc.

Tests

Tests are written using mocha.

Run yarn test:all to run unit, linting and coverage tests.

Unit

Tests are written using mocha-typescript which allows you to use decorators while writting tests.

Run yarn test to run test suite as well as lint tests.

Linting

Linting is done using tslint with a combintation of prettier and tslint-config-prettier config.

Run yarn lint to ensure there are no linting errors. Run yarn lint:fix to fix linting errors automatically.

Coverage

Run yarn test:coverage to genenerat coverage report. This will create coverage folder. Code coverage is done via istanbul.