-
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.66 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 1.66 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": "toxblock",
"version": "1.0.3",
"description": "A professional TypeScript module that uses Gemini AI to detect profanity and toxic content in all languages",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"dev": "ts-node src/index.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"docs": "typedoc src/index.ts",
"prepublishOnly": "npm run build && npm run test && npm run lint",
"clean": "rimraf dist"
},
"keywords": [
"profanity",
"toxic",
"content-moderation",
"gemini-ai",
"typescript",
"multilingual",
"text-analysis"
],
"author": "sw3do",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/sw3do/toxblock.git"
},
"bugs": {
"url": "https://github.com/sw3do/toxblock/issues"
},
"homepage": "https://github.com/sw3do/toxblock#readme",
"dependencies": {
"@google/genai": "^1.9.0"
},
"devDependencies": {
"@types/jest": "^29.5.8",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^8.37.0",
"@typescript-eslint/parser": "^8.37.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.25.4",
"typescript": "^5.2.2"
},
"engines": {
"node": ">=16.0.0"
}
}