@directus/format-title
Version:
Custom string formatter that converts any string into [Title Case](http://www.grammar-monster.com/lessons/capital_letters_title_case.htm)
65 lines • 1.65 kB
JSON
{
"name": "@directus/format-title",
"version": "10.0.0",
"type": "module",
"description": "Custom string formatter that converts any string into [Title Case](http://www.grammar-monster.com/lessons/capital_letters_title_case.htm)",
"keywords": [
"title-case",
"title",
"case",
"directus",
"format",
"string",
"articles",
"conjunctions",
"prepositions"
],
"exports": {
".": "./dist/index.js",
"./package.json": "./package.json"
},
"module": "dist/format-title.bundler.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"author": "rijkvanzanten <rijkvanzanten@me.com>",
"repository": {
"type": "git",
"url": "git+https://github.com/directus/format-title.git"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rimraf": "3.0.2",
"simple-git-hooks": "^2.8.0",
"tsx": "^3.9.0",
"typescript": "^4.8.2",
"vitest": "^0.23.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts}": "eslint --fix"
},
"gitHead": "24621f3934dc77eb23441331040ed13c676ceffd",
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc --build",
"dev": "tsx watch ./src/index.ts",
"lint": "eslint src",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest"
}
}