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/sol-compiler/README.md | |
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/sol-compiler/README.md')
-rw-r--r-- | packages/sol-compiler/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/sol-compiler/README.md b/packages/sol-compiler/README.md index 3a6ca130b..445aea315 100644 --- a/packages/sol-compiler/README.md +++ b/packages/sol-compiler/README.md @@ -1,4 +1,4 @@ -## @0xproject/sol-compiler +## @0x/sol-compiler Sol-compiler is a wrapper around [solc-js](https://www.npmjs.com/package/solc) that adds: @@ -15,33 +15,33 @@ Sol-compiler is a wrapper around [solc-js](https://www.npmjs.com/package/solc) t #### CLI Installation ```bash -yarn global add @0xproject/sol-compiler +yarn global add @0x/sol-compiler ``` #### API Installation ```bash -yarn add @0xproject/sol-compiler +yarn add @0x/sol-compiler ``` 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"], } ``` **Import** ```typescript -import { Compiler } from '@0xproject/sol-compiler'; +import { Compiler } from '@0x/sol-compiler'; ``` or ```javascript -var Compiler = require('@0xproject/sol-compiler').Compiler; +var Compiler = require('@0x/sol-compiler').Compiler; ``` ## Contributing @@ -69,13 +69,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/sol-compiler yarn build +PKG=@0x/sol-compiler yarn build ``` Or continuously rebuild on change: ```bash -PKG=@0xproject/sol-compiler yarn watch +PKG=@0x/sol-compiler yarn watch ``` ### Clean |