UNPKG

name-fixer

Version:

A fully typed library for fixing capitalization of people's names. Based on tamtamchik PHP library.

80 lines 2.15 kB
{ "name": "name-fixer", "version": "1.0.1", "description": "A fully typed library for fixing capitalization of people's names. Based on tamtamchik PHP library.", "main": "dist/index.js", "source": "src/index.ts", "types": "dist/index.d.ts", "files": [ "dist" ], "keywords": [ "name-fixer", "namefixer", "fixer", "name-case", "namecase", "name", "capitalization", "names", "case", "internationalization" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/daniseijo/name-fixer.git" }, "bugs": { "url": "https://github.com/daniseijo/name-fixer/issues" }, "lint-staged": { "{src,__tests__}/**/*.ts": [ "eslint --cache --fix", "prettier --write", "jest --findRelatedTests" ] }, "engines": { "node": ">=16.0.0" }, "homepage": "https://github.com/daniseijo/name-fixer#readme", "author": "Daniel Seijo <daniseijo.dev@gmail.com>", "license": "MIT", "devDependencies": { "@tsconfig/node-lts": "^18.12.5", "@types/jest": "^29.5.7", "@types/node": "^20.8.10", "@typescript-eslint/eslint-plugin": "^6.9.1", "@typescript-eslint/parser": "^6.9.1", "eslint": "^8.52.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-jest": "^27.6.0", "eslint-plugin-prettier": "^5.0.1", "husky": "^8.0.3", "jest": "^29.7.0", "lint-staged": "^15.0.2", "np": "^8.0.4", "prettier": "^3.0.3", "ts-jest": "^29.1.1", "tsup": "^7.2.0", "typescript": "^5.2.2" }, "scripts": { "build": "tsup src/index.ts --dts", "release": "pnpm build && np", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "format": "prettier --format \"{src,__tests__}/**/*.ts\"", "check-format": "prettier --check \"{src,__tests__}/**/*.ts\"", "lint": "eslint --fix \"{src,__tests__}/**/*.ts\"", "typecheck": "tsc --noEmit", "preversion": "pnpm lint", "version": "pnpm format && git add -A", "postversion": "git push && git push --tags", "pre-commit": "lint-staged" } }