Add preversion script to hopefully kill forgotten docs updates

This commit is contained in:
Brian Beck 2016-12-19 21:49:16 -08:00
parent bbefb27cea
commit 639a53cd68

View file

@ -26,7 +26,8 @@
"clean:lib": "rm -rf lib",
"deploy": "./scripts/deploy.sh",
"lint": "standard --verbose | snazzy",
"prepublish": "npm run clean && npm run build",
"prepublish": "npm run clean:lib && npm run build:lib",
"preversion": "npm run build:docs && git add schema.json docs",
"print-schema": "babel-node scripts/print-schema.js",
"print-schema:json": "npm run print-schema -- --json",
"print-schema:md": "printf '```graphql\\n%s\\n```' \"$(npm run -s print-schema)\"",