UNPKG

sensitive-word-helper-plus

Version:

基于DFA算法的一个敏感词助手, 可以做步长控制

61 lines (60 loc) 2.01 kB
{ "name": "sensitive-word-helper-plus", "version": "1.1.4", "description": "基于DFA算法的一个敏感词助手, 可以做步长控制", "main": "./dist/index.js", "scripts": { "start": "node ./dist/index.js", "dev": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"", "watch-node": "nodemon", "test": "jest --forceExit --verbose --detectOpenHandles --coverage", "watch-test": "npm run test -- --watchAll", "tslint": "tslint -c tslint.json -p tsconfig.json", "watch-ts": "tsc -w", "build-ts": "tsc", "debug": "npm run build && npm run watch-debug", "build": "node ./clear.js && npm run build-ts && npm run tslint -s && echo Building success...", "watch-debug": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run serve-debug\"", "serve-debug": "nodemon --inspect dist/index.js", "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/maoguijun/sensitive-word-helper-plus" }, "devDependencies": { "@types/jest": "^24.0.11", "@types/node": "^12.7.2", "concurrently": "^4.1.0", "coveralls": "^3.0.3", "husky": "^3.0.4", "jest": "^24.7.1", "nodemon": "^1.18.10", "ts-jest": "^24.0.2", "typescript": "^3.5.1" }, "keywords": [ "sensitive word helper", "sensitive", "filter", "敏感词", "步长", "step" ], "author": { "name": "maoguijun", "email": "maoguijun1992@gmail.com", "url": "" }, "license": "MIT", "bugs": { "url": "https://github.com/maoguijun/sensitive-word-helper-plus/issues" }, "homepage": "https://github.com/maoguijun/sensitive-word-helper-plus#readme", "husky": { "hooks": { "pre-commit": "npm run tslint" } }, "dependencies": {} }