Use postinstall-build to support git installs

This commit is contained in:
Brian Beck 2017-05-15 20:50:47 -07:00
parent 3d41c0e3f3
commit fd86710fdb

View file

@ -27,6 +27,7 @@
"deploy": "./scripts/deploy.sh", "deploy": "./scripts/deploy.sh",
"lint": "standard --verbose | snazzy", "lint": "standard --verbose | snazzy",
"lint:fix": "standard --verbose --fix", "lint:fix": "standard --verbose --fix",
"postinstall": "postinstall-build lib",
"prepublish": "npm run clean:lib && npm run build:lib", "prepublish": "npm run clean:lib && npm run build:lib",
"preversion": "npm run update-schema && npm run build:docs && git add schema.json docs", "preversion": "npm run update-schema && npm run build:docs && git add schema.json docs",
"print-schema": "babel-node scripts/print-schema.js", "print-schema": "babel-node scripts/print-schema.js",
@ -75,6 +76,7 @@
"graphql-relay": "^0.5.1", "graphql-relay": "^0.5.1",
"lru-cache": "^4.0.1", "lru-cache": "^4.0.1",
"pascalcase": "^0.1.1", "pascalcase": "^0.1.1",
"postinstall-build": "^5.0.0",
"qs": "^6.4.0", "qs": "^6.4.0",
"request": "^2.81.0", "request": "^2.81.0",
"retry": "^0.10.1" "retry": "^0.10.1"