Default Packager for Ember CLI. More details in Packager RFC.
Run yarn compile
to build the project. This will create dist
folder with
index.js
file in it and necessary typings as well.
Run yarn docs
to generate documentation. This will create docs
folder.
Documentation is done via typedoc.
Tests are written using mocha.
Run yarn test:all
to run unit, linting and coverage tests.
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 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.
Run yarn test:coverage
to genenerat coverage report. This will create
coverage
folder. Code coverage is done via istanbul.