bump and dev server
Showing
dev/extras.ts
0 → 100644
dev/index.ts
0 → 100644
This diff is collapsed.
... | ... | @@ -5,7 +5,9 @@ |
"main": "dist/index.js", | ||
"scripts": { | ||
"lint": "eslint --fix .", | ||
"build": "webpack && env PACK_ALL=1 webpack" | ||
"build": "webpack && env PACK_ALL=1 webpack", | ||
"start": "ts-node ./dev", | ||
"test": "jest --passWithNoTests" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
... | ... | @@ -24,15 +26,23 @@ |
"source-map-support": "^0.5.19" | ||
}, | ||
"devDependencies": { | ||
"@koishijs/plugin-cache-lru": "^1.0.0-rc.0", | ||
"@koishijs/plugin-console": "^3.1.1", | ||
"@koishijs/plugin-database-memory": "^1.0.2", | ||
"@koishijs/plugin-sandbox": "^1.0.0", | ||
"@types/jest": "^27.4.0", | ||
"@types/node": "^16.4.12", | ||
"@typescript-eslint/eslint-plugin": "^4.29.0", | ||
"@typescript-eslint/parser": "^4.29.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-prettier": "^3.4.0", | ||
"jest": "^27.5.1", | ||
"prettier": "^2.3.2", | ||
"raw-loader": "^4.0.2", | ||
"ts-jest": "^27.1.3", | ||
"ts-loader": "^9.2.5", | ||
"ts-node": "^10.5.0", | ||
"typescript": "^4.3.5", | ||
"webpack": "^5.48.0", | ||
"webpack-cli": "^4.7.2", | ||
... | ... | @@ -43,6 +53,23 @@ |
}, | ||
"homepage": "https://code.mycard.moe/nanahira/koishi-plugin-limit-help", | ||
"peerDependencies": { | ||
"koishi": "^4.2.1" | ||
"koishi": "^4.2.2" | ||
}, | ||
"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/sample.spec.ts
0 → 100644
Please register or sign in to comment