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 55e4e5b commit d62bf11Copy full SHA for d62bf11
package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "homebridge-adt-pulse",
3
"displayName": "Homebridge ADT Pulse",
4
- "version": "3.4.12",
+ "version": "3.4.13",
5
"description": "Homebridge security system platform for ADT Pulse",
6
"main": "./build/index.js",
7
"exports": "./build/index.js",
postinstall.js
@@ -1,6 +1,9 @@
import { execSync } from 'node:child_process';
-if (process.env.npm_config_omit !== 'dev') {
+const isGlobal = process.env.npm_config_global === 'true';
+const isDevOmitted = process.env.npm_config_omit === 'dev';
+
+if (!isGlobal && !isDevOmitted) {
console.info('Running post-install commands ...');
8
9
execSync('npm run build', {
0 commit comments