aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-12 20:21:30 +0300
committerGitHub <noreply@github.com>2020-06-12 20:21:30 +0300
commit1860396a1286936374ab88937da3e0b6b9b1a36d (patch)
treeeb905fa1307833c1ab856c387be2fa533ed2ea34 /package.json
parent0ecf99e2749fe60a20e86b266c6019ebb56e021a (diff)
parent7e4ebee9a0e56546d6dce76c5c48d6d13371c689 (diff)
downloadwhich-api-1860396a1286936374ab88937da3e0b6b9b1a36d.tar.gz
Merge pull request #6 from eug-vs/eslint
Eslint
Diffstat (limited to 'package.json')
-rw-r--r--package.json12
1 files changed, 10 insertions, 2 deletions
diff --git a/package.json b/package.json
index 24616e9..4cbabab 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,8 @@
"version": "1.0.0",
"main": "index.ts",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "lint": "eslint . --ext ts --max-warnings 0",
+ "test": "npm run lint"
},
"keywords": [],
"author": "",
@@ -13,6 +14,7 @@
"@feathersjs/feathers": "^4.5.3",
"@feathersjs/socketio": "^4.5.4",
"@feathersjs/transport-commons": "^4.5.3",
+ "bluebird": "^3.7.2",
"cors": "^2.8.5",
"feathers-mongoose": "^8.3.0",
"lodash": "^4.17.15",
@@ -31,6 +33,12 @@
"@types/bluebird": "^3.5.32",
"@types/cors": "^2.8.6",
"@types/lodash": "^4.14.155",
- "@types/mongoose": "^5.7.23"
+ "@types/mongoose": "^5.7.23",
+ "@typescript-eslint/eslint-plugin": "^3.2.0",
+ "@typescript-eslint/parser": "^3.2.0",
+ "eslint": "^7.2.0",
+ "eslint-config-airbnb-typescript": "^8.0.2",
+ "eslint-plugin-import": "^2.21.2",
+ "typescript": "^3.9.5"
}
}