UNPKG

curse-filter

Version:
79 lines (78 loc) 2.18 kB
{ "name": "curse-filter", "version": "7.0.0", "description": "JavaScript/Typescript multi-language curse word filter", "funding": { "type": "individual", "url": "https://www.paypal.com/paypalme/AlessandroFoglia07" }, "engines": { "node": ">=12.7.0" }, "type": "module", "scripts": { "build:win": "rmdir /s /q lib && tsc", "build:linux": "rm -rf lib && tsc", "build": "npm run build:win || npm run build:linux", "firstBuild": "tsc", "prepublishOnly": "npm run build && npm run format", "pretest": "npm run build", "test": "jest && npm run smokeTest", "format": "prettier . --write", "checkFormat": "prettier . --check", "smokeTest": "node ./test/smoketest/smokeTest.js" }, "main": "lib/index.js", "files": [ "lib", "*.md" ], "bugs": { "url": "https://github.com/alessandrofoglia07/curse-filter/issues" }, "repository": { "type": "git", "url": "https://github.com/alessandrofoglia07/curse-filter" }, "homepage": "https://github.com/alessandrofoglia07/curse-filter/blob/main/README.md", "exports": { ".": { "default": "./lib/index.js", "types": "./lib/index.d.ts" }, "./package.json": "./package.json" }, "directories": { "lib": "lib" }, "keywords": [ "curse", "filter", "bad", "words", "badwords", "bad-words", "cursing", "curses", "profanity", "profane", "swear", "swearing" ], "author": "alessandrofoglia07", "license": "MIT", "devDependencies": { "@types/express": "^4.17.17", "@types/jest": "^29.5.4", "@types/supertest": "^2.0.12", "@typescript-eslint/eslint-plugin": "^6.2.0", "@typescript-eslint/parser": "^6.2.0", "eslint": "^8.46.0", "express": "^4.18.2", "jest": "^29.7.0", "prettier": "^3.0.3", "supertest": "^6.3.3", "ts-jest": "^29.1.1", "ts-node": "^10.9.1" } }