Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.23 KB

CONTRIBUTING.md

File metadata and controls

46 lines (29 loc) · 1.23 KB

How To Contribute

Installation

  • git clone <repository-url>
  • yarn install
  • cd packages/components

Building

  • yarn run build

To set a watcher on files located in src and rebuild on change

  • yarn start

Linting

  • yarn run lint
  • yarn run lint:fix

Stylelinting

  • yarn run lint:css
  • yarn run lint:css:fix

Notice: to have VSCode autofix the code on save, you have to:

  • install the Stylelint extension
  • in either the user or workspace settings add the entry "source.fixAll.stylelint": true to the editor.codeActionsOnSave option

Running tests

The associated test application is located at the root of the monorepo, in showcase

  • cd showcase
  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the showcase application

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