Add package-lock.json. Set dependency versions fixed. Set min node version to 10.

This commit is contained in:
Thomas Oberndörfer 2019-03-02 12:12:25 +01:00
parent 3f498495c1
commit 8d18614f17
4 changed files with 2337 additions and 18 deletions

3
.gitignore vendored
View File

@ -35,7 +35,4 @@ node_modules
# Optional REPL history
.node_repl_history
# npm v5+ lockfile
package-lock.json
config/development.js

View File

@ -1,7 +1,7 @@
sudo: false
language: node_js
node_js:
- "8"
- "10"
env:
- NODE_ENV=integration LOG_LEVEL=warn MONGO_URI=127.0.0.1:27017/test_db MONGO_USER=travis MONGO_PASS=test

2321
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,7 +7,8 @@
"url": "https://github.com/mailvelope/keyserver.git"
},
"engines": {
"node": ">=8"
"node": ">=10",
"npm": ">=6"
},
"scripts": {
"start": "node index.js",
@ -20,24 +21,24 @@
"release:archive": "zip -rq release.zip package.json package-lock.json node_modules/ *.js src/ config/"
},
"dependencies": {
"addressparser": "^1.0.1",
"co-body": "^6.0.0",
"config": "^3.0.1",
"koa": "^2.3.0",
"koa-router": "^7.2.1",
"koa-static": "^5.0.0",
"mongodb": "^3.1.13",
"nodemailer": "^5.1.1",
"openpgp": "^4.4.6",
"winston": "^3.2.1",
"winston-papertrail": "^1.0.5"
"addressparser": "1.0.1",
"co-body": "6.0.0",
"config": "3.0.1",
"koa": "2.7.0",
"koa-router": "7.4.0",
"koa-static": "5.0.0",
"mongodb": "3.1.13",
"nodemailer": "5.1.1",
"openpgp": "4.4.9",
"winston": "3.2.1",
"winston-papertrail": "1.0.5"
},
"devDependencies": {
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
"eslint": "^5.13.0",
"eslint": "^5.15.0",
"mocha": "^5.2.0",
"sinon": "^7.2.3",
"sinon": "^7.2.6",
"supertest": "^3.0.0"
}
}