UNPKG

@kevinoid/dotnet-identifier-case

Version:

Transform a string to PascalCase according to Microsoft's .NET Capitalization Conventions.

91 lines (90 loc) 3.67 kB
{ "name": "@kevinoid/dotnet-identifier-case", "version": "1.0.0", "description": "Transform a string to PascalCase according to Microsoft's .NET Capitalization Conventions.", "keywords": [ "change-case", "dotnet", "pascal-case" ], "license": "MIT", "homepage": "https://github.com/kevinoid/dotnet-identifier-case", "bugs": "https://github.com/kevinoid/dotnet-identifier-case/issues", "author": "Kevin Locke <kevin@kevinlocke.name>", "repository": { "type": "git", "url": "https://github.com/kevinoid/dotnet-identifier-case.git" }, "type": "module", "files": [ "*.js", "!**/.*" ], "exports": { ".": "./index.js", "./package.json": "./package.json" }, "//": "All scripts should run in POSIX sh and Windows cmd.exe", "scripts": { "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -u", "clean": "rimraf coverage && rimraf doc", "doc": "npm run doc-js && npm run doc-spec", "doc-js": "rimraf doc/api && jsdoc -c jsdoc.conf.json .", "doc-spec": "rimraf doc/spec && mkdir doc/spec && mocha --reporter doc --recursive test | nodecat doc-src/spec/header.xhtml - doc-src/spec/footer.xhtml > doc/spec/index.xhtml", "lint": "npm run lint-js && npm run lint-doc", "lint-doc": "jsdoc -t templates/silent -c jsdoc-lint.conf.json . && echo JSDoc passed.", "lint-js": "eslint --report-unused-disable-directives . && echo ESLint passed.", "postpublish": "git -C doc push && git push --follow-tags origin main gh-pages && echo Remember to update GitHub Releases from CHANGELOG.md", "postversion": "rimraf doc && git clone -b gh-pages -l -q . doc && npm run doc && git -C doc add . && git -C doc commit -n -m \"Docs for v$npm_package_version\"", "preversion": "npm run test-cov && c8 check-coverage --statements 95 && depcheck --ignore-dirs doc --ignores=\"eslint-*,rimraf\" && david && git-branch-is main && hub-ci-status -vv --wait", "test": "npm run lint && npm run test-unit", "test-cov": "npm run lint && npm run test-unit-cov", "test-unit": "node --disable-proto=throw --throw-deprecation --unhandled-rejections=strict node_modules/mocha/bin/mocha.js --parallel --recursive test", "test-unit-cov": "c8 --reporter=lcov --reporter=text npm run test-unit", "version": "npm run changelog && echo && echo === Please edit CHANGELOG.md as desired, then exit === && echo && \"${npm_config_shell:-${SHELL:-bash}}\" && git commit -m \"Update CHANGELOG.md for $npm_package_version\" CHANGELOG.md", "version-deps": "npm install conventional-changelog-cli david depcheck git-branch-is hub-ci-status" }, "devDependencies": { "@kevinoid/eslint-config": "^33.0.0", "c8": "^10.0.0", "eslint": "^8.38.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-import": "^2.25.3", "eslint-plugin-jsdoc": "^50.0.0", "eslint-plugin-n": "^17.0.0", "eslint-plugin-promise": "^7.0.0", "eslint-plugin-regexp": "^2.0.0", "eslint-plugin-unicorn": "^56.0.0", "jsdoc": "^4.0.0", "mocha": "^11.0.1", "nodecat": "^2.0.0", "rimraf": "^5.0.0" }, "engines": { "node": ">=18", "npm": ">=1.3.7" }, "david": { "//": "ESLint packages must be updated together. Only warn about @kevinoid/eslint-config", "ignore": [ "eslint", "eslint-config-airbnb-base", "eslint-plugin-import", "eslint-plugin-jsdoc", "eslint-plugin-n", "eslint-plugin-promise", "eslint-plugin-regexp", "eslint-plugin-unicorn", "rimraf" ] }, "mocha": { "checkLeaks": true, "exit": false }, "c8": { "exclude": [ "test" ] } }