From 464355c740940df632eef951c6c84eb2767b5ab3 Mon Sep 17 00:00:00 2001 From: eric thul Date: Sun, 12 Apr 2015 11:08:05 -0400 Subject: Updating example and adding publishing Resolves #7 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 56c6b39..d7e986f 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "build": "npm run-script build:compile && npm run-script build:package", "build:compile": "gulp build", "build:package": "./node_modules/.bin/webpack --progress --colors --profile --bail", - "build:json": "./node_modules/.bin/webpack --progress --colors --profile --bail --json > index.json" + "build:json": "./node_modules/.bin/webpack --progress --colors --profile --bail --json > index.json", + "prepublish": "npm run-script build" }, "files": [ "index.js" -- cgit v1.2.3