Commit 9d1b0ef8 authored by Francesco Carrella's avatar Francesco Carrella

add postinstall-build package to auto-build on install when /lib folder is...

add postinstall-build package to auto-build on install when /lib folder is missing (for instance when installed by git repo instead of npm repo)
parent e8064ed2
......@@ -33,6 +33,7 @@
"postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish --registry=https://registry.npmjs.org/",
"prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish",
"postpublish": "npm run gh-pages",
"postinstall": "postinstall-build --only-as-dependency lib",
"check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)",
"check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0"
},
......@@ -98,6 +99,7 @@
"airbnb-prop-types": "^2.1.0",
"array-includes": "^3.0.2",
"classnames": "^2.2.5",
"postinstall-build": "^5.0.1",
"react-fontawesome": "^1.5.0",
"react-md": "^1.2.11",
"react-moment-proptypes": "^1.2.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment