UNPKG

@2toad/profanity

Version:

A JavaScript profanity filter

53 lines (52 loc) 1.2 kB
{ "name": "@2toad/profanity", "version": "1.2.0", "description": "A JavaScript profanity filter", "homepage": "https://github.com/2Toad/Profanity", "author": "2Toad", "license": "MIT", "engines": { "node": "14.15.0" }, "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "dev": "tsc -w", "lint": "tslint -c tslint.json -p tsconfig.json", "test": "mocha -r ts-node/register src/**/*.spec.ts", "prepare": "npm run build", "build": "npm run lint && npm run test && tsc && cp src/words.txt dist", "deploy": "npm publish" }, "repository": { "type": "git", "url": "git+ssh://git@github.com:2Toad/Profanity.git" }, "keywords": [ "profanity", "profane", "obscene", "obscenity", "obscenities", "cussing", "cursing", "swearing", "swearwords", "vulgar", "vulgarity", "bad words", "bad language", "dirty words" ], "dependencies": {}, "devDependencies": { "@types/chai": "^4.2.14", "@types/mocha": "^8.0.4", "@types/node": "^14.14.7", "chai": "^4.2.0", "mocha": "^8.2.1", "ts-node": "^9.0.0", "tslint": "^6.1.3", "typescript": "^4.0.5" } }