fix(proxy): dont run systemd-service-installer in dev

See ronivay/XenOrchestraInstallerUpdater#62
This commit is contained in:
Julien Fontanet 2021-02-23 21:37:26 +01:00
parent 1a4731aa83
commit 44d64d1b80

View File

@ -75,6 +75,7 @@
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@vates/toggle-scripts": "^0.1.0",
"babel-plugin-transform-dev": "^2.0.1",
"cross-env": "^7.0.2",
"index-modules": "^0.3.0",
@ -84,11 +85,13 @@
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"postinstall": "./scripts/systemd-service-installer",
"_postinstall": "./scripts/systemd-service-installer",
"postpack": "toggle-scripts -postinstall -preuninstall",
"prebuild": "yarn run clean && index-modules --cjs-lazy src/app/mixins",
"predev": "yarn run prebuild",
"prepack": "toggle-scripts +postinstall +preuninstall",
"prepublishOnly": "yarn run build",
"preuninstall": "./scripts/systemd-service-installer",
"_preuninstall": "./scripts/systemd-service-installer",
"start": "./dist/index.js"
},
"author": {