Merge branch 'koishi-beta4'
Showing
This diff is collapsed.
... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
"typings": "dist/index.d.ts", | "typings": "dist/index.d.ts", | ||
"scripts": { | "scripts": { | ||
"lint": "eslint --fix .", | "lint": "eslint --fix .", | ||
"build": "tsc" | "build": "tsc", | ||
"test": "jest --passWithNoTests" | |||
}, | }, | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
... | @@ -29,24 +30,46 @@ | ... | @@ -29,24 +30,46 @@ |
"license": "MIT", | "license": "MIT", | ||
"devDependencies": { | "devDependencies": { | ||
"@koishijs/plugin-adapter-onebot": "^4.0.0-beta.2", | "@koishijs/plugin-adapter-onebot": "^4.0.0-beta.2", | ||
"@types/jest": "^27.0.3", | |||
"@types/lodash": "^4.14.177", | |||
"@types/node": "^16.11.9", | "@types/node": "^16.11.9", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | "@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | "@typescript-eslint/parser": "^4.33.0", | ||
"eslint": "^7.32.0", | "eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | "eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.1", | "eslint-plugin-prettier": "^3.4.1", | ||
"koishi": "^4.0.0-beta.3", | "jest": "^27.4.3", | ||
"koishi": "^4.0.0-beta.4", | |||
"prettier": "^2.4.1", | "prettier": "^2.4.1", | ||
"ts-jest": "^27.0.7", | |||
"typescript": "^4.5.2", | "typescript": "^4.5.2", | ||
"ws": "^8.2.3" | "ws": "^8.2.3" | ||
}, | }, | ||
"peerDependencies": { | "peerDependencies": { | ||
"koishi": "^4.0.0-beta.3" | "koishi": "^4.0.0-beta.4" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"lodash": "^4.17.21", | |||
"reflect-metadata": "^0.1.13", | "reflect-metadata": "^0.1.13", | ||
"schemastery": "^2.0.0", | "schemastery": "^2.1.0", | ||
"schemastery-gen": "2.0.2", | "schemastery-gen": "^2.2.4", | ||
"typed-reflector": "^1.0.5" | "typed-reflector": "^1.0.8" | ||
}, | |||
"jest": { | |||
"moduleFileExtensions": [ | |||
"js", | |||
"json", | |||
"ts" | |||
], | |||
"rootDir": "tests", | |||
"testRegex": ".*\\.spec\\.ts$", | |||
"transform": { | |||
"^.+\\.(t|j)s$": "ts-jest" | |||
}, | |||
"collectCoverageFrom": [ | |||
"**/*.(t|j)s" | |||
], | |||
"coverageDirectory": "../coverage", | |||
"testEnvironment": "node" | |||
} | } | ||
} | } |
tests/inject-using.spec.ts
0 → 100644
Please register or sign in to comment