diff --git a/package.json b/package.json index 099e266..403ebf6 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,14 @@ "node": ">=4" }, "scripts": { - "test": "xo && tsc -p types && nyc mocha", + "test": "xo && tsc --project types && nyc mocha", "bench": "matcha benchmark.js", "coveralls": "nyc report --reporter=text-lcov | coveralls" }, "files": [ "index.js", - "templates.js" + "templates.js", + "types/index.d.ts" ], "keywords": [ "color", @@ -54,7 +55,7 @@ "typescript": "^2.4.1", "xo": "*" }, - "types": "./types/index.d.ts", + "types": "types/index.d.ts", "xo": { "envs": [ "node",