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.tsx
0 → 100644
dev/index.tsx
0 → 100644
install-npm.sh
0 → 100755
package-lock.json
0 → 100644
This diff is collapsed.
package.json
0 → 100644
{ | |||
"name": "koishi-plugin-msgdb", | |||
"description": "保存消息到数据库。", | |||
"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-msgdb.git" | |||
}, | |||
"author": "Nanahira <nanahira@momobako.com>", | |||
"license": "MIT", | |||
"keywords": [ | |||
"Koishi.js", | |||
"qqbot", | |||
"cqhttp", | |||
"onebot" | |||
], | |||
"bugs": { | |||
"url": "https://code.mycard.moe/3rdeye/koishi-plugin-msgdb/issues" | |||
}, | |||
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-msgdb", | |||
"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-thirdeye": "^11.1.27" | |||
}, | |||
"peerDependencies": { | |||
"koishi": "^4.12.1" | |||
}, | |||
"devDependencies": { | |||
"@koishijs/assets": "^1.0.2", | |||
"@koishijs/plugin-console": "^5.5.5", | |||
"@koishijs/plugin-database-memory": "^2.3.4", | |||
"@koishijs/plugin-database-mysql": "^5.4.2", | |||
"@koishijs/plugin-dataview": "^2.2.6", | |||
"@koishijs/plugin-help": "^2.2.1", | |||
"@koishijs/plugin-sandbox": "^2.7.1", | |||
"@types/jest": "^29.5.0", | |||
"@types/node": "^18.15.3", | |||
"@typescript-eslint/eslint-plugin": "^5.55.0", | |||
"@typescript-eslint/parser": "^5.55.0", | |||
"eslint": "8.22.0", | |||
"eslint-config-prettier": "^8.7.0", | |||
"eslint-plugin-prettier": "^4.2.1", | |||
"jest": "^29.5.0", | |||
"prettier": "^2.8.5", | |||
"raw-loader": "^4.0.2", | |||
"ts-jest": "^29.0.5", | |||
"ts-loader": "^9.4.2", | |||
"ts-node": "^10.9.1", | |||
"typescript": "^5.0.2", | |||
"webpack": "^5.76.2", | |||
"webpack-cli": "^5.0.1", | |||
"ws": "^8.13.0" | |||
}, | |||
"koishi": { | |||
"service": { | |||
"required": [ | |||
"database" | |||
], | |||
"optional": [ | |||
"assets" | |||
] | |||
} | |||
} | |||
} |
src/index.tsx
0 → 100644
tests/sample.spec.ts
0 → 100644
tsconfig.json
0 → 100644
webpack.config.js
0 → 100644
Please register or sign in to comment