From: Jay Freeman (saurik) Date: Sat, 28 Oct 2017 05:19:49 +0000 (-0700) Subject: Read the documentation for prepare very carefully. X-Git-Url: https://git.saurik.com/logizomai.git/commitdiff_plain/c5eca40a4906f5f5215c3d6e4a31cd0b19ad7cee?ds=inline;hp=1eb8220b2d0f659b12216c8e99bdd44427e54ffd Read the documentation for prepare very carefully. --- 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",