Bump tslint-xo and add main/types field

This commit is contained in:
Lukas Tetzlaff 2017-11-05 04:29:39 +01:00
parent eed20f5464
commit fae6e0daf0

View file

@ -21,7 +21,8 @@
"test": "npm run lint && npm run build && ava dist/tests", "test": "npm run lint && npm run build && ava dist/tests",
"prepublish": "npm run build && del dist/tests" "prepublish": "npm run build && del dist/tests"
}, },
"main": "dist", "main": "dist/index",
"types": "dist/index",
"files": [ "files": [
"dist" "dist"
], ],
@ -53,7 +54,7 @@
"del-cli": "^1.1.0", "del-cli": "^1.1.0",
"jsdom": "^9.12.0", "jsdom": "^9.12.0",
"tslint": "^5.8.0", "tslint": "^5.8.0",
"tslint-xo": "^0.2.0", "tslint-xo": "^0.2.1",
"typescript": "^2.6.1" "typescript": "^2.6.1"
} }
} }