text-title-case
Version:
Convert a text into title case following English rules
88 lines (87 loc) • 2.11 kB
JSON
{
"name": "text-title-case",
"version": "1.0.2",
"description": "Convert a text into title case following English rules",
"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/"
],
"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": "https://github.com/idimetrix/text-case"
},
"keywords": [
"case",
"title",
"titlecase",
"title-case",
"english",
"capital",
"sentence",
"convert",
"transform"
],
"author": {
"name": "Dmitry Selikhov",
"email": "selikhov.dmitrey@gmail.com",
"url": "https://www.linkedin.com/in/dimetrix"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/idimetrix/text-case/issues",
"email": "selikhov.dmitrey@gmail.com"
},
"homepage": "https://github.com/idimetrix/text-case/tree/master/packages/title-case#readme",
"size-limit": [
{
"path": "dist/index.js",
"limit": "350 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"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.6.0",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.5",
"jest": "^26.5.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.4.1",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typescript": "^4.0.3"
},
"gitHead": "dd7da075c659c5a5ebce2c13c5119f6201e3af1a"
}