ready-callback
Version:
Launch server after all async task ready
75 lines (74 loc) • 1.71 kB
JSON
{
"name": "ready-callback",
"version": "4.0.0",
"description": "Launch server after all async task ready",
"keywords": [
"koa",
"ready",
"async"
],
"files": [
"dist",
"src"
],
"dependencies": {
"get-ready": "^3.1.0",
"once": "^1.4.0"
},
"devDependencies": {
"@eggjs/koa": "^2.15.1",
"@eggjs/tsconfig": "^1.3.3",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.3",
"@types/once": "^1.4.1",
"egg-bin": "^6.5.2",
"eslint": "^8.51.0",
"eslint-config-egg": "^12.3.1",
"git-contributor": "^2.1.5",
"mocha": "^10.2.0",
"tinyspy": "^2.2.0",
"ts-node": "^10.9.1",
"tshy": "^1.2.2",
"tshy-after": "^1.0.0",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/node-modules/ready-callback"
},
"homepage": "https://github.com/node-modules/ready-callback",
"author": "popomore <sakura9515@gmail.com>",
"license": "MIT",
"scripts": {
"test": "npm run lint -- --fix && egg-bin test",
"lint": "eslint src test --ext ts",
"ci": "npm run lint && egg-bin cov && npm run prepublishOnly",
"contributor": "git-contributor",
"prepublishOnly": "tshy && tshy-after"
},
"engines": {
"node": ">=16.0.0"
},
"ci": {
"version": "16, 18, 20"
},
"tshy": {
"exports": {
".": "./src/index.ts"
}
},
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
}
},
"type": "module",
"types": "./dist/commonjs/index.d.ts"
}