File tree Expand file tree Collapse file tree 6 files changed +55
-79
lines changed Expand file tree Collapse file tree 6 files changed +55
-79
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
-
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
1
.DS_Store *
32
2
ehthumbs.db
33
- Icon ?
34
3
Thumbs.db
35
-
36
- # Node.js #
37
- # ##########
38
- lib-cov
39
- * .seed
40
- * .log
41
- * .csv
42
- * .dat
43
- * .out
44
- * .pid
45
- * .gz
46
-
47
- pids
48
- logs
49
- results
50
-
51
4
node_modules
52
5
npm-debug.log
53
-
54
- # Components #
55
- # #############
56
-
57
- /build
58
- /components
59
-
60
- # ImageMagick #
61
- # ##############
62
-
63
- * .cache
64
- * .mpc
65
-
66
- # Other #
67
- # ########
68
- test /* .2
69
- test /* .mp4
6
+ coverage
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 0.11"
3
+ - " 0.11"
4
+ script : " make test-travis"
5
+ after_script :
" npm install [email protected] && cat ./coverage/lcov.info | coveralls"
Original file line number Diff line number Diff line change 5
5
--reporter spec \
6
6
--bail
7
7
8
+ test-cov :
9
+ @NODE_ENV=test node --harmony \
10
+ node_modules/.bin/istanbul cover \
11
+ ./node_modules/.bin/_mocha \
12
+ -- -u exports \
13
+ --require should \
14
+ --reporter spec \
15
+ --bail
16
+
17
+ test-travis :
18
+ @NODE_ENV=test node --harmony \
19
+ node_modules/.bin/istanbul cover \
20
+ ./node_modules/.bin/_mocha \
21
+ --report lcovonly \
22
+ -- -u exports \
23
+ --require should \
24
+ --reporter spec \
25
+ --bail
26
+
8
27
clean :
9
28
@rm -rf node_modules
10
29
11
- .PHONY : test clean
30
+ .PHONY : test clean
Original file line number Diff line number Diff line change 1
- # Koa Static Cache [ ![ Build Status] ( https://travis-ci.org/koajs/static-cache.svg )] ( https://travis-ci.org/koajs/static-cache )
1
+ # Koa Static Cache
2
+
3
+ [ ![ NPM version] [ npm-image ]] [ npm-url ]
4
+ [ ![ build status] [ travis-image ]] [ travis-url ]
5
+ [ ![ Test coverage] [ coveralls-image ]] [ coveralls-url ]
6
+ [ ![ David deps] [ david-image ]] [ david-url ]
7
+
8
+ [ npm-image ] : https://img.shields.io/npm/v/koa-static-cache.svg?style=flat-square
9
+ [ npm-url ] : https://npmjs.org/package/koa-static-cache
10
+ [ travis-image ] : https://img.shields.io/travis/koajs/static-cache.svg?style=flat-square
11
+ [ travis-url ] : https://travis-ci.org/koajs/static-cache
12
+ [ coveralls-image ] : https://img.shields.io/coveralls/koajs/static-cache.svg?style=flat-square
13
+ [ coveralls-url ] : https://coveralls.io/r/koajs/static-cache?branch=master
14
+ [ david-image ] : https://img.shields.io/david/koajs/static-cache.svg?style=flat-square
15
+ [ david-url ] : https://david-dm.org/koajs/static-cache
2
16
3
17
Static server for koa.
4
18
Original file line number Diff line number Diff line change 8
8
"url" : " http://jongleberry.com" ,
9
9
"twitter" : " https://twitter.com/jongleberry"
10
10
},
11
- "contributors" : [{
12
- "name" : " Jeremiah Senkpiel" ,
13
-
14
- "url" : " https://searchbeam.jit.su" ,
15
- "twitter" : " https://twitter.com/fishrock123"
16
- }, {
17
- "name" : " dead_horse" ,
18
-
19
- "url" : " http://deadhorse.me" ,
20
- "twitter" : " https://twitter.com/deadhorse_busi"
21
- }],
11
+ "contributors" : [
12
+ {
13
+ "name" : " Jeremiah Senkpiel" ,
14
+
15
+ "url" : " https://searchbeam.jit.su" ,
16
+ "twitter" : " https://twitter.com/fishrock123"
17
+ },
18
+ {
19
+ "name" : " dead_horse" ,
20
+
21
+ "url" : " http://deadhorse.me" ,
22
+ "twitter" : " https://twitter.com/deadhorse_busi"
23
+ }
24
+ ],
25
+ "files" : [" index.js" ],
22
26
"keywords" : [
23
27
" koa" ,
24
28
" middleware" ,
44
48
"debug" : " *"
45
49
},
46
50
"devDependencies" : {
51
+ "istanbul-harmony" : " ~0.3.0" ,
47
52
"koa" : " ~0.8.0" ,
48
53
"mocha" : " *" ,
49
54
"should" : " ~3.3.2" ,
You can’t perform that action at this time.
0 commit comments