Opt in to git hooks
... | ... | @@ -11,10 +11,10 @@ |
"clean": "rm -rf ./build && mkdir -p build", | ||
"deploy": "gh-pages -x -r $GH_PAGES_URL -d build -m $DEPLOY_MESSAGE", | ||
"lint": "eslint .", | ||
"postmerge": "npm install", | ||
"postrewrite": "npm install", | ||
"precommit": "npm run lint", | ||
"prepush": "npm run test", | ||
"postmerge": "opt --in postmerge --exec 'npm install'", | ||
"postrewrite": "opt --in postrewrite --exec 'npm install'", | ||
"precommit": "opt --in precommit --exec 'npm run lint'", | ||
"prepush": "opt --in prepush --exec 'npm run test'", | ||
"start": "webpack-dev-server --port $npm_package_config_port --content-base=./build", | ||
"test": "npm run lint && npm run build" | ||
}, | ||
... | ... | @@ -41,6 +41,7 @@ |
"lodash.bindall": "4.4.0", | ||
"lodash.defaultsdeep": "4.4.0", | ||
"minilog": "3.0.1", | ||
"opt-cli": "1.5.1", | ||
"react": "15.x.x", | ||
"react-dom": "15.x.x", | ||
"scratch-blocks": "^0.1.0-prerelease", | ||
... | ... |
Please register or sign in to comment