File tree 5 files changed +43
-64
lines changed
5 files changed +43
-64
lines changed Original file line number Diff line number Diff line change 1
- # Compiled source #
2
- # ##################
3
- * .com
4
- * .class
5
- * .dll
6
- * .exe
7
- * .o
8
- * .so
9
1
10
- # Packages #
11
- # ###########
12
- # it's better to unpack these files and commit the raw source
13
- # git has its own built in compression methods
14
- * .7z
15
- * .dmg
16
- * .gz
17
- * .iso
18
- * .jar
19
- * .rar
20
- * .tar
21
- * .zip
22
-
23
- # Logs and databases #
24
- # #####################
25
- * .log
26
- * .sql
27
- * .sqlite
28
-
29
- # OS generated files #
30
- # #####################
31
2
.DS_Store *
32
- ehthumbs.db
33
- Icon ?
34
- Thumbs.db
35
-
36
- # Node.js #
37
- # ##########
38
- lib-cov
39
- * .seed
40
3
* .log
41
- * .csv
42
- * .dat
43
- * .out
44
- * .pid
45
4
* .gz
46
5
47
- pids
48
- logs
49
- results
50
-
51
6
node_modules
52
- npm-debug.log
53
-
54
- # Git #
55
- # ######
56
- * .orig
57
- * .BASE. *
58
- * .BACKUP. *
59
- * .LOCAL. *
60
- * .REMOTE. *
61
-
62
- # Components #
63
- # #############
64
-
65
- /build
66
- /components
7
+ coverage
Original file line number Diff line number Diff line change
1
+ node_js :
2
+ - " 0.11"
3
+ language : node_js
4
+ script : " npm run-script test-travis"
5
+ after_script : " npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
Original file line number Diff line number Diff line change 1
1
2
2
# NPM Versions
3
3
4
+ [ ![ NPM version] [ npm-image ]] [ npm-url ]
5
+ [ ![ Build status] [ travis-image ]] [ travis-url ]
6
+ [ ![ Test coverage] [ coveralls-image ]] [ coveralls-url ]
7
+ [ ![ Dependency Status] [ david-image ]] [ david-url ]
8
+ [ ![ License] [ license-image ]] [ license-url ]
9
+ [ ![ Downloads] [ downloads-image ]] [ downloads-url ]
10
+ [ ![ Gittip] [ gittip-image ]] [ gittip-url ]
11
+
4
12
Get all the semantically versioned releases of an npm package.
13
+
14
+ [ npm-image ] : https://img.shields.io/npm/v/npm-versions.svg?style=flat-square
15
+ [ npm-url ] : https://npmjs.org/package/npm-versions
16
+ [ github-tag ] : http://img.shields.io/github/tag/repo-utils/npm-versions.svg?style=flat-square
17
+ [ github-url ] : https://github.com/repo-utils/npm-versions/tags
18
+ [ travis-image ] : https://img.shields.io/travis/repo-utils/npm-versions.svg?style=flat-square
19
+ [ travis-url ] : https://travis-ci.org/repo-utils/npm-versions
20
+ [ coveralls-image ] : https://img.shields.io/coveralls/repo-utils/npm-versions.svg?style=flat-square
21
+ [ coveralls-url ] : https://coveralls.io/r/repo-utils/npm-versions
22
+ [ david-image ] : http://img.shields.io/david/repo-utils/npm-versions.svg?style=flat-square
23
+ [ david-url ] : https://david-dm.org/repo-utils/npm-versions
24
+ [ license-image ] : http://img.shields.io/npm/l/npm-versions.svg?style=flat-square
25
+ [ license-url ] : LICENSE
26
+ [ downloads-image ] : http://img.shields.io/npm/dm/npm-versions.svg?style=flat-square
27
+ [ downloads-url ] : https://npmjs.org/package/npm-versions
28
+ [ gittip-image ] : https://img.shields.io/gratipay/jonathanong.svg?style=flat-square
29
+ [ gittip-url ] : https://gratipay.com/jonathanong/
Original file line number Diff line number Diff line change 12
12
"repository" : " github-utils/npm-versions" ,
13
13
"dependencies" : {
14
14
"debug" : " *" ,
15
- "semver" : " 3 "
15
+ "semver" : " 4 "
16
16
},
17
17
"devDependencies" : {
18
+ "istanbul-harmony" : " 0" ,
18
19
"co" : " ^3.0.0" ,
19
20
"mocha" : " ^1.17"
20
21
},
21
22
"scripts" : {
22
- "test" : " mocha --harmony-generators --reporter spec --bail"
23
- }
23
+ "test" : " mocha --harmony-generators --reporter spec" ,
24
+ "test-cov" : " node --harmony-generators node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha -- --reporter dot" ,
25
+ "test-travis" : " node --harmony-generators node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --reporter dot"
26
+ },
27
+ "files" : [" index.js" ],
28
+ "keywords" : [
29
+ " npm" ,
30
+ " versions"
31
+ ]
24
32
}
Original file line number Diff line number Diff line change 2
2
var co = require ( 'co' )
3
3
var assert = require ( 'assert' )
4
4
5
- var getVersions = require ( '.' ) ( )
5
+ var getVersions = require ( '.. ' ) ( )
6
6
7
7
it ( 'should get the versions of domify' , co ( function * ( ) {
8
8
var versions = yield * getVersions ( 'domify' )
You can’t perform that action at this time.
0 commit comments