UNPKG

dayjs-business-days2

Version:

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

79 lines (78 loc) 2.37 kB
{ "name": "dayjs-business-days2", "version": "1.3.2", "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", "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.19" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.39.1", "@stylistic/eslint-plugin": "^5.6.1", "@swc/core": "^1.15.2", "@types/jest": "^30.0.0", "audit-ci": "^7.1.0", "eslint": "^9.39.1", "eslint-plugin-import": "^2.32.0", "eslint-plugin-import-quotes": "^0.0.1", "eslint-plugin-sort-keys-custom-order": "^2.2.1", "husky": "^9.1.7", "jest": "^30.2.0", "npm-check-updates": "^19.1.2", "ts-jest": "^29.4.5", "tsup": "^8.5.1", "typescript": "~5.9.3", "typescript-eslint": "^8.47.0" } }