We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ffccfc commit 270c1eaCopy full SHA for 270c1ea
tools/prepublish.js
@@ -1,4 +1,5 @@
1
-if (process.env.CI) process.exit(0);
+var npm_argv = JSON.parse(process.env.npm_config_argv);
2
+if (npm_argv.original[0] !== 'publish') process.exit(0);
3
4
var rimraf = require('rimraf');
5
var extend = require('util')._extend;
0 commit comments