Add electron option when detecting environment

This commit is contained in:
jeromewu
2019-12-27 09:03:54 +00:00
parent c506475a76
commit 1bacf193d9
3 changed files with 20 additions and 3 deletions

5
package-lock.json generated
View File

@@ -4560,6 +4560,11 @@
}
}
},
"is-electron": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.0.tgz",
"integrity": "sha512-SpMppC2XR3YdxSzczXReBjqs2zGscWQpBIKqwXYBFic0ERaxNVgwLCHwOLZeESfdJQjX0RDvrJ1lBXX2ij+G1Q=="
},
"is-extendable": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz",