Add tslint and tslint-xo

See https://github.com/sindresorhus/is/pull/28#issuecomment-341071631
This commit is contained in:
Lukas Tetzlaff 2017-11-02 11:19:09 +01:00
parent b4f70336d5
commit 57e8b70644
2 changed files with 6 additions and 0 deletions

View file

@ -16,6 +16,7 @@
"node": ">=4"
},
"scripts": {
"lint": "tslint --project .",
"test": "tsc && ava dist/tests",
"build": "tsc",
"prepublish": "tsc"
@ -51,6 +52,8 @@
"@types/node": "^8.0.47",
"ava": "*",
"jsdom": "^11.3.0",
"tslint": "^5.8.0",
"tslint-xo": "^0.2.0",
"typescript": "^2.6.1"
}
}