Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split up schema and add C8 JSON Schema #41

Merged
merged 6 commits into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,34 @@ You can also use a specific version.

Additionally, it's possible to use the schema on top of existing validation libraries and tools. Follow the [example](./example) for further instructions.


## Build and Run

Prepare the project by installing all dependencies:

```sh
npm install
```

Then, depending on your use case, bundle [the source schema files](./src) together

```sh
# bundle all schema files
npm run build

# bundle platform schema
npm run build:platform

# bundle cloud schema
npm run build:cloud
```

Furthermore, execute the following command to run the generated schema against our tests

```sh
npm run test
```

## License

MIT
Expand Down
Loading