From c5eca40a4906f5f5215c3d6e4a31cd0b19ad7cee Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 27 Oct 2017 22:19:49 -0700 Subject: [PATCH] Read the documentation for prepare very carefully. --- make | 2 +- package.json5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/make b/make index 2a57c1f..d170499 100755 --- a/make +++ b/make @@ -2,4 +2,4 @@ set -e json5 -c package.json5 rpl XXX $(git describe --tags --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g') package.json -npm run prepublishOnly +npm run prepare diff --git a/package.json5 b/package.json5 index bff000c..b33e7b2 100644 --- a/package.json5 +++ b/package.json5 @@ -15,7 +15,7 @@ "scripts": { "build": "tsc", "lint": "tslint --project .", - "prepublishOnly": "npm run build && npm run lint", + "prepare": "npm run build && npm run lint", }, "main": "lib/index.js", "types": "lib/index.d.ts", -- 2.45.2