Skip to content

Commit

Permalink
Merge 0a9873b into f56a959
Browse files Browse the repository at this point in the history
  • Loading branch information
3imed-jaberi committed Jan 28, 2020
2 parents f56a959 + 0a9873b commit 693c27a
Show file tree
Hide file tree
Showing 5 changed files with 219 additions and 201 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
- 11
sudo: false
language: node_js
script: "npm run-script test-travis"
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.

34 changes: 23 additions & 11 deletions package.json
@@ -1,17 +1,25 @@
{
"name": "koa-send",
"description": "Transfer static files",
"repository": "koajs/send",
"version": "5.0.0",
"main": "index.js",
"keywords": [
"koa",
"file",
"static",
"sendfile"
],
"files": [
"index.js"
],
"repository": {
"type": "git",
"url": "git://github.com/koajs/send.git"
},
"nyc": {
"reporter": [
"lcov",
"text-summary"
],
"report-dir": "./coverage"
},
"devDependencies": {
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
Expand All @@ -23,23 +31,27 @@
"istanbul": "^0.4.5",
"koa": "^2.5.1",
"mocha": "^5.2.0",
"nyc": "^15.0.0",
"should": "^13.2.1",
"supertest": "^3.1.0"
},
"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-cov": "istanbul cover ./node_modules/.bin/_mocha -- --require should --exit",
"test-travis": "istanbul cover ./node_modules/.bin/_mocha --report lcovonly -- --require should --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 693c27a

Please sign in to comment.