add build
This commit is contained in:
21
node_modules/camel-case/LICENSE
generated
vendored
Normal file
21
node_modules/camel-case/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
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.
|
3
node_modules/camel-case/camel-case.d.ts
generated
vendored
Normal file
3
node_modules/camel-case/camel-case.d.ts
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
declare function camelCase (value: string, locale?: string, mergeNumbers?: boolean): string;
|
||||
|
||||
export = camelCase;
|
23
node_modules/camel-case/camel-case.js
generated
vendored
Normal file
23
node_modules/camel-case/camel-case.js
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
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)
|
||||
})
|
||||
}
|
81
node_modules/camel-case/package.json
generated
vendored
Normal file
81
node_modules/camel-case/package.json
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"_from": "camel-case@3.0.x",
|
||||
"_id": "camel-case@3.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=",
|
||||
"_location": "/camel-case",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "camel-case@3.0.x",
|
||||
"name": "camel-case",
|
||||
"escapedName": "camel-case",
|
||||
"rawSpec": "3.0.x",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "3.0.x"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/html-minifier"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz",
|
||||
"_shasum": "ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73",
|
||||
"_spec": "camel-case@3.0.x",
|
||||
"_where": "F:\\projects\\vanillajs-seed\\node_modules\\html-minifier",
|
||||
"author": {
|
||||
"name": "Blake Embrey",
|
||||
"email": "hello@blakeembrey.com",
|
||||
"url": "http://blakeembrey.me"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/blakeembrey/camel-case/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"no-case": "^2.2.0",
|
||||
"upper-case": "^1.1.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Camel case a string",
|
||||
"devDependencies": {
|
||||
"istanbul": "^0.4.3",
|
||||
"mocha": "^2.2.1",
|
||||
"standard": "^7.1.2"
|
||||
},
|
||||
"files": [
|
||||
"camel-case.js",
|
||||
"camel-case.d.ts",
|
||||
"LICENSE"
|
||||
],
|
||||
"homepage": "https://github.com/blakeembrey/camel-case",
|
||||
"keywords": [
|
||||
"camel",
|
||||
"case",
|
||||
"camelcase",
|
||||
"camel-case",
|
||||
"dash",
|
||||
"hyphen",
|
||||
"dot",
|
||||
"underscore",
|
||||
"lodash",
|
||||
"separator",
|
||||
"string",
|
||||
"text",
|
||||
"convert"
|
||||
],
|
||||
"license": "MIT",
|
||||
"main": "camel-case.js",
|
||||
"name": "camel-case",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/blakeembrey/camel-case.git"
|
||||
},
|
||||
"scripts": {
|
||||
"lint": "standard",
|
||||
"test": "npm run lint && npm run test-cov",
|
||||
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
|
||||
"test-spec": "mocha -- -R spec --bail"
|
||||
},
|
||||
"typings": "camel-case.d.ts",
|
||||
"version": "3.0.0"
|
||||
}
|
Reference in New Issue
Block a user