aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sol-resolver
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 21:46:33 +0800
committerGitHub <noreply@github.com>2018-10-18 21:46:33 +0800
commit4b95e3d6848832a06fde54b29d41d99b2a52f6ec (patch)
tree88801e5747f905b31060ebe3af7cc42a11878c34 /packages/sol-resolver
parent9e8bca69a8a1d3570e30a28f150c0bec3848a760 (diff)
parent392d3394438fdadf4e3b4201c493e3a2921d8380 (diff)
downloaddexon-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-resolver')
-rw-r--r--packages/sol-resolver/README.md12
-rw-r--r--packages/sol-resolver/package.json8
-rw-r--r--packages/sol-resolver/tslint.json2
3 files changed, 11 insertions, 11 deletions
diff --git a/packages/sol-resolver/README.md b/packages/sol-resolver/README.md
index 8487947f0..2ab336bc9 100644
--- a/packages/sol-resolver/README.md
+++ b/packages/sol-resolver/README.md
@@ -1,23 +1,23 @@
-## @0xproject/sol-resolver
+## @0x/sol-resolver
A Solidity import resolver used by [sol-compiler](https://github.com/0xProject/0x-monorepo/tree/development/packages/sol-compiler).
## Installation
```bash
-yarn add @0xproject/sol-resolver
+yarn add @0x/sol-resolver
```
**Import**
```javascript
-import { Resolver } from '@0xproject/sol-resolver';
+import { Resolver } from '@0x/sol-resolver';
```
or
```javascript
-var Resolver = require('@0xproject/sol-resolver').Resolver;
+var Resolver = require('@0x/sol-resolver').Resolver;
```
## Contributing
@@ -45,13 +45,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-resolver yarn build
+PKG=@0x/sol-resolver yarn build
```
Or continuously rebuild on change:
```bash
-PKG=@0xproject/sol-resolver yarn watch
+PKG=@0x/sol-resolver yarn watch
```
### Clean
diff --git a/packages/sol-resolver/package.json b/packages/sol-resolver/package.json
index 2c86d556a..a8df0f750 100644
--- a/packages/sol-resolver/package.json
+++ b/packages/sol-resolver/package.json
@@ -1,5 +1,5 @@
{
- "name": "@0xproject/sol-resolver",
+ "name": "@0x/sol-resolver",
"version": "1.0.14",
"engines": {
"node": ">=6.12"
@@ -23,15 +23,15 @@
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/resolver/README.md",
"devDependencies": {
- "@0xproject/tslint-config": "^1.0.8",
+ "@0x/tslint-config": "^1.0.8",
"make-promises-safe": "^1.1.0",
"shx": "^0.2.2",
"tslint": "5.11.0",
"typescript": "3.0.1"
},
"dependencies": {
- "@0xproject/types": "^1.1.4",
- "@0xproject/typescript-typings": "^3.0.2",
+ "@0x/types": "^1.1.4",
+ "@0x/typescript-typings": "^3.0.2",
"lodash": "^4.17.5"
},
"publishConfig": {
diff --git a/packages/sol-resolver/tslint.json b/packages/sol-resolver/tslint.json
index ffaefe83a..dd9053357 100644
--- a/packages/sol-resolver/tslint.json
+++ b/packages/sol-resolver/tslint.json
@@ -1,3 +1,3 @@
{
- "extends": ["@0xproject/tslint-config"]
+ "extends": ["@0x/tslint-config"]
}