-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1662 from concord-consortium/188614511-updated-v2…
…-types Update the types to match some docs in cfm-shared
- Loading branch information
Showing
20 changed files
with
3,956 additions
and
145 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "v2-support", | ||
"description": "scripts for analyzing v2 files", | ||
"scripts": { | ||
"generate:schema": "ts-json-schema-generator --unstable --additional-properties --path '../../src/**/*.ts' --type 'ICodapV2DocumentJson' --no-type-check -o v2-schema.json", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"validate": "ajv validate --verbose --errors=js --inline-refs=false --allow-union-types -s v2-schema.json -d", | ||
"generate-and-validate": "npm-run-all generate:schema \"validate -- {1}\" --" | ||
}, | ||
"dependencies": { | ||
"ajv-cli": "^5.0.0", | ||
"jsonschema": "^1.4.1", | ||
"ts-json-schema-generator": "^2.3.0" | ||
} | ||
} |
Oops, something went wrong.