From 18aa7d68c79876e3c63f4e7e0a0754e7c2ba7885 Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Fri, 24 Jul 2015 12:37:35 +0300 Subject: [PATCH] add demo build script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 97971303..edb55a9e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "test": "NODE_ENV=test mocha --compilers js:babel/register --recursive", "test:watch": "NODE_ENV=test mocha --compilers js:babel/register --recursive --watch", "test:cov": "babel-node ./node_modules/.bin/isparta cover ./node_modules/.bin/_mocha -- --recursive", - "prepublish": "npm run lint && npm run test && npm run clean && npm run build" + "prepublish": "npm run lint && npm run test && npm run clean && npm run build", + "demo":"git checkout gh-pages && cd examples/todomvc && webpack && cd ../../ && git add . && git commit -m \"rebuild todomvc bundle for demo\" && git push --force && git checkout master" }, "repository": { "type": "git",