From 1a04bdcdf98f15b93ca0d547b20f4ab10d446e95 Mon Sep 17 00:00:00 2001 From: Omer Ganim Date: Mon, 2 May 2016 14:52:15 +0300 Subject: [PATCH] add prepublish script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 02e058e..18f7066 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "buildwp": "webpack --config webpack-production.config.js --progress --profile --colors", "babel": "rm -rf build && babel src/ --out-dir dist && babel test/src/ --out-dir dist-test/src && cp -R test/data dist-test/", "babel2": "rm -rf build && babel src/ --out-dir build/src && babel test/src/ --out-dir build/test/src && cp -R test/data build/test/data && cp package.json build/", - "all": "npm run lint && npm run babel && npm run test" + "all": "npm run lint && npm run babel && npm run test", + "prepublish": "npm run babel" }, "repository": { "type": "git",