diff --git a/package.json b/package.json index adb11d1..fdd739a 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,14 @@ "main": "index.js", "scripts": { "flow": "flow", - "build": "npm run build:babel && npm run build:flow", + "build": + "npm run build:babel && npm run build:flow && npm run build:package-json", "build:babel": "babel src/index.js --out-file index.js", - "build:babel:watch": "babel src/index.js --watch --out-file index.js", + "build:package-json": "node ./resources/clean-package-json.js", "build:flow": "cp src/index.js index.js.flow", "test": "jest", - "ci": "npm run flow check && npm t" + "ci": "npm run flow check && npm t", + "prepublishOnly": ". ./resources/prepublish.sh" }, "keywords": ["graphql", "graphql-relay"], "author": "Dirk-Jan Rutten",