File tree 5 files changed +483
-22
lines changed
5 files changed +483
-22
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ node_modules
11
11
* .log
12
12
* .gz
13
13
14
+ coverage
14
15
test /uploads
15
16
test /manual /uploads /*
16
17
! test /manual /uploads /placeholder.txt
Original file line number Diff line number Diff line change 1
- sudo : false
2
1
language : node_js
3
2
node_js :
4
3
- " 4"
5
4
- " 5"
6
5
- " 6"
7
6
- " 7"
8
7
script :
9
- - npm test
10
8
- npm run lint
9
+ - npm test
10
+ - npm run coverage
11
+ after_success : ' npm run coveralls'
Original file line number Diff line number Diff line change 1
- # Description
1
+ # express-fileupload
2
2
Simple express middleware for uploading files.
3
3
4
+ [ ![ npm Package] ( https://img.shields.io/npm/v/express-fileupload.svg?style=flat-square )] ( https://www.npmjs.org/package/express-fileupload )
4
5
[ ![ Build Status] ( https://travis-ci.org/richardgirges/express-fileupload.svg?branch=master )] ( https://travis-ci.org/richardgirges/express-fileupload )
6
+ [ ![ downloads per month] ( http://img.shields.io/npm/dm/express-fileupload.svg )] ( https://www.npmjs.org/package/express-fileupload )
7
+ [ ![ Coverage Status] ( https://img.shields.io/coveralls/richardgirges/express-fileupload.svg )] ( https://coveralls.io/r/richardgirges/express-fileupload )
5
8
6
9
# Version 0.1.0 Breaking Changes
7
10
Original file line number Diff line number Diff line change 5
5
"description" : " Simple express file upload middleware that wraps around Busboy" ,
6
6
"main" : " ./lib/index" ,
7
7
"scripts" : {
8
- "test" : " mocha \" test/**/*.spec.js\" " ,
9
- "lint" : " eslint ./"
8
+ "test" : " istanbul cover _mocha -- -R spec" ,
9
+ "lint" : " eslint ./" ,
10
+ "coveralls" : " COVERALLS_REPO_TOKEN=vNV8IQ0jJAuWGikebCeIHJryRulP6aEHa cat ./coverage/lcov.info | coveralls"
10
11
},
11
12
"dependencies" : {
12
13
"busboy" : " ^0.2.14" ,
30
31
"repository" : " richardgirges/express-fileupload" ,
31
32
"devDependencies" : {
32
33
"body-parser" : " ^1.16.1" ,
34
+ "coveralls" : " ^2.11.16" ,
33
35
"eslint" : " ^3.15.0" ,
34
36
"eslint-config-google" : " ^0.7.1" ,
35
37
"express" : " ^4.13.4" ,
38
+ "istanbul" : " ^0.4.5" ,
36
39
"mocha" : " ^3.2.0" ,
37
40
"supertest" : " ^3.0.0"
38
41
}
You can’t perform that action at this time.
0 commit comments