diff options
author | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-01 22:05:25 +0100 |
---|---|---|
committer | Nevena Bojovic <nenabojov@gmail.com> | 2022-03-01 22:05:25 +0100 |
commit | 6555fb80fdd8f6a5d201efadec3189d1244830a0 (patch) | |
tree | c1aa1c5aedc634ad1ea7fad4847884d559b51290 /sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp | |
parent | 7d3640f824f46490b47bd95f1c5a16644f712068 (diff) |
Izbrisala bin, obj i node-modules.
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp')
3 files changed, 0 insertions, 65 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/README.md b/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/README.md deleted file mode 100644 index a32fb2cb..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# @npmcli/node-gyp - -This is the module npm uses to decide whether a package should be built -using [`node-gyp`](https://github.com/nodejs/node-gyp) by default. - -## API - -* `isNodeGypPackage(path)` - -Returns a Promise that resolves to `true` or `false` based on whether the -package at `path` has a `binding.gyp` file. - -* `defaultGypInstallScript` - -A string with the default string that should be used as the `install` -script for node-gyp packages. 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' -} diff --git a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/package.json b/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/package.json deleted file mode 100644 index 299a453b..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@npmcli/node-gyp/package.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "@npmcli/node-gyp", - "version": "1.0.3", - "description": "Tools for dealing with node-gyp packages", - "scripts": { - "test": "tap", - "preversion": "npm test", - "postversion": "npm publish", - "prepublishOnly": "git push origin --follow-tags" - }, - "repository": { - "type": "git", - "url": "https://github.com/npm/node-gyp.git" - }, - "keywords": [ - "npm", - "cli", - "node-gyp" - ], - "files": [ - "lib/**/*.js" - ], - "main": "lib/index.js", - "author": "Brian Jenkins <bonkydog@bonkydog.com>", - "license": "ISC", - "tap": { - "check-coverage": true, - "coverage-map": "map.js" - }, - "devDependencies": { - "require-inject": "^1.4.4", - "tap": "^14.10.6", - "tmp": "^0.2.1" - } -} |