generated from asyncapi/template-for-generator-templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
123 lines (123 loc) · 4.12 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
{
"name": "template-for-generator-templates",
"version": "0.0.1",
"description": "Template for generator templates to make it much easier to start writing your own generator template",
"main": "index.js",
"scripts": {
"test": "npm run testTemplate && npm run testHooks && npm run testFilters",
"testTemplate": "rimraf test/temp && jest --coverage -t 'templateGenerationResult'",
"testHooks": "rimraf test/temp && jest --coverage -t 'generateExtraFormats'",
"testFilters": "rimraf test/temp && jest --coverage -t 'generateMermaidDiagram'",
"release": "echo 'We do not trigger releases for this template. Normally this script should invoke \"semantic-release\"'",
"lint": "eslint --max-warnings 0 --fix --config .eslintrc .",
"generate:readme:toc": "markdown-toc -i README.md",
"generate:assets": "npm run generate:readme:toc",
"bump:version": "echo 'We do not trigger releases for this template. Normally this script should invoke \"npm --no-git-tag-version --allow-same-version version $VERSION\"'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asyncapi/template-for-generator-templates.git"
},
"keywords": [
"asyncapi",
"generator",
"template"
],
"author": "Lukasz Gornicki <lpgornicki@gmail.com> (https://github.com/derberg/)",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/asyncapi/template-for-generator-templates/issues"
},
"homepage": "https://github.com/asyncapi/template-for-generator-templates#readme",
"dependencies": {
"@asyncapi/generator-filters": "^2.1.0",
"@asyncapi/generator-hooks": "^0.1.0",
"@asyncapi/generator-react-sdk": "^0.2.16",
"puppeteer": "^5.2.1"
},
"release": {
"branches": [
"master"
],
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
"@semantic-release/npm",
"@semantic-release/github"
]
},
"generator": {
"renderer": "react",
"parameters": {
"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"
},
"pdf": {
"description": "Set to `true` to get index.pdf generated next to your index.html",
"default": false
},
"png": {
"description": "Set to `true` to get index.png generated next to your index.html",
"default": false
},
"svg": {
"description": "Set to `true` to get index.svg generated next to your index.html",
"default": false
},
"maxTextSize": {
"description": "It is possible that in case of an extremely large AsyncAPI document default mermaid recommended text size will not be enough. Then you need to explicitly make it larger",
"default": 50000
}
},
"nonRenderableFiles": [
"style.css",
"sample.gif"
],
"generator": ">=1.3.0 <2.0.0",
"hooks": {
"@asyncapi/generator-hooks": "createAsyncapiFile"
}
},
"devDependencies": {
"@asyncapi/generator": "^1.8.14",
"@asyncapi/parser": "^1.10.0",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/github": "^7.0.7",
"@semantic-release/npm": "^7.0.5",
"@semantic-release/release-notes-generator": "^9.0.1",
"all-contributors-cli": "^6.19.0",
"conventional-changelog-conventionalcommits": "^4.4.0",
"eslint": "^7.7.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.5.0",
"jest": "^26.4.2",
"jest-esm-transformer": "^1.0.0",
"markdown-toc": "^1.2.0",
"rimraf": "^3.0.2",
"semantic-release": "^17.1.1"
},
"jest": {
"transform": {
"\\.m?jsx?$": "jest-esm-transformer"
},
"collectCoverageFrom": [
"{filters,hooks}/**/*.js",
"!hooks/generateExtraFormats.js"
]
}
}