diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index ff682a2..39f647a 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -21,8 +21,6 @@ jobs: run: npm ci - name: Check run: npm run check - - name: Build - run: npm run build - name: Test run: npm test - name: Coverage diff --git a/package.json b/package.json index 1f5492d..aee7ac9 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "main": "lib/index.js", "exports": { "require": "./lib/index.js", - "import": "./.esm-wrapper.mjs" + "import": "./.esm-wrapper.mjs", + "types": "./lib/index.d.ts" }, "types": "./lib/index.d.ts", "files": [ @@ -39,7 +40,7 @@ "test-time": "ts-node ./test/time-testing.ts", "build": "npm run compile-ts && gen-esm-wrapper . ./.esm-wrapper.mjs", "coverage": "nyc report --reporter=text-lcov | coveralls", - "prepack": "npm run build", + "prepare": "npm run build", "compile-ts": "tsc -p tsconfig.json", "lint": "eslint \"{src,test,examples,bin}/**/*.ts\"", "depcheck": "depcheck",