-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 958 Bytes
/
package.json
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
{
"name": "@nkzw/profane",
"version": "2.0.1",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"description": "Zero dependency profanity detector.",
"repository": {
"type": "git",
"url": "https://github.com/cpojer/profane.git"
},
"license": "MIT",
"type": "module",
"exports": "./lib/profane.js",
"main": "lib/profane.js",
"keywords": [
"badwords",
"clean",
"curse",
"filter",
"profane",
"profanity",
"swear",
"swearjar",
"unallowed"
],
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"esbuild": "^0.17.19",
"escape-string-regexp": "^5.0.0",
"typescript": "^5.0.0",
"vitest": "^0.31.0"
},
"scripts": {
"build": "mkdir -p lib && rm lib/*; tsc --declaration --emitDeclarationOnly --noEmit false && esbuild --target=node18 --format=esm --platform=node --outfile=lib/profane.js --bundle ./src/profane.js",
"test": "tsc && vitest"
}
}