-
Notifications
You must be signed in to change notification settings - Fork 24
/
package.json
71 lines (71 loc) · 2.14 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
{
"name": "mint-filter",
"version": "4.0.3",
"description": "基于Aho–Corasick算法,更轻巧的JavaScript敏感词过滤库。🚀",
"main": "dist/main/index.js",
"typings": "dist/main/index.d.ts",
"module": "dist/module/index.js",
"scripts": {
"dev": "nodemon -e ts, js",
"build": "npm run lint && rimraf dist && npm run build:main && npm run build:module",
"build:main": "tsc -p tsconfig.json",
"build:module": "tsc -p tsconfig.module.json",
"format": "prettier --write ./src/*.ts",
"lint": "eslint ./src --ext .ts",
"prepare-commit-msg": "prepare-commit-msg",
"prepare": "husky install",
"commitlint": "commitlint",
"lint-staged": "lint-staged",
"doc": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
"test": "jest --forceExit --verbose --detectOpenHandles --coverage --verbose",
"watch-test": "npm run test -- --watchAll",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls"
},
"devDependencies": {
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"commitlint": "17.4.4",
"conventional-changelog-conventionalcommits": "5.0.0",
"coveralls": "3.1.1",
"eslint": "8.34.0",
"fs-extra": "^11.1.0",
"husky": "8.0.3",
"jest": "^29.4.3",
"lint-staged": "13.1.2",
"nodemon": "2.0.20",
"prettier": "2.8.4",
"rimraf": "4.1.2",
"ts-jest": "^29.0.5",
"typedoc": "^0.23.25",
"typedoc-plugin-markdown": "^3.14.0",
"typescript": "4.9.5"
},
"lint-staged": {
"./src/*.ts": [
"prettier --write",
"yarn lint",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/ZhelinCheng/mint-filter.git"
},
"keywords": [
"sensitive word filter",
"sensitive",
"filter",
"敏感词"
],
"author": {
"name": "ZhelinCheng",
"email": "i@zhelin.me",
"url": "https://zhelin.me"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/ZhelinCheng/mint-filter/issues"
},
"homepage": "https://github.com/ZhelinCheng/mint-filter#readme"
}