Skip to content

Commit

Permalink
Add to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
timmipetit committed Jul 10, 2017
1 parent a405abe commit 939aca0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ An AngularJS directive to modify [moment.js duration objects](http://momentjs.co

# Usage

You can use Bower to install this directive.
You can use Bower or npm to install this directive.

bower install angular-moment-duration
npm install angular-moment-duration

Add the module as a dependency to your application module:

Expand Down
19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "angular-moment-duration",
"version": "0.0.5",
"description": "An AngularJS directive for moment.js duration",
"main": "src/angular-moment-duration.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Recras/angular-moment-duration.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/Recras/angular-moment-duration/issues"
},
"homepage": "https://github.com/Recras/angular-moment-duration#readme"
}

0 comments on commit 939aca0

Please sign in to comment.