add demo build script

This commit is contained in:
Sergey Lapin 2015-07-24 12:37:35 +03:00
parent 491de8a3f7
commit 18aa7d68c7

View File

@ -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",