Add clean-state tests

This commit is contained in:
Leonid Logvinov
2018-03-26 13:00:56 +02:00
parent 26e9696ddb
commit a2e4aaa9a3
101 changed files with 1696 additions and 1378 deletions

View File

@@ -12,8 +12,8 @@ yarn add @0xproject/json-schemas
**Import**
```javascript
import { schemas } from '@0xproject/json-schemas';
```typescript
import { SchemaValidator, ValidatorResult, schemas } from '@0xproject/json-schemas';
```
or
@@ -22,6 +22,14 @@ or
var schemas = require('@0xproject/json-schemas').schemas;
```
If your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:
```json
"compilerOptions": {
"typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"],
}
```
## Contributing
We strongly encourage that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository.