Skip to content

Commit 3158a03

Browse files
committed
Add installation and development instructions
1 parent 054bdae commit 3158a03

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
> Angular.js filter for ordering collections by [semantic version number](http://semver.org).
44
5+
## Installation
6+
7+
```sh
8+
bower install angular-semver-sort
9+
```
10+
11+
If you’re building a Rails app, you can easily use it with [Rails Assets](https://rails-assets.org)—this package is available as `rails-assets-angular-semver-sort`.
12+
513
## Usage
614

715
### semverSort()
@@ -20,6 +28,17 @@
2028
</ol>
2129
```
2230

31+
## Development
32+
33+
Clone the repository, then:
34+
35+
```sh
36+
npm install
37+
38+
grunt
39+
grunt test
40+
```
41+
2342
## Credits
2443

2544
The filter is **includes** the browser build of [node-semver](https://github.com/isaacs/node-semver), the BSD-licensed semver parser created by Isaac Z. Schlueter.

0 commit comments

Comments
 (0)