Use CommonJS compatible export in TypeScript definition

This commit is contained in:
Dimitri Benin 2019-04-27 18:03:10 +02:00
parent 7b9211be50
commit a2f90271ae
5 changed files with 281 additions and 274 deletions

View file

@ -8,7 +8,7 @@
"node": ">=8"
},
"scripts": {
"test": "xo && nyc ava && tsd-check && flow",
"test": "xo && nyc ava && tsd && flow",
"bench": "matcha benchmark.js"
},
"files": [
@ -46,19 +46,18 @@
"supports-color": "^6.1.0"
},
"devDependencies": {
"@sindresorhus/tsconfig": "^0.2.1",
"ava": "^1.3.1",
"@sindresorhus/tsconfig": "^0.3.0",
"ava": "^1.4.1",
"coveralls": "^3.0.3",
"execa": "^1.0.0",
"flow-bin": "^0.94.0",
"flow-bin": "^0.98.0",
"import-fresh": "^3.0.0",
"matcha": "^0.7.0",
"nyc": "^13.3.0",
"resolve-from": "^4.0.0",
"tsd-check": "^0.3.0",
"nyc": "^14.0.0",
"resolve-from": "^5.0.0",
"tsd": "^0.7.2",
"xo": "^0.24.0"
},
"types": "index.d.ts",
"xo": {
"ignores": [
"test/_flow.js"