diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index eca6b69..b144a6f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -3,6 +3,10 @@ Changelog # 3.x release +## v3.0.0-beta.2 + +- Fix: exporting `main` and `types` at the correct path, oops. + ## v3.0.0-beta.1 - **Breaking:** minimum supported Node.js version is now 10. diff --git a/package.json b/package.json index f66547e..a8b96f8 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,7 @@ { "name": "node-fetch", - "version": "3.0.0-beta.1", + "version": "3.0.0-beta.2", "description": "A light-weight module that brings window.fetch to node.js", - "main": "dist/index.js", - "module": "dist/index.mjs", - "types": "types/index.d.ts", "files": [ "src/**/*", "dist/**/*", @@ -17,10 +14,12 @@ "build": "pika-pack --out dist/", "prepare": "npm run build", "prepublishOnly": "npm run build", + "publish": "pika publish", "test": "cross-env BABEL_ENV=test mocha --require @babel/register --throw-deprecation test/*.js", "report": "cross-env BABEL_ENV=coverage nyc --reporter lcov --reporter text mocha -R spec test/*.js", "coverage": "cross-env BABEL_ENV=coverage nyc --reporter json --reporter text mocha -R spec test/*.js && codecov -f coverage/coverage-final.json", - "lint": "xo" + "lint": "xo", + "version": "npm run build" }, "repository": { "type": "git",