Skip to content

Commit

Permalink
add in-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Nov 30, 2018
1 parent 7dbc910 commit 948e4f3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"codecov": "codecov",
"test": "npm run build && jest",
"test-coverage": "jest --coverage --globals \"{\\\"coverage\\\":true}\" && codecov",
"prepublish": "npm test"
"prepublish": "in-publish && npm test || not-in-publish"
},
"devDependencies": {
"@sentry/node": "^4.3.0",
Expand All @@ -35,6 +35,7 @@
"glob": "^7.1.3",
"got": "^9.3.2",
"graphql": "^14.0.2",
"in-publish": "^2.0.0",
"ioredis": "^4.2.0",
"isomorphic-unfetch": "^3.0.0",
"jest": "^23.6.0",
Expand Down

0 comments on commit 948e4f3

Please sign in to comment.