-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 4.08 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 4.08 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@jorisjonkers-dev/deploy-config-schema",
"version": "0.18.0",
"description": "JSON Schema and CLI contract for deploy and infrastructure config artifacts.",
"type": "module",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"bin": {
"deploy-config-schema": "./dist/bin/deploy-config-schema.js"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./schemas/platform": "./dist/schemas/platform.schema.json",
"./schema": "./dist/schemas/deploy-config.schema.json",
"./schemas/round3/service-intent": "./dist/schemas/round3/service-intent.schema.json",
"./schemas/round3/fleet-inventory": "./dist/schemas/round3/fleet-inventory.schema.json",
"./schemas/round3/vault-dynamic-secrets": "./dist/schemas/round3/vault-dynamic-secrets.schema.json",
"./schemas/deployment": "./dist/schemas/deployment.schema.json",
"./schemas/deployment-env": "./dist/schemas/deployment-env.schema.json",
"./schemas/deployment-sources": "./dist/schemas/deployment-sources.schema.json",
"./schemas/deployment-lock": "./dist/schemas/deployment-lock.schema.json",
"./schemas/host-inventory": "./dist/schemas/host-inventory.schema.json",
"./schemas/node-inventory": "./dist/schemas/node-inventory.schema.json",
"./schemas/node-contract": "./dist/schemas/node-contract.schema.json",
"./schemas/collection": "./dist/schemas/collection.schema.json",
"./schemas/collection-index": "./dist/schemas/collection-index.schema.json",
"./schemas/reachability": "./dist/schemas/reachability.schema.json",
"./schemas/state-move-plan": "./dist/schemas/state-move-plan.schema.json",
"./schemas/cluster-context": "./dist/schemas/cluster-context.schema.json"
},
"files": [
"dist/",
"bin/",
"schemas/",
"src/",
"docs/",
"samples/",
"fixtures/"
],
"scripts": {
"build": "tsc && npm run build:schemas && node -e \"const{rmSync}=require('fs');rmSync('dist/src',{recursive:true,force:true})\" && tsc && node scripts/copy-dist-assets.js",
"build:schemas": "node dist/scripts/generate-schemas.js",
"check:schemas": "node dist/scripts/generate-schemas.js --check",
"prepack": "npm run build",
"prepublishOnly": "npm run build",
"test": "npm run build && npm run check:schemas && npm run test:coverage",
"test:coverage": "c8 --all --include \"dist/src/**/*.js\" --exclude \"dist/src/schemas/**/*.js\" --check-coverage --lines 90 --branches 80 node --test $(find dist/test -name \"*.test.js\" | sort)",
"test:unit": "npm run build && node --test $(find dist/test -name \"*.test.js\" | sort)",
"validate:schema": "node scripts/validate-schema.js",
"validate:sample": "node dist/bin/deploy-config-schema.js validate auto samples/deploy-config.yaml fixtures/platform/single-node.platform.yaml fixtures/round4/service-intent-renderable.sample.yaml fixtures/round3/fleet-inventory.sample.yaml fixtures/round3/vault-dynamic-secrets.sample.yaml",
"validate:artifacts": "node dist/bin/deploy-config-schema.js validate auto",
"check-drift": "node dist/bin/deploy-config-schema.js render-tree --check",
"render:sample": "node dist/bin/deploy-config-schema.js render traefik-public samples/deploy-config.yaml"
},
"keywords": [
"deploy",
"json-schema",
"traefik",
"gatus",
"keel"
],
"license": "LicenseRef-JorisJonkers-Proprietary-1.0",
"publishConfig": {
"registry": "https://npm.pkg.github.com",
"access": "public"
},
"dependencies": {
"ajv": "^8.17.1",
"yaml": "^2.8.1",
"zod": "^3.25.76",
"zod-to-json-schema": "^3.25.2"
},
"engines": {
"node": ">=20"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/node": "^22.19.20",
"c8": "^11.0.0",
"eslint": "^9.39.4",
"globals": "^16.5.0",
"prettier": "^3.9.4",
"typescript": "^5.9.3",
"typescript-eslint": "^8.62.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JorisJonkers-dev/deploy-config-schema.git"
},
"homepage": "https://github.com/JorisJonkers-dev/deploy-config-schema#readme"
}