Added test for Typescript definition
This commit is contained in:
parent
0e3388a17b
commit
433124e267
4 changed files with 43 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue