Skip to content

Commit

Permalink
switch to disabling prepuplish only script
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed Nov 30, 2018
1 parent 52fe216 commit 3f9fbd1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@
"integration-test-cleanup": "node scripts/integration-test-cleanup.js",
"simple-integration-test": "jest --maxWorkers=5 simple-suite",
"complex-integration-test": "jest --maxWorkers=5 integration",
"postinstall": "node ./scripts/postinstall.js",
"prepublishOnly": "./scripts/shrinkwrap && node ./scripts/pre-release.js"
"postinstall": "node ./scripts/postinstall.js"
},
"jest": {
"testRegex": "(\\.|/)(tests)\\.js$",
Expand Down
2 changes: 0 additions & 2 deletions scripts/pre-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ const path = require('path');
const trackingConfigFilePath = path.join(process.cwd(), getTrackingConfigFileName());

// don't release without Sentry key!
/*
if (!process.env.SENTRY_DSN) {
throw new Error('SENTRY_DSN env var not set');
}
*/

const trackingConfig = {
sentryDSN: process.env.SENTRY_DSN,
Expand Down

0 comments on commit 3f9fbd1

Please sign in to comment.