Skip to content

Commit

Permalink
start work on package rename
Browse files Browse the repository at this point in the history
  • Loading branch information
JDziurlaj committed Oct 11, 2018
1 parent 636e9db commit ff42e40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# json-vri-validator
# semval

Demonstrates how NIST 1500 CDF JSON instances can be validated by the use of OCL invariants.

Expand Down Expand Up @@ -69,7 +69,7 @@ The validator uses the [https://github.com/SteKoe/ocl.js](ocl.js) engine to vali

### Testing a set of instances

using the `--mutiple` flag will allow you to test a set of JSON instances in a single file. The file must be in the form of:
using the `--multiple` flag will allow you to test a set of JSON instances in a single file. The file must be in the form of:

```typescript
{
Expand Down
3 changes: 3 additions & 0 deletions bin/semval
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require("../dist");
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "json-vri-validator",
"version": "1.0.0",
"description": "Validates a JSON instance of the Voter Records Interchange Format",
"main": "index.js",
"name": "semval",
"version": "0.1.0",
"description": "Validates JSON instances using Object Constraint Language",
"main": "./dist/index.js",
"scripts": {
"compile": "tsc -p .",
"build": "npm run compile",
Expand Down

0 comments on commit ff42e40

Please sign in to comment.