UNPKG

section-2

Version:

A library for calculating unsocial hours entitlements under the NHS agenda for change's section 2

83 lines (82 loc) 2.43 kB
{ "name": "section-2", "version": "0.1.3", "description": "A library for calculating unsocial hours entitlements under the NHS agenda for change's section 2", "type": "module", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "files": [ "dist/" ], "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/esm/index.d.ts" } }, "scripts": { "test": "jest", "build:esm": "tsc -p tsconfig.esm.json", "build:cjs": "tsc -p tsconfig.cjs.json", "copy:types": "cpy \"src/types/**/*.d.ts\" dist/esm/types && cpy \"src/types/**/*.d.ts\" dist/cjs/types", "build": "npm run build:esm && npm run build:cjs && npm run copy:types", "prepublishOnly": "node checkTagVersion.js" }, "repository": { "type": "git", "url": "git+https://github.com/laurenceks/section-2.git" }, "keywords": [ "section2", "section 2", "section-2", "ush", "unsocial", "unsocial hours", "nhs", "national health service", "afc", "agenda for change", "library", "utilities", "ambulance", "ambulance service", "paramedic", "hospital", "doctor", "nurse", "hcp", "health care professional", "healthcare", "health care", "health service", "utility", "calculator" ], "author": "Laurence Summers", "license": "AGPL-3.0-or-later", "bugs": { "url": "https://github.com/laurenceks/section-2/issues" }, "homepage": "https://github.com/laurenceks/section-2#readme", "devDependencies": { "@babel/preset-typescript": "^7.27.1", "@eslint/js": "^9.24.0", "@types/jest": "^30.0.0", "cpy-cli": "^6.0.0", "eslint": "^9.24.0", "eslint-config-prettier": "^10.1.2", "eslint-import-resolver-typescript": "^4.4.2", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.6", "jest": "^29.7.0", "prettier": "3.5.3", "ts-jest": "^29.3.1", "ts-node": "^10.9.2", "tsx": "^4.19.4", "typescript": "^5.8.3", "typescript-eslint": "^8.29.1" } }