]> git.saurik.com Git - logizomai.git/commitdiff
Read the documentation for prepare more carefully.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 25 Oct 2017 11:32:06 +0000 (04:32 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 25 Oct 2017 11:32:06 +0000 (04:32 -0700)
make
package.json5

diff --git a/make b/make
index d1704997782f9507027a8821eb70517eb4609cbb..2a57c1fcc9913a35b09a1a4165b886787e32da68 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 prepare
+npm run prepublishOnly
index c564c02dcde7112f7b22d292244af7b82628c6e1..d71d031053b5bfe8b34c70be8d9c1f3e80e5f973 100644 (file)
@@ -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",