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/10000.jpg
0 → 100644
85.1 KB
dev/extras.ts
0 → 100644
dev/index.ts
0 → 100644
install-npm.sh
0 → 100755
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
| { | |||
| "name": "koishi-plugin-adapter-wecom", | |||
| "description": "Koishi 企业微信适配器。", | |||
| "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-myplugin.git" | |||
| }, | |||
| "author": "Nanahira <nanahira@momobako.com>", | |||
| "license": "MIT", | |||
| "keywords": [ | |||
| "Koishi.js", | |||
| "qqbot", | |||
| "cqhttp", | |||
| "onebot", | |||
| "impl:adapter" | |||
| ], | |||
| "bugs": { | |||
| "url": "https://code.mycard.moe/3rdeye/koishi-plugin-myplugin/issues" | |||
| }, | |||
| "homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-myplugin", | |||
| "jest": { | |||
| "moduleFileExtensions": [ | |||
| "js", | |||
| "json", | |||
| "ts" | |||
| ], | |||
| "rootDir": "tests", | |||
| "testRegex": ".*\\.spec\\.ts$", | |||
| "transform": { | |||
| "^.+\\.(t|j)s$": "ts-jest" | |||
| }, | |||
| "collectCoverageFrom": [ | |||
| "**/*.(t|j)s" | |||
| ], | |||
| "coverageDirectory": "../coverage", | |||
| "testEnvironment": "node" | |||
| }, | |||
| "peerDependencies": { | |||
| "koishi": "^4.4.1" | |||
| }, | |||
| "devDependencies": { | |||
| "@types/jest": "^27.4.1", | |||
| "@types/node": "^17.0.21", | |||
| "@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": "^27.5.1", | |||
| "prettier": "^2.6.0", | |||
| "raw-loader": "^4.0.2", | |||
| "ts-jest": "^27.1.3", | |||
| "ts-loader": "^9.2.8", | |||
| "ts-node": "^10.7.0", | |||
| "typescript": "^4.6.2", | |||
| "webpack": "^5.70.0", | |||
| "webpack-cli": "^4.9.2", | |||
| "ws": "^8.5.0" | |||
| }, | |||
| "dependencies": { | |||
| "@wecom/crypto": "^1.0.1", | |||
| "fast-xml-parser": "^4.0.6", | |||
| "file-type": "^16.5.3", | |||
| "form-data": "^4.0.0", | |||
| "moment": "^2.29.1", | |||
| "raw-body": "^2.5.1" | |||
| } | |||
| } |
src/bot.ts
0 → 100644
This diff is collapsed.
src/def/WeComAgentInfo.ts
0 → 100644
src/def/WeComUser.ts
0 → 100644
src/def/def.ts
0 → 100644
src/def/index.ts
0 → 100644
src/http.ts
0 → 100644
src/index.ts
0 → 100644
src/utils.ts
0 → 100644
tests/sample.spec.ts
0 → 100644
tsconfig.json
0 → 100644
webpack.config.js
0 → 100644