diff --git a/package.json b/package.json index 295871f..8e4fe16 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "lib", "CHANGELOG.md" ], - "types": "lib/types.d.ts", + "types": "lib/index.d.ts", "scripts": { "changelog": "auto-changelog -u --starting-version v1.1.1 --commit-limit false --ignore-commit-pattern '(dev|ci|chore|Release|Merge)'", "coverage": "nyc report --reporter=text-lcov > ./coverage.info", diff --git a/test/index.cjs b/test/index.cjs index 73b07cc..d08aa6b 100644 --- a/test/index.cjs +++ b/test/index.cjs @@ -3,7 +3,7 @@ const equal = require('assert-dir-equal') const Metalsmith = require('metalsmith') -/* eslint-disable-next-line import/no-internal-modules */ +/* eslint-disable-next-line node/no-missing-require */ const drafts = require('../lib/index.cjs') describe('@metalsmith/drafts', function () {