-
-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.json
108 lines (108 loc) · 3.48 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
{
"name": "@asyncapi/markdown-template",
"version": "1.6.6",
"description": "Markdown template for the AsyncAPI generator.",
"keywords": [
"asyncapi",
"generator",
"markdown",
"template"
],
"author": "Fran Mendez <[email protected]> (fmvilas.com)",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/markdown-template.git"
},
"bugs": {
"url": "https://github.com/asyncapi/markdown-template/issues"
},
"homepage": "https://github.com/asyncapi/markdown-template#readme",
"scripts": {
"start": "npm run test:generator:v2",
"test": "npm run test:library && npm run test:generator",
"test:library": "jest --coverage",
"test:generator": "npm run test:generator:v2 && npm run test:generator:v3",
"test:generator:v2": "asyncapi generate fromTemplate ./test/spec/asyncapi_v2.yml ./ -o test/output --force-write",
"test:generator:v3": "asyncapi generate fromTemplate ./test/spec/asyncapi_v3.yml ./ -o test/output --force-write",
"dev": "asyncapi generate fromTemplate ./test/spec/asyncapi_v2.yml ./ -o test/output --force-write --watch-template",
"lint": "eslint --max-warnings 0 --config \".eslintrc\" \".\"",
"lint:fix": "eslint --max-warnings 0 --config \".eslintrc\" \".\" --fix",
"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-react-sdk": "^1.1.2",
"openapi-sampler": "^1.3.0",
"yaml": "^1.10.2"
},
"devDependencies": {
"@asyncapi/cli": "^2.8.0",
"@asyncapi/parser": "^3.1.0",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@types/react": "^18.2.18",
"@types/react-dom": "^18.2.7",
"eslint": "^8.7.0",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-react": "7.28.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.11.0",
"jest": "^27.2.5",
"markdown-toc": "^1.2.0"
},
"generator": {
"renderer": "react",
"apiVersion": "v3",
"generator": ">=1.15.0 <2.0.0",
"parameters": {
"frontMatter": {
"description": "The name of a JSON or YAML formatted file containing values to provide the YAML frontmatter for static-site or documentation generators. The file may contain {{title}} and {{version}} replaceable tags.",
"required": false
},
"outFilename": {
"description": "The name of the output markdown file",
"default": "asyncapi.md",
"required": false
},
"toc": {
"description": "Include a Table-of-Contents in the output markdown.",
"default": "true",
"required": false
},
"version": {
"description": "Override the version of your application provided under `info.version` location in the specification file.",
"required": false
}
}
},
"babel": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"jsx"
],
"setupFilesAfterEnv": [
"./test/setupTests.js"
],
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1"
}
}
}