-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 1.86 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "toxibr",
"version": "1.3.0",
"description": "Biblioteca de moderação de conteúdo para português brasileiro. Filtro com wordlist 200+ termos, detecção context-aware, normalização anti-bypass e bloqueio de links/telefones.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:types": "tsc -p tsconfig.types.json",
"test": "jest",
"validate": "ts-node scripts/validate-wordlists.ts",
"build:demo": "esbuild src/browser.ts --bundle --minify --outfile=docs/toxibr.min.js --format=iife",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write ."
},
"keywords": [
"content-filter",
"moderation",
"profanity",
"portuguese",
"brazilian",
"pt-br",
"nsfw",
"toxicity",
"wordlist",
"filter"
],
"author": "Diaum",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/horacio3m/toxibr"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.58.0",
"@typescript-eslint/parser": "^8.58.0",
"esbuild": "^0.28.0",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.4.0",
"jest": "^29.7.0",
"prettier": "^3.8.1",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.0"
}
}