aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js b/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js
deleted file mode 100644
index d4ebf14e..00000000
--- a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/lib/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const util = require('util')
-const fs = require('fs')
-const {stat} = fs.promises || { stat: util.promisify(fs.stat) };
-
-async function isNodeGypPackage(path) {
- return await stat(`${path}/binding.gyp`)
- .then(st => st.isFile())
- .catch(() => false)
-}
-
-module.exports = {
- isNodeGypPackage,
- defaultGypInstallScript: 'node-gyp rebuild'
-}