@danielhaim/titlecaser
Version:
A powerful utility for transforming text to title case with support for multiple style guides and extensive customization options.
92 lines (91 loc) • 3.01 kB
JSON
{
"name": "@danielhaim/titlecaser",
"version": "1.7.15",
"description": "A powerful utility for transforming text to title case with support for multiple style guides and extensive customization options.",
"keywords": [
"title case",
"title casing",
"text transformation",
"text capitalization",
"text formatting",
"headlines",
"sentence capitalization",
"capitalization rules",
"text style",
"automated title case",
"title case converter",
"title case tool",
"typography",
"Wikipedia style",
"New York Times style",
"AP style",
"APA style",
"Chicago Manual of Style",
"British style"
],
"homepage": "https://github.com/danielhaim1/titlecaser#readme",
"bugs": "https://github.com/danielhaim1/titlecaser/issues",
"repository": {
"type": "git",
"url": "https://github.com/danielhaim1/titlecaser.git"
},
"license": "Apache-2.0",
"author": {
"name": "Daniel Haim",
"url": "https://github.com/danielhaim1"
},
"main": "./index.js",
"module": "./dist/titlecaser.esm.js",
"exports": {
".": {
"import": "./dist/titlecaser.esm.js",
"require": "./index.js"
}
},
"files": [
"LICENSE",
"index.d.ts",
"README.md",
"index.js",
"src/",
"dist",
"package.json"
],
"scripts": {
"build": "npx webpack --mode production && cp -R dist/ docs/assets/js",
"build-docs": "cd docs && bundle install && bundle exec jekyll build",
"release": "npm version patch && npm run build && git add -A && git commit -m 'Release: v$(node -p \"require('./package.json').version\")' && git push && npm publish",
"release-major": "npm version major && npm run build && git add -A && git commit -m 'Major Release: v$(node -p \"require('./package.json').version\")' && git push && npm publish",
"release-minor": "npm version minor && npm run build && git add -A && git commit -m 'Minor Release: v$(node -p \"require('./package.json').version\")' && git push && npm publish",
"test": "jest",
"tree": "tree -a -I 'node_modules|.git|.DS_Store'"
},
"devDependencies": {
"@babel/cli": "^7.28.6",
"@babel/core": "^7.29.0",
"@babel/plugin-transform-class-properties": "7.28.6",
"@babel/plugin-transform-modules-commonjs": "^7.28.6",
"@babel/plugin-transform-object-rest-spread": "7.28.6",
"@babel/preset-env": "^7.29.0",
"@babel/runtime-corejs3": "^7.29.0",
"@jest/expect": "^30.2.0",
"@types/jest": "30.0.0",
"babel-jest": "30.2.0",
"babel-loader": "^10.0.0",
"exports-loader": "^5.0.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-environment-puppeteer": "^11.0.0",
"jest-puppeteer": "^11.0.0",
"puppeteer": "^24.37.3",
"puppeteer-core": "^24.37.3",
"terser-webpack-plugin": "^5.3.16",
"ts-jest": "29.4.6",
"webpack": "^5.105.2",
"webpack-cli": "6.0.1",
"webpack-node-externals": "^3.0.0"
},
"publishConfig": {
"access": "public"
}
}