]> git.saurik.com Git - logizomai.git/commitdiff
Read the documentation for prepare very carefully.
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Oct 2017 05:19:49 +0000 (22:19 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Oct 2017 05:19:49 +0000 (22:19 -0700)
make
package.json5

diff --git a/make b/make
index 2a57c1fcc9913a35b09a1a4165b886787e32da68..d1704997782f9507027a8821eb70517eb4609cbb 100755 (executable)
--- 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
index bff000c50b1f61bc2d6bb903bb1c3ed7f0a3597a..b33e7b2f769a4eae37d7ca711c211187fb9702f4 100644 (file)
@@ -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",