chore: change README.md from 0xproject to 0x
This commit is contained in:
@@ -9,20 +9,20 @@ An order watcher daemon that watches for order validity.
|
||||
**Install**
|
||||
|
||||
```bash
|
||||
npm install @0xproject/order-watcher --save
|
||||
npm install @0x/order-watcher --save
|
||||
```
|
||||
|
||||
**Import**
|
||||
|
||||
```javascript
|
||||
import { OrderWatcher } from '@0xproject/order-watcher';
|
||||
import { OrderWatcher } from '@0x/order-watcher';
|
||||
```
|
||||
|
||||
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"],
|
||||
}
|
||||
```
|
||||
|
||||
@@ -51,13 +51,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/order-watcher yarn build
|
||||
PKG=@0x/order-watcher yarn build
|
||||
```
|
||||
|
||||
Or continuously rebuild on change:
|
||||
|
||||
```bash
|
||||
PKG=@0xproject/order-watcher yarn watch
|
||||
PKG=@0x/order-watcher yarn watch
|
||||
```
|
||||
|
||||
### Clean
|
||||
|
||||
Reference in New Issue
Block a user