forked from 2Toad/Profanity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.02 KB
/
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
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
67
68
69
70
71
72
73
74
75
{
"name": "@2toad/profanity",
"version": "2.2.0",
"description": "A JavaScript profanity filter",
"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 build && concurrently -p \"none\" \"npx tsc --watch\" \"nodemon -q dist/index.js\"",
"test": "mocha -r ts-node/register -r mocha-suppress-logs tests/**/*.spec.ts",
"lint": "eslint . --cache",
"lint:fix": "eslint . --cache --fix",
"prettier": "prettier --check **/*.ts",
"prettier:fix": "prettier --write **/*.ts",
"prepublishOnly": "npm run lint && npm run prettier && npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]:2Toad/Profanity.git"
},
"keywords": [
"profanity",
"profane",
"obscene",
"obscenity",
"obscenities",
"cussing",
"cursing",
"swearing",
"swearwords",
"vulgar",
"vulgarity",
"bad words",
"bad language",
"dirty words"
],
"devDependencies": {
"@types/chai": "^4.3.3",
"@types/mocha": "^9.1.1",
"@types/node": "^18.7.14",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"chai": "^4.3.6",
"concurrently": "^7.3.0",
"eslint": "^8.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-security": "^1.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"mocha": "^10.0.0",
"mocha-suppress-logs": "^0.3.1",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix",
"prettier --write"
]
}
}