Skip to content

Commit

Permalink
Added pre-deploy steps to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
excitement-engineer committed May 13, 2018
1 parent ae44dd4 commit fba8340
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fba8340

Please sign in to comment.