@greenrenge/gracefully
Version:
liveness and readiness wrapper using lightship for node.js
100 lines • 2.66 kB
JSON
{
"name": "@greenrenge/gracefully",
"version": "2.0.3",
"description": "liveness and readiness wrapper using lightship for node.js",
"engines": {
"node": ">=18"
},
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts"
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"type": "module",
"types": "./dist/esm/index.d.ts",
"homepage": "https://github.com/greenrenge/gracefully#readme",
"files": [
"src",
"dist",
"README.md"
],
"scripts": {
"test": "mocha",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "npm run lint -- --fix",
"build": "npm run build:clean && npm run build:esm && npm run build:cjs",
"build:clean": "rimraf dist/**",
"build:esm": "tsc -p tsconfig.build-esm.json",
"build:cjs": "tsc -p tsconfig.build-cjs.json",
"prepublishOnly": "npm run build",
"prettify": "prettier --write '{playground,src,test}/**/*.{js,ts}'",
"preplayground": "npm run build",
"playground": "node_modules/.bin/nodemon playground/index.js --watch playground --exec tsx",
"version": "standard-changelog && git add CHANGELOG.md"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/greenrenge/gracefully.git"
},
"keywords": [
"lightship",
"liveness",
"readiness",
"kubernetes",
"k8s",
"probes"
],
"author": "Kitthanat Srirussamee <greenrenge@gmail.com>",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/lodash": "^4.17.20",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.19",
"@types/sinon": "^17.0.3",
"@types/sinon-chai": "^3.2.12",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"chai": "^4.4.1",
"chai-as-promised": "^7.1.1",
"chaid": "^1.0.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"express": "^4.18.2",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"supertest": "^6.3.4",
"ts-node": "^10.9.1",
"tsx": "^4.7.1",
"typescript": "^5.3.3"
},
"dependencies": {
"lightship": "^9.0.3"
},
"publishConfig": {
"access": "public"
}
}