diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-03-27 21:01:33 +0100 |
commit | cc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch) | |
tree | 92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/camel-case | |
parent | 3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff) |
remove node_modules
Diffstat (limited to 'node_modules/camel-case')
-rw-r--r-- | node_modules/camel-case/LICENSE | 21 | ||||
-rw-r--r-- | node_modules/camel-case/camel-case.d.ts | 3 | ||||
-rw-r--r-- | node_modules/camel-case/camel-case.js | 23 | ||||
-rw-r--r-- | node_modules/camel-case/package.json | 56 |
4 files changed, 0 insertions, 103 deletions
diff --git a/node_modules/camel-case/LICENSE b/node_modules/camel-case/LICENSE deleted file mode 100644 index 983fbe8ae..000000000 --- a/node_modules/camel-case/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/node_modules/camel-case/camel-case.d.ts b/node_modules/camel-case/camel-case.d.ts deleted file mode 100644 index 782ef3b52..000000000 --- a/node_modules/camel-case/camel-case.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -declare function camelCase (value: string, locale?: string, mergeNumbers?: boolean): string; - -export = camelCase; diff --git a/node_modules/camel-case/camel-case.js b/node_modules/camel-case/camel-case.js deleted file mode 100644 index 1be652e01..000000000 --- a/node_modules/camel-case/camel-case.js +++ /dev/null @@ -1,23 +0,0 @@ -var upperCase = require('upper-case') -var noCase = require('no-case') - -/** - * Camel case a string. - * - * @param {string} value - * @param {string} [locale] - * @return {string} - */ -module.exports = function (value, locale, mergeNumbers) { - var result = noCase(value, locale) - - // Replace periods between numeric entities with an underscore. - if (!mergeNumbers) { - result = result.replace(/ (?=\d)/g, '_') - } - - // Replace spaces between words with an upper cased character. - return result.replace(/ (.)/g, function (m, $1) { - return upperCase($1, locale) - }) -} diff --git a/node_modules/camel-case/package.json b/node_modules/camel-case/package.json deleted file mode 100644 index 725b39b0f..000000000 --- a/node_modules/camel-case/package.json +++ /dev/null @@ -1,56 +0,0 @@ -{ - "name": "camel-case", - "version": "3.0.0", - "description": "Camel case a string", - "main": "camel-case.js", - "typings": "camel-case.d.ts", - "files": [ - "camel-case.js", - "camel-case.d.ts", - "LICENSE" - ], - "scripts": { - "lint": "standard", - "test-spec": "mocha -- -R spec --bail", - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail", - "test": "npm run lint && npm run test-cov" - }, - "repository": { - "type": "git", - "url": "git://github.com/blakeembrey/camel-case.git" - }, - "keywords": [ - "camel", - "case", - "camelcase", - "camel-case", - "dash", - "hyphen", - "dot", - "underscore", - "lodash", - "separator", - "string", - "text", - "convert" - ], - "author": { - "name": "Blake Embrey", - "email": "hello@blakeembrey.com", - "url": "http://blakeembrey.me" - }, - "license": "MIT", - "bugs": { - "url": "https://github.com/blakeembrey/camel-case/issues" - }, - "homepage": "https://github.com/blakeembrey/camel-case", - "devDependencies": { - "istanbul": "^0.4.3", - "mocha": "^2.2.1", - "standard": "^7.1.2" - }, - "dependencies": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } -} |