/
package.json
168 lines (168 loc) · 6.55 KB
/
package.json
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "@s1seven/schema-tools",
"version": "0.0.0",
"license": "Apache-2.0",
"private": false,
"publicConfig": {
"access": "public"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"homepage": "https://github.com/s1seven/schema-tools#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/s1seven/schema-tools.git"
},
"bugs": {
"url": "https://github.com/s1seven/schema-tools/issues"
},
"engines": {
"node": ">=12",
"npm": ">=6"
},
"scripts": {
"format": "nx format",
"format:all": "prettier --write \"packages/**/*.{ts,json}\"",
"cleanup": "nx run-many --target=cleanup --all",
"bump:patch": "nx run-many --all --target=version --releaseAs=patch --parallel=1",
"bump:patch:affected": "nx affected --target=version --releaseAs=patch --parallel=1",
"bump:minor": "nx run-many --all --target=version --releaseAs=minor --parallel=1",
"bump:minor:affected": "nx affected --target=version --releaseAs=minor --parallel=1",
"release": "nx affected --target=release --parallel=1",
"publish": "nx affected --target=publish --parallel=1",
"reset": "npm run cleanup && rimraf -rf node_modules && npm install",
"build": "nx run-many --target=build --all",
"build:no-cache": "nx run-many --target=build --all --skip-nx-cache",
"build:affected": "nx affected --target=build",
"lint": "nx run-many --target=lint --all",
"lint:fix": "nx run-many --target=lint --all --fix",
"lint:no-cache": "nx run-many --target=lint --all --skip-nx-cache",
"lint:affected": "nx affected --target=lint",
"lint:staged": "npx lint-staged",
"lint:commit": "npx --no -- commitlint --edit $1",
"prepare": "npm run format && npm run lint",
"test": "DEBUG=schema-tools-* nx run-many --target=test --all",
"test:no-cache": "DEBUG=schema-tools-* nx run-many --target=test --all --skip-nx-cache",
"test:affected": "DEBUG=schema-tools-* nx affected --target=test",
"test:cov": "nx run-many --target=test --all && node merge-coverage.js",
"test:cov:affected": "nx affected --target=test && node merge-coverage.js",
"test:coverage": "jest --ci --coverage --logHeapUsage --forceExit && node coverage-transform.js",
"test:staged": "nx run-many --target=test:staged --all",
"test:certificate-model": "nx test @s1seven/schema-tools-certificate-model",
"test:certificate-summary": "nx test @s1seven/schema-tools-certificate-summary",
"test:extract-emails": "nx test @s1seven/schema-tools-extract-emails",
"test:generate-html": "nx test @s1seven/schema-tools-generate-html",
"test:generate-interfaces": "nx test @s1seven/schema-tools-generate-interfaces",
"test:generate-coa-pdf": "nx test @s1seven/schema-tools-generate-coa-pdf-template",
"test:generate-en10168-pdf": "nx test @s1seven/schema-tools-generate-en10168-pdf-template",
"test:generate-pdf-helpers": "nx test @s1seven/schema-tools-generate-pdf-template-helpers",
"test:generate-pdf": "nx test @s1seven/schema-tools-generate-pdf",
"test:utils": "nx test @s1seven/schema-tools-utils",
"test:validate": "nx test @s1seven/schema-tools-validate",
"test:versioning": "nx test:cov @s1seven/schema-tools-versioning",
"scan:deps": "nx run-many --target=scan:deps --all",
"scan:code": "sonarqube-verify",
"graph": "npx nx graph",
"fixtures:interfaces": "ts-node -r tsconfig-paths/register ./utils/create-schema-interfaces.ts",
"fixtures:html": "ts-node -r tsconfig-paths/register ./utils/create-html-certificate.ts",
"fixtures:pdf": "ts-node -r tsconfig-paths/register ./utils/create-pdf-certificate.ts",
"fixtures:generate": "ts-node -r tsconfig-paths/register ./utils/generate-fixtures-from-json.ts",
"schema:dereference": "ts-node -r tsconfig-paths/register ./utils/dereference-json-schema.ts"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.1.0",
"@fontsource/lato": "^5.0.18",
"ajv": "8.12.0",
"ajv-formats": "2.1.1",
"axios": "1.6.7",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"debug": "^4.3.4",
"glob": "^10.3.10",
"handlebars": "^4.7.8",
"ip-regex": "^5.0.0",
"json-schema-to-typescript": "^10.1.5",
"lodash.clone": "^4.5.0",
"lodash.clonedeep": "^4.5.0",
"lodash.clonedeepwith": "^4.5.0",
"lodash.flatten": "^4.4.0",
"lodash.get": "^4.4.2",
"lodash.groupby": "^4.6.0",
"lodash.merge": "^4.6.2",
"lodash.set": "^4.3.2",
"node-cache": "^5.1.2",
"pdf-lib": "1.17.1",
"pdfmake": "0.2.9",
"reflect-metadata": "^0.2.1",
"semver-lite": "0.0.6"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@markedjs/html-differ": "^3.0.4",
"@nx/esbuild": "18.0.7",
"@nx/eslint-plugin": "18.0.7",
"@nx/jest": "18.0.7",
"@nx/js": "18.0.7",
"@nx/node": "18.0.7",
"@types/debug": "^4.1.12",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/json-schema": "^7.0.15",
"@types/lodash.clone": "^4.5.9",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.clonedeepwith": "^4.5.9",
"@types/lodash.flatten": "^4.4.9",
"@types/lodash.get": "^4.4.9",
"@types/lodash.groupby": "^4.6.9",
"@types/lodash.merge": "^4.6.9",
"@types/lodash.set": "^4.3.9",
"@types/node": "18.19.21",
"@types/pdfmake": "^0.2.9",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"audit-ci": "^6.6.1",
"danger": "^11.3.1",
"esbuild": "^0.19.11",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^9.0.0",
"eslint-plugin-sonarjs": "^0.24.0",
"eslint-plugin-unused-imports": "^3.1.0",
"full-icu": "^1.5.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
"istanbul-reports": "^3.1.7",
"jest": "^29.7.0",
"jest-environment-node": "^29.7.0",
"lint-staged": "^15.2.2",
"ngx-deploy-npm": "^7.1.0",
"nx": "18.0.7",
"pdf2pic": "3.1.1",
"prettier": "^2.8.8",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.3.3",
"weak-napi": "^2.0.2",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.1",
"yargs": "^17.7.2"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint"
]
},
"workspaces": [
"packages/*"
]
}