From 5e6411f72a60682eff0c616f0ee2de2ddd7705c0 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Thu, 22 Aug 2019 08:52:57 -0700 Subject: [PATCH] Use prepublishOnly instead of made-up do-publish --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 332d6a15..945acf23 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "build": "tsc", "lint": "tslint --project tsconfig.json --format stylish", "test": "npm run build && node test/test.js", - "do-publish": "npm run build && npm run test && npm run lint && npm publish" + "prepublishOnly": "npm run build && npm run test && npm run lint" }, "dependencies": { "definitelytyped-header-parser": "1.2.0",