mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-06 14:20:42 +02:00
modified
This commit is contained in:
-21
@@ -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.
|
||||
-47
@@ -1,47 +0,0 @@
|
||||
# Pascal Case
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![NPM downloads][downloads-image]][downloads-url]
|
||||
[![Bundle size][bundlephobia-image]][bundlephobia-url]
|
||||
|
||||
> Transform into a string of capitalized words without separators.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install pascal-case --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { pascalCase } from "pascal-case";
|
||||
|
||||
pascalCase("string"); //=> "String"
|
||||
pascalCase("dot.case"); //=> "DotCase"
|
||||
pascalCase("PascalCase"); //=> "PascalCase"
|
||||
pascalCase("version 1.2.10"); //=> "Version_1_2_10"
|
||||
```
|
||||
|
||||
The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).
|
||||
|
||||
### Merge Numbers
|
||||
|
||||
If you'd like to remove the behavior prefixing `_` before numbers, you can use `pascalCaseTransformMerge`:
|
||||
|
||||
```js
|
||||
import { pascalCaseTransformMerge } from "pascal-case";
|
||||
|
||||
pascalCase("version 12", { transform: pascalCaseTransformMerge }); //=> "Version12"
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/pascal-case.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/pascal-case
|
||||
[downloads-image]: https://img.shields.io/npm/dm/pascal-case.svg?style=flat
|
||||
[downloads-url]: https://npmjs.org/package/pascal-case
|
||||
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/pascal-case.svg
|
||||
[bundlephobia-url]: https://bundlephobia.com/result?p=pascal-case
|
||||
-90
@@ -1,90 +0,0 @@
|
||||
{
|
||||
"name": "pascal-case",
|
||||
"version": "3.1.2",
|
||||
"description": "Transform into a string of capitalized words without separators",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"module": "dist.es2015/index.js",
|
||||
"sideEffects": false,
|
||||
"jsnext:main": "dist.es2015/index.js",
|
||||
"files": [
|
||||
"dist/",
|
||||
"dist.es2015/",
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "tslint \"src/**/*\" --project tsconfig.json",
|
||||
"build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
|
||||
"specs": "jest --coverage",
|
||||
"test": "npm run build && npm run lint && npm run specs",
|
||||
"size": "size-limit",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/blakeembrey/change-case.git"
|
||||
},
|
||||
"keywords": [
|
||||
"pascal",
|
||||
"case",
|
||||
"camel",
|
||||
"capital",
|
||||
"convert",
|
||||
"transform",
|
||||
"identifier",
|
||||
"class"
|
||||
],
|
||||
"author": {
|
||||
"name": "Blake Embrey",
|
||||
"email": "hello@blakeembrey.com",
|
||||
"url": "http://blakeembrey.me"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/blakeembrey/change-case/issues"
|
||||
},
|
||||
"homepage": "https://github.com/blakeembrey/change-case/tree/master/packages/pascal-case#readme",
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "dist/index.js",
|
||||
"limit": "400 B"
|
||||
}
|
||||
],
|
||||
"jest": {
|
||||
"roots": [
|
||||
"<rootDir>/src/"
|
||||
],
|
||||
"transform": {
|
||||
"\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"jsx",
|
||||
"json",
|
||||
"node"
|
||||
]
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"no-case": "^3.0.4",
|
||||
"tslib": "^2.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@size-limit/preset-small-lib": "^2.2.1",
|
||||
"@types/jest": "^24.0.23",
|
||||
"@types/node": "^12.12.14",
|
||||
"jest": "^24.9.0",
|
||||
"rimraf": "^3.0.0",
|
||||
"ts-jest": "^24.2.0",
|
||||
"tslint": "^5.20.1",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"tslint-config-standard": "^9.0.0",
|
||||
"typescript": "^4.1.2"
|
||||
},
|
||||
"gitHead": "76a21a7f6f2a226521ef6abd345ff309cbd01fb0"
|
||||
}
|
||||
Reference in New Issue
Block a user