diff options
| author | THarley | 2018-02-22 17:18:34 +0000 |
|---|---|---|
| committer | THarley | 2018-02-22 17:18:34 +0000 |
| commit | 0c0d700c93886ba8d585fe0a6495d35bddb67807 (patch) | |
| tree | b2dbed468410c5f1f7905775ed627c4b4aa4851b /package.json | |
| parent | Merge branch 'trh/yarn' into 'master' (diff) | |
| parent | Include error-handling in middleware stack (diff) | |
| download | medicine-0c0d700c93886ba8d585fe0a6495d35bddb67807.tar.gz medicine-0c0d700c93886ba8d585fe0a6495d35bddb67807.zip | |
Merge branch ‘trh/error-middleware’ into ‘master’
Error-handling Middleware
See merge request cs3099group-be-4/project-code!13
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/package.json b/package.json index e80264b..559efc7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "main": "index.ts", "license": "UNLICENSED", "scripts": { - "test": "mocha --reporter spec -r ts-node/register 'test/**/*.test.ts'", + "test": "mocha --reporter spec -r ts-node/register './**/*.test.ts'", "docs": "typedoc --out 'docs' --readme 'README.md' --name 'St Andrews Junior Honours 2017/18 - Team BE4' --module commonjs --target ES5 --exclude '*.test.ts' --includeDeclarations --excludeExternals 'src'", "start": "ts-node src/index.ts", "lint": "tslint --fix --force -p './tsconfig.json'", @@ -27,22 +27,32 @@ "@types/chai-http": "0.0.29", "@types/debug": "0.0.29", "@types/mocha": "^2.2.32", + "@types/mocha-each": "^1.1.0", "chai": "^3.5.0", "chai-http": "^3.0.0", "mocha": "^3.1.2", "nodemon": "^1.14.10", - "typedoc": "^0.10.0", - "tslint": "^5.9.1" + "tslint": "^5.9.1", + "typedoc": "^0.10.0" }, "dependencies": { "@types/body-parser": "0.0.33", "@types/express": "^4.0.33", + "@types/express-jwt": "^0.0.38", + "@types/jsonwebtoken": "^7.2.5", "@types/morgan": "^1.7.32", "@types/node": "^6.0.46", + "@types/passport": "^0.4.2", + "@types/passport-local": "^1.0.32", "@types/sequelize": "^4.27.5", "body-parser": "^1.18.2", "express": "^4.16.2", + "express-jwt": "^5.3.0", + "jsonwebtoken": "^8.1.1", + "mocha-each": "^1.1.0", "morgan": "^1.9.0", + "passport": "^0.4.0", + "passport-local": "^1.0.0", "pg": "^7.4.1", "pg-hstore": "^2.3.2", "reflect-metadata": "^0.1.12", |
