when-off
Version:
一个用于处理日期、日历、节假日和工作日的 TypeScript 工具库, 并且提供各个国家法定节假日和调休安排信息数据
97 lines (96 loc) • 2.56 kB
JSON
{
"name": "when-off",
"version": "1.3.1",
"description": "一个用于处理日期、日历、节假日和工作日的 TypeScript 工具库, 并且提供各个国家法定节假日和调休安排信息数据",
"keywords": [
"date",
"calendar",
"holiday",
"workday",
"日历",
"节假日",
"调休",
"工作日",
"法定节假日",
"调休安排",
"工作日安排",
"节假日安排"
],
"homepage": "https://github.com/BallerJay/when-off#readme",
"bugs": {
"url": "https://github.com/BallerJay/when-off/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BallerJay/when-off.git"
},
"license": "ISC",
"author": "Jay",
"type": "module",
"main": "lib/index.cjs",
"module": "es/index.js",
"browser": "dist/index.min.js",
"types": "es/index.d.ts",
"unpkg": "dist/index.min.js",
"exports": {
".": {
"import": "./es/index.js",
"require": "./lib/index.cjs"
}
},
"files": [
"es",
"lib",
"dist",
"json"
],
"scripts": {
"build": "tsup",
"commit": "git-cz",
"commitlint": "commitlint",
"dev": "bun --watch test/index.test.ts",
"format": "prettier --write .",
"lint": "eslint .",
"lint-staged": "lint-staged",
"lint:fix": "eslint . --fix",
"prepare": "husky",
"prepublishOnly": "pnpm run build",
"semantic-release": "semantic-release",
"semantic-release:dry-run": "semantic-release --dry-run"
},
"config": {
"commitizen": {
"path": "node_modules/cz-git"
}
},
"devDependencies": {
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@eslint/js": "^9.29.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.3",
"@semantic-release/npm": "^12.0.1",
"@semantic-release/release-notes-generator": "^14.0.3",
"@types/node": "^24.0.3",
"@typescript-eslint/eslint-plugin": "^8.34.1",
"commitizen": "^4.3.1",
"cz-git": "^1.11.1",
"eslint": "^9.29.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.5.0",
"globals": "^16.2.0",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"prettier": "^3.6.0",
"semantic-release": "^24.2.5",
"tsup": "^8.5.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.34.1"
},
"volta": {
"node": "20.15.0"
}
}