Deployed the page to Github Pages.
This commit is contained in:
parent
1d79754e93
commit
2c89899458
62797 changed files with 6551425 additions and 15279 deletions
14
node_modules/@npmcli/node-gyp/lib/index.js
generated
vendored
Normal file
14
node_modules/@npmcli/node-gyp/lib/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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',
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue