aboutsummaryrefslogtreecommitdiffstats
path: root/packages/json-schemas
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-10-18 19:03:47 +0800
committerJacob Evans <jacob@dekz.net>2018-10-18 19:30:09 +0800
commit2735fb4fa6901dc528aea5f642512c161b842efd (patch)
treee2fe194b2f8b627f89589c332c2d894027682062 /packages/json-schemas
parent88c929a408d17d8d1f4604187f8b1b04e94dab73 (diff)
downloaddexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar.gz
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar.bz2
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar.lz
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar.xz
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.tar.zst
dexon-0x-contracts-2735fb4fa6901dc528aea5f642512c161b842efd.zip
chore: change README.md from 0xproject to 0x
Diffstat (limited to 'packages/json-schemas')
-rw-r--r--packages/json-schemas/README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/json-schemas/README.md b/packages/json-schemas/README.md
index ab57833be..f50382f4b 100644
--- a/packages/json-schemas/README.md
+++ b/packages/json-schemas/README.md
@@ -1,4 +1,4 @@
-## @0xproject/json-schemas
+## @0x/json-schemas
Contains 0x-related json schemas
@@ -7,26 +7,26 @@ Contains 0x-related json schemas
## Installation
```bash
-yarn add @0xproject/json-schemas
+yarn add @0x/json-schemas
```
**Import**
```typescript
-import { SchemaValidator, ValidatorResult, schemas } from '@0xproject/json-schemas';
+import { SchemaValidator, ValidatorResult, schemas } from '@0x/json-schemas';
```
or
```javascript
-var schemas = require('@0xproject/json-schemas').schemas;
+var schemas = require('@0x/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"],
+ "typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"],
}
```
@@ -55,13 +55,13 @@ yarn install
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
```bash
-PKG=@0xproject/json-schemas yarn build
+PKG=@0x/json-schemas yarn build
```
Or continuously rebuild on change:
```bash
-PKG=@0xproject/json-schemas yarn watch
+PKG=@0x/json-schemas yarn watch
```
### Clean