bad-words-next
Version:
JavaScript/TypeScript filter and checker for bad words aka profanity
144 lines (143 loc) • 4.14 kB
JSON
{
"name": "bad-words-next",
"version": "3.2.0",
"description": "JavaScript/TypeScript filter and checker for bad words aka profanity",
"keywords": [
"curse",
"swear",
"words",
"profanity",
"filter",
"checker",
"badwords",
"detect",
"sanitize"
],
"repository": "https://github.com/voidresort/bad-words-next",
"homepage": "https://github.com/voidresort/bad-words-next/wiki",
"author": "Void Resort",
"license": "MIT",
"scripts": {
"build": "rollup -c",
"test": "jest",
"pretest": "yarn lint && tsc --noEmit",
"lint": "eslint ./src ./test",
"docs": "typedoc --plugin typedoc-plugin-markdown --plugin typedoc-github-wiki-theme --plugin typedoc-plugin-rename-defaults --options typedoc.json",
"release": "yarn version",
"preversion": "yarn install && yarn build && yarn test && yarn docs",
"postversion": "git push --tags && yarn publish . --new-version $npm_package_version && git push && echo Successfully released version $npm_package_version!",
"cleanup": "git tag -d $(git tag) && git fetch --all --tags && git clean --force -d -x && git reset --hard origin/main && git checkout main",
"prepare": "husky install"
},
"type": "module",
"exports": {
"./lib/decode": {
"types": "./lib/decode.d.ts",
"require": "./lib/decode.cjs",
"default": "./lib/decode.mjs"
},
"./lib/ch": {
"types": "./lib/ch.d.ts",
"require": "./lib/ch.cjs",
"default": "./lib/ch.mjs"
},
"./lib/de": {
"types": "./lib/de.d.ts",
"require": "./lib/de.cjs",
"default": "./lib/de.mjs"
},
"./lib/en": {
"types": "./lib/en.d.ts",
"require": "./lib/en.cjs",
"default": "./lib/en.mjs"
},
"./lib/es": {
"types": "./lib/es.d.ts",
"require": "./lib/es.cjs",
"default": "./lib/es.mjs"
},
"./lib/fr": {
"types": "./lib/fr.d.ts",
"require": "./lib/fr.cjs",
"default": "./lib/fr.mjs"
},
"./lib/pl": {
"types": "./lib/pl.d.ts",
"require": "./lib/pl.cjs",
"default": "./lib/pl.mjs"
},
"./lib/ru": {
"types": "./lib/ru.d.ts",
"require": "./lib/ru.cjs",
"default": "./lib/ru.mjs"
},
"./lib/ru_lat": {
"types": "./lib/ru_lat.d.ts",
"require": "./lib/ru_lat.cjs",
"default": "./lib/ru_lat.mjs"
},
"./lib/ua": {
"types": "./lib/ua.d.ts",
"require": "./lib/ua.cjs",
"default": "./lib/ua.mjs"
},
"./lib": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"default": "./lib/index.mjs"
},
".": {
"types": "./lib/index.d.ts",
"require": "./lib/index.cjs",
"default": "./lib/index.mjs"
}
},
"main": "lib/index.cjs",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-typescript": "^7.26.3",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"eslint-config-standard-with-typescript": "^35.0.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.6.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"rollup": "^3.29.5",
"rollup-plugin-delete": "^2.1.0",
"tinybench": "^2.9.0",
"typedoc": "^0.24.8",
"typedoc-github-wiki-theme": "^1.1.0",
"typedoc-plugin-markdown": "^3.17.1",
"typedoc-plugin-rename-defaults": "^0.6.7",
"typescript": "^4.9.4"
},
"dependencies": {
"confusables": "^1.1.1",
"moize": "^6.1.6"
},
"babel": {
"comments": false,
"presets": [
"@babel/preset-typescript",
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-typescript"
]
}
}