aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTom Harley2018-02-13 10:10:20 +0000
committerTom Harley2018-02-13 10:10:20 +0000
commit3d35b92ec0fd5019a1c3fa1b1bee9ba5937f3aa3 (patch)
tree46dfc14c062d45115a9d9f28c84ab037db0dbc06 /package.json
parentfurther work to report (diff)
downloadmedicine-3d35b92ec0fd5019a1c3fa1b1bee9ba5937f3aa3.tar.gz
medicine-3d35b92ec0fd5019a1c3fa1b1bee9ba5937f3aa3.zip

introduced linter and enabled –strict in tsconfig

Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json
index 2f9c6fd..28fbd3d 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,8 @@
"license": "UNLICENSED",
"scripts": {
"test": "mocha --reporter spec -r ts-node/register 'test/**/*.test.ts'",
- "start": "ts-node src/index.ts"
+ "start": "ts-node src/index.ts",
+ "lint": "tslint --fix -p './tsconfig.json'"
},
"repository": {
"type": "git",
@@ -27,13 +28,15 @@
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"mocha": "^3.1.2",
- "nodemon": "^1.14.10"
+ "nodemon": "^1.14.10",
+ "tslint": "^5.9.1"
},
"dependencies": {
"@types/body-parser": "0.0.33",
"@types/express": "^4.0.33",
"@types/morgan": "^1.7.32",
"@types/node": "^6.0.46",
+ "@types/sequelize": "^4.27.5",
"body-parser": "^1.18.2",
"express": "^4.16.2",
"morgan": "^1.9.0",