diff --git a/package.json b/package.json index e06897f..d1fb2e0 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Store information about any JS value in a side channel. Uses WeakMap if available.", "main": "index.js", "scripts": { + "prepublish": "safe-publish-latest", "lint": "eslint .", "pretest": "npm run lint", "tests-only": "node test", @@ -36,6 +37,7 @@ "@ljharb/eslint-config": "^15.0.2", "auto-changelog": "^1.16.2", "eslint": "^6.7.2", + "safe-publish-latest": "^1.1.4", "tape": "^4.11.0" }, "dependencies": {