0.1.3 • Published 7 years ago

ember-cli-icomoon v0.1.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ember-cli-icomoon

Ember addon that download, extract and copy Icomoon files from Project.json file. Addon is basically wrapper for icomoon-build npm package.

Installation

npm install ember-cli-icomoon --save-dev

After adding addon to your project go to Icomoon web app and download your Project.json file.

Usage

Addon adds new ember icomoon command. You run this command when needed, usually when you download new Icomoon project file.

ember icomoon -p Project.json -c 'app/styles/vendor/icomoon/style.css'
-f 'public/fonts'

where:

  • -p name of the project file
  • -c destination of css file
  • -f destination of fonts

To make command shorter and easier to type it's recommended to add it to package.json file like this:

"scripts": {
  "icomoon": "ember icomoon -p Project.json -c 'app/styles/vendor/icomoon/style.css'
-f 'public/fonts'"
}

and run simply with just:

ember icomoon