-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.75 KB
/
package.json
File metadata and controls
65 lines (65 loc) · 1.75 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
{
"name": "@2toad/profanity",
"version": "3.3.0",
"description": "A multi-language profanity filter with full TypeScript support",
"homepage": "https://github.com/2Toad/Profanity",
"author": "2Toad",
"license": "MIT",
"engines": {
"node": ">=12"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "npx rimraf dist",
"build": "npm run clean && npx tsc",
"local": "npm run clean && nodemon src/index.ts",
"pretest": "npm run build",
"test": "vitest run",
"test:watch": "vitest",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "prettier . --write",
"check": "npm run format && npm run lint && npm test && npm run build",
"prepublishOnly": "npm run lint && npm test",
"translate": "docker compose -f ./src/tools/translate/docker-compose.yml up -d && ts-node ./src/tools/translate/translate.ts && docker compose -f ./src/tools/translate/docker-compose.yml down",
"benchmark": "docker compose -f ./src/tools/benchmark/docker-compose.yml up --build"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/2Toad/Profanity.git"
},
"keywords": [
"profanity",
"profane",
"obscenity",
"obscene",
"cussing",
"curse",
"cursing",
"swearing",
"swearwords",
"swear-words",
"vulgarity",
"badwords",
"bad-words",
"badlanguage",
"bad-language",
"dirtywords",
"dirty-words",
"censor",
"filter"
],
"devDependencies": {
"@types/benchmark": "^2.1.5",
"@types/node": "^25.5.0",
"axios": "^1.13.6",
"benchmark": "^2.1.4",
"nodemon": "^3.1.14",
"oxlint": "^1.56.0",
"prettier": "^3.8.1",
"rimraf": "^6.1.3",
"typescript": "^6.0.2",
"vitest": "^4.1.1"
}
}