UNPKG

1.82 kBJSONView Raw
1{
2 "name": "nhs-validation",
3 "version": "0.1.1",
4 "description": "Allows the validation and generation of various NHS and medical elements like NHS Numbers & Clinical Codes.",
5 "keywords": [
6 "nhs",
7 "nhs numbers",
8 "nhs validation",
9 "nhs validate"
10 ],
11 "main": "dist/index.js",
12 "types": "dist/index.d.ts",
13 "author": "Josh Walshaw, sethiroth66",
14 "maintainers": [
15 "Josh Walshaw <josh@joshwalshaw.com> (https://github.com/joshwalshaw)",
16 "sethiroth66 <sethiroth66@gmail.com> (https://github.com/sethiroth66/)"
17 ],
18 "repository": {
19 "type": "git",
20 "url": "git+https://github.com/JoshWalshaw/NHS-Validation.git"
21 },
22 "license": "MIT",
23 "scripts": {
24 "build": "tsc",
25 "format": "prettier --write \"src/**/*.ts\"",
26 "lint": "eslint \"{src,test}/**/*.ts\" --fix",
27 "test": "jest",
28 "test:dev": "jest --watch",
29 "prepare": "npm run build",
30 "prepublishOnly": "npm run lint",
31 "preversion": "npm run lint",
32 "version": "npm run format && git add -A .",
33 "postversion": "git push && git push --tags"
34 },
35 "devDependencies": {
36 "@types/jest": "^28.1.1",
37 "@typescript-eslint/eslint-plugin": "^5.0.0",
38 "@typescript-eslint/parser": "^5.0.0",
39 "eslint": "^8.0.1",
40 "eslint-config-prettier": "^8.3.0",
41 "eslint-plugin-prettier": "^4.0.0",
42 "jest": "^28.1.1",
43 "prettier": "^2.7.0",
44 "ts-jest": "^28.0.5",
45 "tsconfig-paths": "^3.10.1",
46 "typescript": "^4.7.3"
47 },
48 "jest": {
49 "moduleFileExtensions": [
50 "js",
51 "json",
52 "ts"
53 ],
54 "rootDir": "src",
55 "testRegex": ".*\\.test\\.ts$",
56 "transform": {
57 "^.+\\.(t|j)s$": "ts-jest"
58 },
59 "collectCoverageFrom": [
60 "**/*.(t|j)s"
61 ],
62 "testEnvironment": "node"
63 }
64}