I didn't add ajv as an optional dependency to package.json because currently supported properties of it serve different purposes.
optionalDependencies - installs deps any way;
peerDependencies - is used to specify with which "parent"-package the lib works.
Fixes #55: Validate JSON Schema output of dt2js
I didn't add
ajv
as an optional dependency topackage.json
because currently supported properties of it serve different purposes.optionalDependencies
- installs deps any way;peerDependencies
- is used to specify with which "parent"-package the lib works.