UNPKG

human-name-splitter

Version:

Splitting human name into first name, last name, initials, etc.

51 lines (50 loc) 1.42 kB
{ "name": "human-name-splitter", "version": "1.0.1", "description": "Splitting human name into first name, last name, initials, etc.", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "format": "prettier --write \"src/**/*.(js|ts)\"", "lint": "eslint src --ext .js,.ts", "lint:fix": "eslint src --fix --ext .js,.ts", "test": "jest --config jest.config.js", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "publish": "npm publish", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags" }, "repository": { "type": "git", "url": "git+https://github.com/shaban00/human-name-splitter.git" }, "keywords": [ "splitter", "human", "human name", "name" ], "author": "Shaban Mohammedsaani Hassan", "license": "MIT", "bugs": { "url": "https://github.com/shaban00/human-name-splitter/issues" }, "homepage": "https://github.com/shaban00/human-name-splitter#readme", "devDependencies": { "@types/jest": "29.2.3", "@typescript-eslint/eslint-plugin": "5.44.0", "@typescript-eslint/parser": "5.44.0", "eslint": "8.28.0", "eslint-plugin-jest": "27.1.6", "jest": "29.3.1", "prettier": "2.8.0", "ts-jest": "29.0.3", "typescript": "4.9.3" }, "files": [ "lib/**/*" ] }