diff --git a/config/tsconfig.types.json b/config/tsconfig.types.json deleted file mode 100644 index 8de87ee..0000000 --- a/config/tsconfig.types.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "extends": "../tsconfig", - "compilerOptions": { - "declaration": true /* Generates corresponding '.d.ts' file. */, - "emitDeclarationOnly": true, - "outDir": "../dist/types" /* Redirect output structure to the directory. */ - } -} diff --git a/package.json b/package.json index 2d30a9f..d2cf4ad 100644 --- a/package.json +++ b/package.json @@ -9,14 +9,12 @@ } }, "main": "./dist/cjs/index.js", - "types": "dist/types/index.d.js", "scripts": { "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable", - "build": "yarn build:cjs && yarn build:esm && yarn build:types", + "build": "yarn build:cjs && yarn build:esm", "build:cjs": "node tools/cleanup cjs && tsc -p config/tsconfig.cjs.json", "build:esm": "node tools/cleanup esm && tsc -p config/tsconfig.esm.json && echo '{\"type\":\"module\"}' >./dist/esm/package.json", - "build:types": "node tools/cleanup types && tsc -p config/tsconfig.types.json", "clean": "node tools/cleanup", "package": "yarn build && yarn pack", "format:fix": "prettier --write .",