Skip to content

Commit

Permalink
Merge pull request #54 from mattlewis92/master
Browse files Browse the repository at this point in the history
Add commonjs + npm support
  • Loading branch information
tamtakoe committed Oct 13, 2015
2 parents f6ed888 + d2a229d commit c1de04d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
docs
src
gulpfile.js
karma.conf.js
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ npm install -g bower
bower install oi.select
```

or use npm:
```
npm install --save oi.select
```

or use local:

```
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require('./dist/select-tpls.js');
module.exports = 'oi.select';
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"gulp-minify-html": "1.0.0",
"gulp-rename": "1.2.2",
"stream-series": "0.1.1",

"jasmine-core": "2.3.4",
"karma": "0.13.9",
"karma-jasmine": "0.3.6",
Expand All @@ -31,9 +30,14 @@
"karma-ie-launcher": "0.2.0",
"karma-phantomjs-launcher": "0.2.1",
"karma-sauce-launcher": "0.2.14",

"jasmine-jquery": "2.1.0",
"karma-jasmine-jquery": "0.1.1",
"karma-ng-html2js-preprocessor": "0.1.2"
},
"browser": "index.js",
"style": "dist/select.min.css",
"peerDependencies": {
"angular": ">=1.2",
"angular-sanitize": ">=1.2"
}
}

0 comments on commit c1de04d

Please sign in to comment.