mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-04-20 00:12:00 +03:00
add sh and use it with nom
This commit is contained in:
parent
18aa7d68c7
commit
a48cce5439
17
demo.sh
Normal file
17
demo.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -o errexit # Exit on error
|
||||
|
||||
git stash save
|
||||
git checkout gh-pages
|
||||
cd examples/todomvc
|
||||
webpack
|
||||
git add .
|
||||
if git commit -m 'rebuild todomvc bundle for demo'; then # Commit the changes, if any
|
||||
echo 'Changes Committed'
|
||||
if git push --force; then # Commit the changes, if any
|
||||
echo 'Pushed succecfully'
|
||||
fi
|
||||
fi
|
||||
git checkout master
|
||||
git stash apply
|
|
@ -11,7 +11,7 @@
|
|||
"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",
|
||||
"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"
|
||||
"demo":"bash ./demo.sh"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue
Block a user