From: Jay Freeman (saurik) Date: Wed, 25 Oct 2017 11:32:06 +0000 (-0700) Subject: Read the documentation for prepare more carefully. X-Git-Url: https://git.saurik.com/logizomai.git/commitdiff_plain/be5e2e5103558e9bde4081df8e6c9d42b3978e0f Read the documentation for prepare more carefully. --- 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",