From be5e2e5103558e9bde4081df8e6c9d42b3978e0f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 25 Oct 2017 04:32:06 -0700 Subject: [PATCH] Read the documentation for prepare more carefully. --- make | 2 +- package.json5 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/make b/make index d170499..2a57c1f 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 prepare +npm run prepublishOnly diff --git a/package.json5 b/package.json5 index c564c02..d71d031 100644 --- a/package.json5 +++ b/package.json5 @@ -15,7 +15,7 @@ "scripts": { "build": "tsc", "lint": "tslint --project .", - "prepare": "npm run build && npm run lint", + "prepublishOnly": "npm run build && npm run lint", }, "main": "dist/index.js", "types": "dist/index.d.ts", -- 2.50.0