detergent
Version:
Extract, clean, encode text and fix English style
100 lines (99 loc) • 2.86 kB
JSON
{
"name": "detergent",
"version": "9.2.15",
"description": "Extract, clean, encode text and fix English style",
"keywords": [
"brief",
"clean",
"code",
"copy",
"detergent",
"email",
"encode",
"html",
"send",
"string",
"style",
"text"
],
"homepage": "https://codsen.com/os/detergent",
"repository": {
"type": "git",
"url": "git+https://github.com/codsen/codsen.git",
"directory": "packages/detergent"
},
"license": "MIT",
"author": {
"name": "Roy Revelt",
"email": "roy@codsen.com",
"url": "https://codsen.com"
},
"type": "module",
"exports": {
"types": "./types/index.d.ts",
"script": "./dist/detergent.umd.js",
"default": "./dist/detergent.esm.js"
},
"types": "types/index.d.ts",
"scripts": {
"build": "node '../../ops/scripts/esbuild.js' && npm run dts",
"cjs-off": "exit 0",
"cjs-on": "exit 0",
"dev": "DEV=true node '../../ops/scripts/esbuild.js' && npm run dts",
"devtest": "c8 npm run unit && npm run examples && npm run lint",
"dts": "rollup -c && npm run prettier -- 'types/index.d.ts' --write --log-level 'silent'",
"examples": "node '../../ops/scripts/run-examples.js'",
"lect": "node '../../ops/lect/lect.js' && npm run prettier -- 'README.md' '.all-contributorsrc' 'rollup.config.js' --write",
"letspublish": "npm publish || :",
"lint": "eslint . --fix",
"perf": "node perf/check.js",
"prep": "echo 'ready'",
"prettier": "prettier",
"prettier:format": "npm run prettier -- --write '**/*.{ts,tsx,md}' --no-error-on-unmatched-pattern --log-level 'silent'",
"pretest": "npm run lect && npm run build",
"test": "npm run devtest",
"unit": "uvu test"
},
"engines": {
"node": ">=14.18.0"
},
"c8": {
"check-coverage": true,
"exclude": [
"**/test/**/*.*"
],
"lines": 95
},
"lect": {
"licence": {
"extras": [
"",
"Passes unit tests from https://github.com/kemitchell/straight-to-curly-quotes.json, licenced under CC0-1.0"
]
}
},
"dependencies": {
"all-named-html-entities": "^3.0.11",
"ansi-regex": "^6.1.0",
"codsen-utils": "^1.6.8",
"he": "^1.2.0",
"html-entities-not-email-friendly": "^0.8.11",
"ranges-apply": "^7.0.20",
"ranges-invert": "^6.0.20",
"ranges-process-outside": "^6.0.20",
"ranges-push": "^7.0.19",
"string-apostrophes": "^4.0.23",
"string-collapse-white-space": "^11.0.23",
"string-dashes": "^1.2.17",
"string-fix-broken-named-entities": "^7.0.21",
"string-left-right": "^6.0.21",
"string-range-expander": "^4.0.18",
"string-remove-widows": "^4.0.26",
"string-strip-html": "^13.4.13",
"string-trim-spaces-only": "^5.0.13"
},
"devDependencies": {
"rfdc": "^1.4.1",
"test-mixer": "^4.1.18"
}
}