From 0bba292e7ffc8192f21fcb229e1034853a999f3d Mon Sep 17 00:00:00 2001 From: Justin Weiss Date: Wed, 31 Jan 2018 14:33:47 -0800 Subject: [PATCH] Add a prepare script, to build when used as a git dep --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index f198c456..b63ba4fa 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "stringify": "^5.1.0" }, "scripts": { + "prepare": "babel ./lib --out-dir ./dist", "prepublish": "babel ./lib --out-dir ./dist", "postpublish": "npm run deploy-example", "lint": "eslint ./",