diff --git a/package.json b/package.json index 637d935..b7efdac 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "build": "tsc && cp package.json dist/ && cp README.md dist/", "prepublishOnly": "npm run build", "postversion": "tsc-publish --no-checks --dry-run", - "publish": "npm run build && cd dist && npm publish --access public", "jest": "jest", "test": "npm run build && npm run lint && jest test/", "test-unit": "npm run build && jest test/unit/", @@ -32,6 +31,9 @@ "check-packages": "installed-check -e -d -v" }, "license": "Apache-2.0", + "publishConfig": { + "access": "public" + }, "engines": { "node": ">=12.0.0" },