-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
98 lines (98 loc) · 3.07 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
{
"name": "@asyncapi/nodejs-template",
"version": "3.0.4",
"description": "Node.js template for the AsyncAPI generator.",
"keywords": [
"asyncapi",
"generator",
"nodejs",
"template"
],
"author": "Fran Mendez <fmvilas@gmail.com> (fmvilas.com)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/nodejs-template.git"
},
"bugs": {
"url": "https://github.com/asyncapi/nodejs-template/issues"
},
"homepage": "https://github.com/asyncapi/nodejs-template#readme",
"scripts": {
"test": "rimraf test/temp && jest --modulePathIgnorePatterns='./template'",
"test:updateSnapshot": "rimraf test/temp && jest --updateSnapshot --modulePathIgnorePatterns='./template'",
"test:example": "node test/example/script.js",
"lint": "eslint --max-warnings 0 --config .eslintrc .",
"lint:fix": "eslint --fix --config .eslintrc .",
"generate:assets": "npm run generate:readme:toc",
"generate:readme:toc": "markdown-toc -i README.md",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@asyncapi/generator-filters": "^2.1.0",
"@asyncapi/generator-hooks": "^0.1.0",
"@asyncapi/generator-react-sdk": "^1.1.2",
"eslint-plugin-react": "^7.34.1",
"filenamify": "^4.3.0",
"js-beautify": "^1.15.1",
"lodash": "^4.17.21",
"markdown-toc": "^1.2.0"
},
"devDependencies": {
"@asyncapi/generator": "^1.17.25",
"eslint": "^8.57.0",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-sonarjs": "^0.11.0",
"jest": "^27.5.1",
"node-fetch": "^2.7.0",
"rimraf": "^5.0.5"
},
"generator": {
"apiVersion": "v3",
"supportedProtocols": [
"amqp",
"mqtt",
"mqtts",
"kafka",
"kafka-secure",
"ws"
],
"renderer": "react",
"parameters": {
"server": {
"description": "The server you want to use in the code.",
"required": true
},
"asyncapiFileDir": {
"description": "Custom location of the AsyncAPI file that you provided as an input in generation. By default it is located in the root of the output directory"
},
"securityScheme": {
"description": "Name of the security scheme. Only scheme with X509 and Kafka protocol is supported for now."
},
"certFilesDir": {
"description": "Directory where application certificates are located. This parameter is needed when you use X509 security scheme and your cert files are not located in the root of your application.",
"default": "./"
}
},
"nonRenderableFiles": [
"src/api/middlewares/*.*",
"src/lib/*.*"
],
"generator": ">=0.50.0 <2.0.0",
"filters": [
"@asyncapi/generator-filters"
],
"hooks": {
"@asyncapi/generator-hooks": "createAsyncapiFile"
}
},
"jest": {
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1"
}
}
}