From 2f098ef092a39399cfe548b19a1fc03c2fd2f490 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 1 Dec 2019 22:31:21 -0800 Subject: [PATCH] [meta] add `safe-publish-latest` --- package.json | 2 ++ 1 file changed, 2 insertions(+) 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": {