Skip to content

Commit

Permalink
feat: move configuration to package.json (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg committed May 22, 2020
1 parent 65344a5 commit 65c0a18
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .tp-config.json

This file was deleted.

19 changes: 19 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,24 @@
"@semantic-release/npm",
"@semantic-release/github"
]
},
"generator": {
"supportedProtocols": ["ws"],
"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"
}
},
"generator": ">=0.50.0 <2.0.0",
"filters": [
"@asyncapi/generator-filters"
],
"hooks": {
"@asyncapi/generator-hooks": "createAsyncapiFile"
}
}
}

0 comments on commit 65c0a18

Please sign in to comment.