first
Showing
.dockerignore
0 → 100644
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.gitlab-ci.yml
0 → 100644
.npmignore
0 → 100644
.prettierrc
0 → 100644
LICENSE
0 → 100644
dev/extras.ts
0 → 100644
dev/index.ts
0 → 100644
dev/test-data.txt
0 → 100644
install-npm.sh
0 → 100755
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | ||
"name": "koishi-plugin-spammer", | ||
"description": "Auto sends messages to a target.", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
"types": "dist/src/index.d.ts", | ||
"scripts": { | ||
"lint": "eslint --fix .", | ||
"build": "webpack && env PACK_ALL=1 webpack", | ||
"start": "ts-node ./dev", | ||
"test": "jest --passWithNoTests" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://code.mycard.moe/3rdeye/koishi-plugin-spammer.git" | ||
}, | ||
"author": "Nanahira <nanahira@momobako.com>", | ||
"license": "MIT", | ||
"keywords": [ | ||
"Koishi.js", | ||
"qqbot", | ||
"cqhttp", | ||
"onebot" | ||
], | ||
"bugs": { | ||
"url": "https://code.mycard.moe/3rdeye/koishi-plugin-spammer/issues" | ||
}, | ||
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-spammer", | ||
"jest": { | ||
"moduleFileExtensions": [ | ||
"js", | ||
"json", | ||
"ts" | ||
], | ||
"rootDir": "tests", | ||
"testRegex": ".*\\.spec\\.ts$", | ||
"transform": { | ||
"^.+\\.(t|j)s$": "ts-jest" | ||
}, | ||
"collectCoverageFrom": [ | ||
"**/*.(t|j)s" | ||
], | ||
"coverageDirectory": "../coverage", | ||
"testEnvironment": "node" | ||
}, | ||
"dependencies": { | ||
"koishi-schedule-send": "^1.0.7", | ||
"koishi-thirdeye": "^10.0.20" | ||
}, | ||
"peerDependencies": { | ||
"koishi": "^4.6.2" | ||
}, | ||
"devDependencies": { | ||
"@koishijs/plugin-cache-lru": "^1.0.0-rc.0", | ||
"@koishijs/plugin-console": "^3.2.9", | ||
"@koishijs/plugin-database-memory": "^1.2.0", | ||
"@koishijs/plugin-sandbox": "^1.1.0", | ||
"@types/jest": "^27.5.0", | ||
"@types/node": "^17.0.31", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-prettier": "^3.4.1", | ||
"jest": "^28.0.3", | ||
"prettier": "^2.6.2", | ||
"raw-loader": "^4.0.2", | ||
"ts-jest": "^28.0.1", | ||
"ts-loader": "^9.3.0", | ||
"ts-node": "^10.7.0", | ||
"typescript": "^4.6.4", | ||
"webpack": "^5.72.0", | ||
"webpack-cli": "^4.9.2", | ||
"ws": "^8.6.0" | ||
} | ||
} |
src/config.ts
0 → 100644
src/index.ts
0 → 100644
tests/sample.spec.ts
0 → 100644
tsconfig.json
0 → 100644
webpack.config.js
0 → 100644
Please register or sign in to comment