Skip to content

Commit

Permalink
feat(build): Completed build with code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
leifoolsen committed Mar 9, 2016
1 parent 8ee5cfd commit 4d592be
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
# mdl-ext

[![travis build](https://img.shields.io/travis/leifoolsen/mdl-ext.svg?style=flat-square)](https://travis-ci.org/leifoolsen/mdl-ext)
[![codecov coverage](https://img.shields.io/codecov/c/github/leifoolsen/mdl-ext.svg?style=flat-square)](https://codecov.io/github/leifoolsen/mdl-ext)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)
[![version](https://img.shields.io/npm/v/mdl-ext.svg?style=flat-square)](http://npm.im/mdl-ext)

Components based on the [Google Material Design Lite](https://github.com/google/material-design-lite) framework.

## Install
```sh
$ npm install --save mdl-ext
```

If you haven't done so already, install [Material Design Lite](https://github.com/google/material-design-lite) and [Material Design Icons](https://github.com/google/material-design-icons).

```sh
$ npm install --save-dev material-design-icons
$ npm install --save material-design-lite
```

Install **mdl-ext**
```sh
$ npm install --save mdl-ext
```

Optionally install [Font Roboto](https://github.com/choffmeister/roboto-fontface-bower)
```sh
$ npm install --save-dev roboto-fontface"
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
"url": "https://github.com/leifoolsen/mdl-ext/issues"
},
"homepage": "https://github.com/leifoolsen/mdl-ext#readme",
"peerDependencies": {
"dependencies": {
"material-design-icons": ">= 2.2.0",
"material-design-lite": ">= 1.1.0 < 2"
"material-design-lite": ">= 1.1.0"
},
"devDependencies": {
"autoprefixer": "6.3.3",
Expand All @@ -68,6 +68,7 @@
"babel-runtime": "6.6.1",
"chai": "3.5.0",
"chalk": "1.1.1",
"codecov.io": "0.1.6",
"commitizen": "2.6.3",
"copy-webpack-plugin": "1.1.1",
"css-loader": "0.23.1",
Expand All @@ -76,6 +77,7 @@
"eslint-loader": "1.3.0",
"extract-text-webpack-plugin": "1.0.1",
"file-loader": "0.8.5",
"ghooks": "1.0.3",
"gulp": "3.9.1",
"gulp-git": "1.7.0",
"ignore-styles": "1.2.0",
Expand All @@ -91,6 +93,7 @@
"resolve-url-loader": "1.4.3",
"roboto-fontface": "^0.4.5",
"sass-loader": "3.1.2",
"semantic-release": "^4.3.5",
"sinon": "1.17.3",
"style-loader": "0.13.0",
"stylelint": "4.4.0",
Expand All @@ -99,7 +102,6 @@
"url-loader": "0.5.7",
"webpack": "1.12.14",
"webpack-dev-server": "1.14.1",
"yargs": "4.2.0",
"semantic-release": "^4.3.5"
"yargs": "4.2.0"
}
}
2 changes: 1 addition & 1 deletion src/selectfield/selectfield.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* @constructor
* @param {HTMLElement} element The element that will be upgraded.
*/
var MaterialExtSelectfield = function MaterialExtSelectfield(element) {
const MaterialExtSelectfield = function MaterialExtSelectfield(element) {
this.element_ = element;
this.init(); // Initialize instance.
};
Expand Down

0 comments on commit 4d592be

Please sign in to comment.