From f3357117329a8c477ced52686e74a7a9dc7cb9b5 Mon Sep 17 00:00:00 2001 From: Tony Ganch Date: Thu, 28 Apr 2016 21:03:35 +0200 Subject: [PATCH] [tools] Remove postinstall script Postinstall script failed install on Windows. Since I can't find a proper way to fix the issue, I'm removing the script to not block installation for users and hope to find solution later. See #149 --- package.json | 1 - scripts/postinstall.sh | 6 ------ 2 files changed, 7 deletions(-) delete mode 100755 scripts/postinstall.sh diff --git a/package.json b/package.json index 18ada7ac..d9351911 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "init": "./scripts/init.sh", "log": "./scripts/log.sh", "prepublish": "./scripts/prepublish.sh", - "postinstall": "if [ -e ./scripts/postinstall.sh ]; then ./scripts/postinstall.sh; fi", "postpublish": "./scripts/postpublish.sh", "test": "./scripts/build.sh && ./scripts/test.sh" }, diff --git a/scripts/postinstall.sh b/scripts/postinstall.sh deleted file mode 100755 index 1c09ede8..00000000 --- a/scripts/postinstall.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -if [[ ! -d 'lib' ]]; then - npm i babel@5.8.34 --save - ./scripts/build.sh -fi