UNPKG

chinese-workday

Version:
78 lines (77 loc) 1.78 kB
{ "name": "chinese-workday", "version": "2.0.0", "description": "中国工作日", "type": "module", "main": "dist/chinese-workday.cjs.js", "module": "dist/chinese-workday.esm.js", "unpkg": "dist/chinese-workday.min.js", "jsdelivr": "dist/chinese-workday.min.js", "types": "index.d.ts", "exports": { ".": { "types": "./index.d.ts", "import": "./src/index.js", "require": "./dist/chinese-workday.cjs.js", "default": "./dist/chinese-workday.cjs.js" } }, "files": [ "dist", "src", "index.d.ts" ], "scripts": { "test": "node test-simple.js", "test:jest": "jest", "test:coverage": "jest --coverage", "lint": "eslint . --ext .js", "lint:fix": "eslint . --ext .js --fix", "format": "prettier --write .", "format:check": "prettier --check .", "build": "rollup -c", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/yize/chinese-workday.git" }, "keywords": [ "workday", "chinese-workday", "holiday", "china-holiday", "business-day", "working-day", "calendar", "date-utils", "performance", "batch-query", "cache", "工作日", "非节假日", "节假日", "调休", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026" ], "author": "yize.shc@gmail.com", "license": "MIT", "homepage": "https://github.com/yize/chinese-workday#readme", "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-terser": "^0.4.0", "eslint": "^10.0.2", "eslint-config-prettier": "^10.1.8", "globals": "^17.3.0", "jest": "^30.2.0", "prettier": "^3.8.1", "rollup": "^4.0.0" } }