test: add tests for schema generation

This commit is contained in:
Karl-Philipp Wulfert
2019-01-07 16:55:11 +01:00
parent e7a36635ff
commit e82f235616
4 changed files with 580 additions and 29 deletions

View File

@@ -32,22 +32,28 @@
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
"prepublishOnly": "npm run build",
"test": "mocha --require ts-node/register --ui mocha-typescript test/*.spec.ts",
"tslint": "tslint 'src/**/*.ts'"
},
"dependencies": {
"@openstapps/logger": "0.0.3",
"@types/async": "2.0.50",
"@types/chai": "4.1.7",
"@types/glob": "7.1.1",
"@types/humanize-string": "1.0.0",
"@types/mocha": "5.2.5",
"@types/mustache": "0.8.32",
"@types/node": "10.12.15",
"ajv": "6.6.2",
"async": "2.6.1",
"async-pool-native": "0.1.0",
"chai": "4.2.0",
"commander": "2.19.0",
"glob": "7.1.3",
"humanize-string": "1.0.2",
"jsonschema": "1.2.4",
"mocha": "5.2.0",
"mocha-typescript": "1.1.17",
"mustache": "3.0.1",
"ts-json-schema-generator": "0.37.1",
"ts-node": "7.0.1"