Skip to content

Commit

Permalink
Merge 57a333c into f93573d
Browse files Browse the repository at this point in the history
  • Loading branch information
3imed-jaberi committed Apr 12, 2020
2 parents f93573d + 57a333c commit 584bb4e
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 196 deletions.
22 changes: 21 additions & 1 deletion .gitignore
@@ -1,3 +1,23 @@
package-lock.json
# OS #
###################
.DS_Store
.idea
Thumbs.db
tmp/
temp/


# Node.js #
###################
node_modules
package-lock.json
npm-debug.log
yarn-debug.log
yarn-error.log


# NYC #
###################
coverage
*.lcov
.nyc_output
18 changes: 11 additions & 7 deletions .travis.yml
@@ -1,8 +1,12 @@
node_js:
- 8
- 10
- 12
sudo: false
language: node_js
script: "npm run-script test-cov"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
node_js:
- 8
- 10
- 12
- 'lts/*'
- 'node'
script:
- npm run test-cov
after_script:
- npm i coveralls
- cat ./coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls
18 changes: 0 additions & 18 deletions example.js

This file was deleted.

20 changes: 14 additions & 6 deletions package.json
@@ -1,14 +1,18 @@
{
"name": "koa-send",
"description": "Transfer static files",
"repository": "koajs/send",
"version": "5.0.0",
"main": "index.js",
"keywords": [
"koa",
"file",
"static",
"sendfile"
],
"repository": {
"type": "git",
"url": "git://github.com/koajs/send.git"
},
"files": [
"index.js"
],
Expand All @@ -35,17 +39,21 @@
},
"license": "MIT",
"dependencies": {
"debug": "^3.1.0",
"http-errors": "^1.6.3",
"debug": "^4.1.1",
"http-errors": "^1.7.3",
"mz": "^2.7.0",
"resolve-path": "^1.4.0"
},
"scripts": {
"lint": "eslint --fix .",
"test": "mocha --require should --reporter spec --exit",
"test": "npm run lint && mocha --require should --reporter spec --exit",
"test-cov": "nyc npm run test"
},
"engines": {
"node": ">= 7.6.0"
}
"node": ">= 8"
},
"bugs": {
"url": "https://github.com/koajs/send/issues"
},
"homepage": "https://github.com/koajs/send"
}

0 comments on commit 584bb4e

Please sign in to comment.