From f52a3ae2a22085a619e0a51a5477a55d0fd2e085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Sep=C3=BAlveda?= Date: Fri, 24 Feb 2017 18:28:10 -0500 Subject: [PATCH] Changed the build definition --- index.html | 2 +- package.json | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f5b6eb0..ac34bed 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,6 @@ Ejemplo - + \ No newline at end of file diff --git a/package.json b/package.json index d56a5af..5e92d8b 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,14 @@ { "name": "kafkaesque-ui", "description": "A kafka inspired message system for event-driven front-end applications.", - "version": "1.0.0", - "main": "dist/index.js", + "version": "1.0.1", + "main": "dist/index.umd.js", "scripts": { - "build": "webpack", - "start": "webpack-dev-server" + "start": "webpack-dev-server", + "build": "npm-run-all --parallel build:*", + "build:umd": "webpack --output-filename index.umd.js", + "build:umd.min": "webpack --output-filename index.umd.min.js -p", + "prebuild": "rimraf dist" }, "repository": { "type": "git", @@ -33,6 +36,8 @@ "rx": "^4.1.0" }, "devDependencies": { + "npm-run-all": "^4.0.2", + "rimraf": "^2.6.1", "source-map-loader": "^0.1.6", "ts-loader": "^2.0.1", "typescript": "^2.1.6",