add demo script

This commit is contained in:
Sergey Lapin 2015-07-21 11:53:42 +03:00
parent 05f7749d5c
commit 45cea997c3

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 --config webpack.config.js && git commit -m \"rebuild todomvc bundle for demo\" && git push --force"
},
"repository": {
"type": "git",