UNPKG

dayjs-business-days2

Version:

Day.js plugin to add support for calculating dates only accounting for Business days

76 lines (75 loc) 2.3 kB
{ "name": "dayjs-business-days2", "version": "1.3.0", "description": "Day.js plugin to add support for calculating dates only accounting for Business days", "types": "./typings/index.d.ts", "main": "./dist/index.js", "module": "./dist/index.mjs", "exports": { ".": { "types": "./typings/index.d.ts", "require": "./dist/index.js", "import": "./dist/index.mjs" } }, "type": "commonjs", "author": "Wesley Reed", "scripts": { "build": "tsup src/index.ts --format cjs,esm --sourcemap --clean", "lint": "eslint src test typings --ext .ts,.js", "lint:fix": "npm run lint -- --fix", "test": "jest --config ./jest.config.js", "test:watch": "npm run test -- --watchAll", "test:coverage": "npm run test -- --coverage", "prepare": "husky && npm run build", "prepublishOnly": "npm run build", "preversion": "npm run lint", "postversion": "git push && git push --tags", "audit": "audit-ci --config .audit-ci.json", "check-updates": "ncu --configFileName .check-updates.json", "check-updates:fix": "ncu --configFileName .check-updates.json --upgrade --errorLevel 1", "check-updates:all": "ncu --configFileName .check-updates.json --target latest --errorLevel 1" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/reediculous456/dayjs-business-days.git" }, "keywords": [ "day.js", "business", "days", "working", "days", "businessdays", "workingdays" ], "license": "MIT", "files": [ "dist/**/*", "typings/**/*", "src/**/*" ], "bugs": { "url": "https://github.com/reediculous456/dayjs-business-days/issues" }, "homepage": "https://github.com/reediculous456/dayjs-business-days#readme", "dependencies": { "dayjs": "^1.11.13" }, "devDependencies": { "@swc/core": "^1.10.18", "@types/jest": "^29.5.14", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "audit-ci": "^7.1.0", "eslint": "^8.57.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-sort-destructure-keys": "^2.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "npm-check-updates": "^17.1.14", "ts-jest": "^29.2.5", "tsup": "^8.3.6", "typescript": "^5.7.3" } }