|
15 | 15 | "ts-node": "^10.9.2", |
16 | 16 | "typescript": "^5.7.3" |
17 | 17 | }, |
18 | | - "main": "src/index.ts", |
| 18 | + "main": "dist/index.js", |
19 | 19 | "name": "@nhsdigital/nhs-notify-event-schemas-letter-rendering", |
20 | 20 | "publishConfig": { |
21 | 21 | "registry": "https://npm.pkg.github.com" |
22 | 22 | }, |
23 | | - "public": false, |
| 23 | + "private": true, |
24 | 24 | "repository": "[email protected]:NHSDigital/nhs-notify-standards.git", |
25 | 25 | "scripts": { |
26 | | - "build": "tsc -p tsconfig.build.json", |
| 26 | + "build": "rm -f *.tsbuildinfo && tsc -p tsconfig.build.json", |
27 | 27 | "dev": "ts-node src/index.ts", |
28 | 28 | "gen:asyncapi": "mkdir -p ./dist/asyncapi && ts-node src/cli/bundle-asyncapi.ts", |
29 | 29 | "gen:jsonschema": "ts-node src/cli/generate-json.ts", |
|
33 | 33 | "lint:schema": "spectral lint client-config/client-config.yaml", |
34 | 34 | "prebuild": "rm -rf dist && npm run gen:asyncapi", |
35 | 35 | "pregen:asyncapi": "npm run gen:jsonschema", |
36 | | - "pregen:jsonschema": "rm -rf ./client-config/json", |
| 36 | + "pregen:jsonschema": "rm -rf ./schemas/domain/*.json ./schemas/events/*.json", |
37 | 37 | "prelint:schema": "npm run gen:jsonschema", |
38 | 38 | "start": "node dist/index.js", |
39 | 39 | "test": "jest", |
40 | 40 | "test:unit": "jest", |
41 | | - "prepublishOnly": "npm run build" |
| 41 | + "prepare": "npm run build" |
42 | 42 | }, |
43 | | - "version": "1.0.0" |
| 43 | + "version": "1.0.1" |
44 | 44 | } |
0 commit comments