generated from NHSDigital/nhs-notify-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.76 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"dependencies": {
"@asyncapi/bundler": "^0.6.4",
"zod": "^4.1.11"
},
"description": "Schemas for NHS Notify Supplier API events",
"devDependencies": {
"@stoplight/spectral-cli": "^6.15.0",
"@stylistic/eslint-plugin": "^3.1.0",
"@tsconfig/node22": "^22.0.2",
"@types/jest": "^29.5.14",
"@typescript-eslint/eslint-plugin": "^8.27.0",
"@typescript-eslint/parser": "^8.27.0",
"eslint": "^9.27.0",
"eslint-plugin-jest": "^29.0.1",
"jest": "^29.7.0",
"ts-jest": "^29.4.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"license": "MIT",
"main": "dist/index.js",
"name": "@nhsdigital/nhs-notify-event-schemas-supplier-api",
"private": false,
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/NHSDigital/nhs-notify-supplier-api.git"
},
"scripts": {
"build": "tsc -p ./tsconfig.build.json",
"dev": "ts-node src/index.ts",
"gen:asyncapi": "mkdir -p ./dist/asyncapi && ts-node src/cli/bundle-asyncapi.ts",
"gen:jsonschema": "ts-node src/cli/generate-json.ts",
"lint": "npm run lint:node && npm run lint:schema",
"lint:fix": "eslint . --fix",
"lint:node": "eslint .",
"lint:schema": "spectral lint client-config/client-config.yaml",
"prebuild": "rm -rf dist && npm run gen:asyncapi",
"pregen:asyncapi": "npm run gen:jsonschema",
"pregen:jsonschema": "rm -rf ./client-config/json",
"prelint:schema": "npm run gen:jsonschema",
"prepublishOnly": "npm run build",
"pretest:unit": "npm run gen:jsonschema",
"start": "node dist/index.js",
"test": "npm run test:unit",
"test:unit": "jest",
"typecheck": "tsc --noEmit"
},
"types": "dist/index.d.ts",
"version": "1.0.4"
}