Skip to content

Persist metadata about HTML elements/classes used in an Ember-CLI application

License

Notifications You must be signed in to change notification settings

fauxton/ember-dom-inventory

Repository files navigation

ember-dom-inventory

This relies on the experimental ember-addon-state-bucket addon to persist metadata about the Handlebars templates contained within an Ember-CLI application.

Specifically, this addon saves information about the unique HTML tags and classes within an app, so that other addons can act on it. In my case, I'd like to identify unused classes in my stylesheets and warn in development/remove in production builds.

Installation

  • git clone <repository-url> this repository
  • cd ember-dom-inventory
  • npm install

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/.

About

Persist metadata about HTML elements/classes used in an Ember-CLI application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published