-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
30 lines (29 loc) · 957 Bytes
/
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
{
"name": "python-mqtt-client-template",
"version": "0.0.1",
"description": "A template that generates a Python MQTT client using MQTT.",
"generator": {
"renderer": "react",
"apiVersion": "v1",
"generator": ">=1.10.0 <2.0.0",
"supportedProtocols": ["mqtt"],
"parameters": {
"server": {
"description": "The server you want to use in the code.",
"required": true
}
}
},
"dependencies": {
"@asyncapi/generator-react-sdk": "^0.2.25"
},
"devDependencies": {
"rimraf": "^5.0.0"
},
"scripts": {
"test:clean": "rimraf test/project/client.py",
"test:generate": "asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev",
"test:start": "python test/project/test.py",
"test": "npm run test:clean && npm run test:generate && npm run test:start"
}
}