Added test for Typescript definition

This commit is contained in:
Thomas Sauer 2017-07-02 14:32:45 +02:00 committed by calebboyd
parent 0e3388a17b
commit 433124e267
4 changed files with 43 additions and 2 deletions

View file

@ -8,7 +8,7 @@
"node": ">=4"
},
"scripts": {
"test": "xo && nyc ava",
"test": "xo && tsc -p types && nyc ava",
"bench": "matcha benchmark.js",
"coveralls": "nyc report --reporter=text-lcov | coveralls"
},
@ -52,9 +52,10 @@
"matcha": "^0.7.0",
"nyc": "^11.0.2",
"resolve-from": "^3.0.0",
"typescript": "^2.4.1",
"xo": "*"
},
"types": "./index.d.ts",
"types": "./types/index.d.ts",
"xo": {
"envs": [
"node",