-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 4.91 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
{
"name": "@the-codegen-project/cli",
"description": "CLI to work with code generation in any environment",
"version": "0.25.0",
"bin": {
"codegen": "./bin/run.mjs"
},
"bugs": "https://github.com/the-codegen-project/cli/issues",
"dependencies": {
"@asyncapi/avro-schema-parser": "^3.0.22",
"@asyncapi/modelina": "^4.0.0-next.58",
"@asyncapi/openapi-schema-parser": "^3.0.22",
"@asyncapi/parser": "^3.0.14",
"@asyncapi/protobuf-schema-parser": "^3.2.12",
"@asyncapi/raml-dt-schema-parser": "^4.0.22",
"@oclif/core": "^3.26.3",
"@oclif/errors": "^1.3.6",
"@oclif/plugin-autocomplete": "^3.0.16",
"@oclif/plugin-help": "^6.0.21",
"@oclif/plugin-version": "^2.0.17",
"cosmiconfig": "^9.0.0",
"graphology": "^0.25.4",
"inquirer": "^8.2.6",
"yaml": "^2.4.5",
"zod": "^3.23.8",
"zod-validation-error": "^3.3.0"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@oclif/prettier-config": "^0.2.1",
"@oclif/test": "^4.0.2",
"@swc/jest": "^0.2.23",
"@types/inquirer": "^9.0.7",
"@types/jest": "^29.5.12",
"@types/node": "^18",
"@types/rimraf": "^4.0.5",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"concurrently": "^9.0.1",
"eslint": "^8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-github": "^4.10.1",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unused-imports": "^3.0.0",
"graphology-types": "^0.24.7",
"markdown-toc": "1.2.0",
"oclif": "^4.8.5",
"rimraf": "^5.0.5",
"simple-git": "^3.16.0",
"ts-jest": "^29.1.3",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"zod-to-json-schema": "^3.23.0"
},
"files": [
"/bin",
"/dist",
"/npm-shrinkwrap.json",
"/oclif.manifest.json"
],
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"homepage": "https://github.com/the-codegen-project/cli",
"keywords": [
"codegen",
"cli",
"codegen-cli"
],
"license": "Apache-2.0",
"oclif": {
"commands": "./dist/commands",
"bin": "codegen",
"plugins": [
"@oclif/plugin-help",
"@oclif/plugin-autocomplete",
"@oclif/plugin-version"
],
"topicSeparator": " ",
"macos": {
"identifier": "the.codegen.project"
}
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git://github.com/the-codegen-project/cli.git"
},
"scripts": {
"build": "rimraf dist && tsc && oclif manifest && echo \"Build Completed\"",
"dev": "tsc --watch",
"generate:readme:commands": "oclif readme --readme-path=\"./docs/usage.md\" --output-dir=\"./docs\"",
"generate:assets": "npm run generate:readme:toc && npm run generate:commands && npm run generate:schema && npm run format",
"generate:schema": "node scripts/generateSchemaFiles.js",
"generate:commands": "npm run generate:readme:commands",
"generate:readme:toc": "markdown-toc -i README.md && markdown-toc -i ./docs/usage.md && markdown-toc -i ./docs/README.md && markdown-toc -i ./docs/contributing.md ",
"lint": "eslint --max-warnings 0 --config .eslintrc .",
"lint:fix": "npm run lint -- --fix",
"format": "prettier \"./src/**/*.ts\" --write",
"pack:all": "npm run pack:macos && npm run pack:linux && npm run pack:tarballs && npm run pack:windows",
"pack:macos": "oclif pack macos && npm run pack:rename",
"pack:linux": "oclif pack deb && npm run pack:rename",
"pack:tarballs": "oclif pack tarballs -t linux-x64 && npm run pack:rename",
"pack:windows": "oclif pack win && npm run pack:rename",
"pack:rename": "node scripts/releasePackagesRename.js",
"prepublishOnly": "npm run build && npm run generate:assets",
"test": "jest --coverage --testPathIgnorePatterns ./test/blackbox",
"coverage": "nyc npm run test",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION",
"runtime:prepare": "npm link",
"runtime:typescript": "npm run runtime:typescript:setup && npm run runtime:typescript:test",
"runtime:typescript:setup": "npm run runtime:prepare && npm run runtime:services:start && cd test/runtime/typescript && npm ci && npm run generate",
"runtime:typescript:test": "cd test/runtime/typescript && npm run test",
"runtime:services:start": "npm run runtime:nats:start",
"runtime:services:stop": "npm run runtime:nats:stop",
"runtime:nats:start": "cd test/runtime && docker compose -f ./docker-compose-nats.yml up -d",
"runtime:nats:stop": "cd test/runtime && docker compose -f ./docker-compose-nats.yml down",
"test:blackbox": "concurrently --group -n typescript \"npm run test:blackbox:typescript\"",
"test:blackbox:typescript": "cross-env CI=true jest ./test/blackbox/typescript.spec.ts"
},
"engines": {
"node": ">=18.0.0"
}
}