summaryrefslogtreecommitdiffstats
path: root/node_modules/is-npm
diff options
context:
space:
mode:
authorGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
committerGravatar Piotr Russ <mail@pruss.it> 2020-11-18 23:26:45 +0100
commit81ddf9b700bc48a1f8e472209f080f9c1d9a9b09 (patch)
tree8b959d50c5a614cbf9fcb346ed556140374d4b6d /node_modules/is-npm
parent1870f3fdf43707a15fda0f609a021f516f45eb63 (diff)
downloadwebsite_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.gz
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.tar.bz2
website_creator-81ddf9b700bc48a1f8e472209f080f9c1d9a9b09.zip
rm node_modules
Diffstat (limited to 'node_modules/is-npm')
-rw-r--r--node_modules/is-npm/index.js4
-rw-r--r--node_modules/is-npm/package.json64
-rw-r--r--node_modules/is-npm/readme.md30
3 files changed, 0 insertions, 98 deletions
diff --git a/node_modules/is-npm/index.js b/node_modules/is-npm/index.js
deleted file mode 100644
index b5f3c27..0000000
--- a/node_modules/is-npm/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-'use strict';
-module.exports = 'npm_config_username' in process.env ||
- 'npm_package_name' in process.env ||
- 'npm_config_heading' in process.env;
diff --git a/node_modules/is-npm/package.json b/node_modules/is-npm/package.json
deleted file mode 100644
index e45c993..0000000
--- a/node_modules/is-npm/package.json
+++ /dev/null
@@ -1,64 +0,0 @@
-{
- "_from": "is-npm@^1.0.0",
- "_id": "is-npm@1.0.0",
- "_inBundle": false,
- "_integrity": "sha1-8vtjpl5JBbQGyGBydloaTceTufQ=",
- "_location": "/is-npm",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "is-npm@^1.0.0",
- "name": "is-npm",
- "escapedName": "is-npm",
- "rawSpec": "^1.0.0",
- "saveSpec": null,
- "fetchSpec": "^1.0.0"
- },
- "_requiredBy": [
- "/update-notifier"
- ],
- "_resolved": "https://registry.npmjs.org/is-npm/-/is-npm-1.0.0.tgz",
- "_shasum": "f2fb63a65e4905b406c86072765a1a4dc793b9f4",
- "_spec": "is-npm@^1.0.0",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/update-notifier",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "http://sindresorhus.com"
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/is-npm/issues"
- },
- "bundleDependencies": false,
- "deprecated": false,
- "description": "Check if your code is running as an npm script",
- "devDependencies": {
- "ava": "0.0.3"
- },
- "engines": {
- "node": ">=0.10.0"
- },
- "files": [
- "index.js"
- ],
- "homepage": "https://github.com/sindresorhus/is-npm#readme",
- "keywords": [
- "npm",
- "is",
- "check",
- "detect",
- "env",
- "environment"
- ],
- "license": "MIT",
- "name": "is-npm",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/is-npm.git"
- },
- "scripts": {
- "test": "node test.js"
- },
- "version": "1.0.0"
-}
diff --git a/node_modules/is-npm/readme.md b/node_modules/is-npm/readme.md
deleted file mode 100644
index 84833ec..0000000
--- a/node_modules/is-npm/readme.md
+++ /dev/null
@@ -1,30 +0,0 @@
-# is-npm [![Build Status](https://travis-ci.org/sindresorhus/is-npm.svg?branch=master)](https://travis-ci.org/sindresorhus/is-npm)
-
-> Check if your code is running as an [npm script](https://www.npmjs.org/doc/misc/npm-scripts.html)
-
-
-## Install
-
-```sh
-$ npm install --save is-npm
-```
-
-
-## Usage
-
-```js
-var isNpm = require('is-npm');
-console.log(isNpm);
-```
-
-```sh
-$ node foo.js
-#=> false
-$ npm run foo
-#=> true
-```
-
-
-## License
-
-MIT © [Sindre Sorhus](http://sindresorhus.com)