Last change
on this file since 84d0fbb was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
444 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | # @npmcli/node-gyp
|
---|
| 2 |
|
---|
| 3 | This is the module npm uses to decide whether a package should be built
|
---|
| 4 | using [`node-gyp`](https://github.com/nodejs/node-gyp) by default.
|
---|
| 5 |
|
---|
| 6 | ## API
|
---|
| 7 |
|
---|
| 8 | * `isNodeGypPackage(path)`
|
---|
| 9 |
|
---|
| 10 | Returns a Promise that resolves to `true` or `false` based on whether the
|
---|
| 11 | package at `path` has a `binding.gyp` file.
|
---|
| 12 |
|
---|
| 13 | * `defaultGypInstallScript`
|
---|
| 14 |
|
---|
| 15 | A string with the default string that should be used as the `install`
|
---|
| 16 | script for node-gyp packages.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.