holidayapi-node/package.json
Josh Sherman bd634f7442
chore: updating dependencies and node versions
* Updated supported Node.js versions

Dropped support for 14 and 16 in favor of the current LTS versions 18
and 20.

* Updated Node.js dependencies

Bumped nearly all dependencies to the latest. The exception being
`node-fetch` which made the jump to using ESM which is still causing
folks a lot of grief.

* Shored code coverage back up to 100%

Had some remnants from when this library did sanity checks pre-flight to
the API that required additional tests to cover them, or just adjusting
the argument defaults.

* Removed the "build" badge from the README

Seems there were some gotchas with that badge that makes it kind of a
pain, as it has to be hard coded a certain way. I messed with it and
couldn't get it working, seems like more trouble than it's worth.

Further details: https://github.com/badges/shields/issues/8671

* Added .nvmrc file

Pretty self explanatory.

* Bumped version number

Lucky number 7, y'all!
2023-10-26 16:51:36 -05:00

51 lines
1.3 KiB
JSON

{
"name": "holidayapi",
"version": "7.0.0",
"description": "Official Node.js library for Holiday API",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/holidayapi/holidayapi-node.git"
},
"keywords": [
"calendar",
"holiday",
"holidays",
"holidayapi"
],
"author": "Josh Sherman <hello@holidayapi.com> (https://holidayapi.com)",
"license": "MIT",
"bugs": {
"url": "https://github.com/holidayapi/holidayapi-node/issues"
},
"homepage": "https://holidayapi.com",
"engines": {
"node": ">= 18.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/nock": "^11.1.0",
"@types/node": "^20.8.9",
"@types/node-fetch": "^2.6.7",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.12.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.4.3",
"jest": "^29.7.0",
"nock": "^13.2.4",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"dependencies": {
"node-fetch": "^2.7.0"
},
"scripts": {
"build": "tsc",
"lint": "eslint --ext .js,.ts src tests",
"test": "jest",
"test:coverage": "jest --coverage"
}
}