From f500794fe772b20090da4e59472dc319d14fd50f Mon Sep 17 00:00:00 2001
From: cgeek <cem.moreau@gmail.com>
Date: Wed, 9 Aug 2017 13:58:37 +0200
Subject: [PATCH] [fix] #1046 Run `tsc` at prepublish phase

---
 package.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 3769e9351..7673e62b7 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "test": "test"
   },
   "scripts": {
-    "postinstall": "tsc",
+    "prepublish": "tsc",
     "tsc": "tsc",
     "test": "nyc --reporter html mocha",
     "start": "node bin/duniter start",
-- 
GitLab