-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
39 lines (39 loc) · 1.36 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
{
"name": "python-mqtt-client-template",
"version": "0.0.1",
"generator": {
"apiVersion": "v3",
"generator": ">=1.10.0 <3.0.0",
"renderer": "react",
"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": {
"@asyncapi/generator": "^2.0.3",
"jest": "^27.5.1"
},
"jest": {
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1"
}
},
"scripts": {
"test:snapshot": "jest --modulePathIgnorePatterns='./template'",
"test:clean": "npx rimraf@5.0.0 test/project/client.py test/project/requirements.txt test/IntegrationSnaps",
"test:generate": "npx -p @asyncapi/cli@1.6.3 asyncapi generate fromTemplate test/fixtures/asyncapi.yml ./ --output test/project --force-write --param server=dev",
"test:start": "python test/project/test.py",
"test:example": "npm run test:clean && npm run test:generate && npm run test:start",
"test": "npm run test:snapshot -- -u"
}
}