@asyncapi/generator
Version:
The AsyncAPI generator. It can generate documentation, code, anything!
24 lines • 1.61 kB
JSON
{
"description": "Test project. More info in the readme.",
"scripts": {
"test": "npm run test:cleanup && npm run test:project && npm run test:global && npm run test:registry",
"test:project:A": "jest --testNamePattern='Test A' --detectOpenHandles --testPathPattern=test-project/test-project --modulePathIgnorePatterns='./__mocks__'",
"test:project:B": "jest --testNamePattern='Test B' --detectOpenHandles --testPathPattern=test-project/test-project --modulePathIgnorePatterns='./__mocks__'",
"test:project:C": "jest --testNamePattern='Test C' --detectOpenHandles --testPathPattern=test-project/test-project --modulePathIgnorePatterns='./__mocks__'",
"test:global": "jest --detectOpenHandles --testPathPattern=test-global --modulePathIgnorePatterns='./__mocks__'",
"test:registry:arg": "jest --testNamePattern='argument' --detectOpenHandles --testPathPattern=test-registry --modulePathIgnorePatterns='./__mocks__'",
"test:registry:npm-config": "jest --testNamePattern='npm config' --detectOpenHandles --testPathPattern=test-registry --modulePathIgnorePatterns='./__mocks__'",
"test:cleanup": "rimraf \"../temp\""
},
"devDependencies": {
"jest": "28.1.3",
"rimraf": "3.0.2"
},
"jest": {
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/../../../../node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/../../../../node_modules/nimma/dist/cjs/$1",
"^@asyncapi/nunjucks-filters$": "<rootDir>/../../../nunjucks-filters"
}
}
}