diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-10-18 21:46:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-18 21:46:33 +0800 |
commit | 4b95e3d6848832a06fde54b29d41d99b2a52f6ec (patch) | |
tree | 88801e5747f905b31060ebe3af7cc42a11878c34 /packages/typescript-typings | |
parent | 9e8bca69a8a1d3570e30a28f150c0bec3848a760 (diff) | |
parent | 392d3394438fdadf4e3b4201c493e3a2921d8380 (diff) | |
download | dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.gz dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.bz2 dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.lz dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.xz dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.zst dexon-sol-tools-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.zip |
Merge pull request #1156 from 0xProject/feature/0x/npm-domain
Move package org from 0xproject to 0x
Diffstat (limited to 'packages/typescript-typings')
-rw-r--r-- | packages/typescript-typings/README.md | 10 | ||||
-rw-r--r-- | packages/typescript-typings/package.json | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packages/typescript-typings/README.md b/packages/typescript-typings/README.md index 439cb6484..e3b4c044f 100644 --- a/packages/typescript-typings/README.md +++ b/packages/typescript-typings/README.md @@ -1,11 +1,11 @@ -## @0xproject/typescript-typings +## @0x/typescript-typings Type repository for external packages used by 0x. This is like our small version of [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) ## Installation ```bash -yarn add -D @0xproject/typescript-typings +yarn add -D @0x/typescript-typings ``` ## Usage @@ -13,7 +13,7 @@ yarn add -D @0xproject/typescript-typings Add the following line within an `compilerOptions` section of your `tsconfig.json` ```json -"typeRoots": ["node_modules/@0xproject/typescript-typings/types", "node_modules/@types"] +"typeRoots": ["node_modules/@0x/typescript-typings/types", "node_modules/@types"] ``` This will allow the TS compiler to first look into that repo and then fallback to DT types. @@ -43,13 +43,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/typescript-typings yarn build +PKG=@0x/typescript-typings yarn build ``` Or continuously rebuild on change: ```bash -PKG=@0xproject/typescript-typings yarn watch +PKG=@0x/typescript-typings yarn watch ``` ### Clean diff --git a/packages/typescript-typings/package.json b/packages/typescript-typings/package.json index e03d78d51..77115cc03 100644 --- a/packages/typescript-typings/package.json +++ b/packages/typescript-typings/package.json @@ -1,5 +1,5 @@ { - "name": "@0xproject/typescript-typings", + "name": "@0x/typescript-typings", "version": "3.0.2", "engines": { "node": ">=6.12" |