From 5f466137ad6ac596600e3ff53c9b786815398445 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Sat, 27 May 2017 17:36:13 +0200 Subject: node_modules, clean up package.json --- node_modules/is-path-in-cwd/index.js | 6 ----- node_modules/is-path-in-cwd/package.json | 38 -------------------------------- node_modules/is-path-in-cwd/readme.md | 28 ----------------------- 3 files changed, 72 deletions(-) delete mode 100644 node_modules/is-path-in-cwd/index.js delete mode 100644 node_modules/is-path-in-cwd/package.json delete mode 100644 node_modules/is-path-in-cwd/readme.md (limited to 'node_modules/is-path-in-cwd') diff --git a/node_modules/is-path-in-cwd/index.js b/node_modules/is-path-in-cwd/index.js deleted file mode 100644 index 75611656a..000000000 --- a/node_modules/is-path-in-cwd/index.js +++ /dev/null @@ -1,6 +0,0 @@ -'use strict'; -var isPathInside = require('is-path-inside'); - -module.exports = function (str) { - return isPathInside(str, process.cwd()); -}; diff --git a/node_modules/is-path-in-cwd/package.json b/node_modules/is-path-in-cwd/package.json deleted file mode 100644 index 422d0206c..000000000 --- a/node_modules/is-path-in-cwd/package.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "name": "is-path-in-cwd", - "version": "1.0.0", - "description": "Check if a path is in the current working directory", - "license": "MIT", - "repository": "sindresorhus/is-path-in-cwd", - "author": { - "name": "Sindre Sorhus", - "email": "sindresorhus@gmail.com", - "url": "http://sindresorhus.com" - }, - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "files": [ - "index.js" - ], - "keywords": [ - "path", - "cwd", - "pwd", - "check", - "filepath", - "file", - "folder", - "in", - "inside" - ], - "dependencies": { - "is-path-inside": "^1.0.0" - }, - "devDependencies": { - "mocha": "*" - } -} diff --git a/node_modules/is-path-in-cwd/readme.md b/node_modules/is-path-in-cwd/readme.md deleted file mode 100644 index 4e4f3a883..000000000 --- a/node_modules/is-path-in-cwd/readme.md +++ /dev/null @@ -1,28 +0,0 @@ -# is-path-in-cwd [![Build Status](https://travis-ci.org/sindresorhus/is-path-in-cwd.svg?branch=master)](https://travis-ci.org/sindresorhus/is-path-in-cwd) - -> Check if a path is in the [current working directory](http://en.wikipedia.org/wiki/Working_directory) - - -## Install - -```sh -$ npm install --save is-path-in-cwd -``` - - -## Usage - -```js -var isPathInCwd = require('is-path-in-cwd'); - -isPathInCwd('unicorn'); -//=> true - -isPathInCwd('../rainbow'); -//=> false -``` - - -## License - -MIT © [Sindre Sorhus](http://sindresorhus.com) -- cgit v1.2.3