aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/sra-api/.npmignore (renamed from packages/sra/.npmignore)0
-rw-r--r--packages/sra-api/CHANGELOG.json (renamed from packages/sra/CHANGELOG.json)0
-rw-r--r--packages/sra-api/README.md (renamed from packages/sra/README.md)8
-rw-r--r--packages/sra-api/package.json (renamed from packages/sra/package.json)7
-rw-r--r--packages/sra-api/src/api.ts (renamed from packages/sra/src/api.ts)0
-rw-r--r--packages/sra-api/src/index.ts (renamed from packages/sra/src/index.ts)0
-rw-r--r--packages/sra-api/test/api_test.ts (renamed from packages/sra/test/api_test.ts)0
-rw-r--r--packages/sra-api/tsconfig.json (renamed from packages/sra/tsconfig.json)0
-rw-r--r--packages/sra-api/tslint.json (renamed from packages/sra/tslint.json)0
9 files changed, 8 insertions, 7 deletions
diff --git a/packages/sra/.npmignore b/packages/sra-api/.npmignore
index 5333847e7..5333847e7 100644
--- a/packages/sra/.npmignore
+++ b/packages/sra-api/.npmignore
diff --git a/packages/sra/CHANGELOG.json b/packages/sra-api/CHANGELOG.json
index fe51488c7..fe51488c7 100644
--- a/packages/sra/CHANGELOG.json
+++ b/packages/sra-api/CHANGELOG.json
diff --git a/packages/sra/README.md b/packages/sra-api/README.md
index a70760121..8e3486bdf 100644
--- a/packages/sra/README.md
+++ b/packages/sra-api/README.md
@@ -1,6 +1,6 @@
-## @0xproject/sra
+## @0xproject/sra-api
-Contains the Standard Relayer API swagger spec and publishes the client libs.
+Contains the Standard Relayer API swagger spec.
## Installation
@@ -29,13 +29,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/sra yarn build
+PKG=@0xproject/sra-api yarn build
```
Or continuously rebuild on change:
```bash
-PKG=@0xproject/sra yarn watch
+PKG=@0xproject/sra-api yarn watch
```
### Clean
diff --git a/packages/sra/package.json b/packages/sra-api/package.json
index cede40761..8cbe911f3 100644
--- a/packages/sra/package.json
+++ b/packages/sra-api/package.json
@@ -1,5 +1,5 @@
{
- "name": "@0xproject/sra",
+ "name": "@0xproject/sra-api",
"version": "0.0.1",
"engines": {
"node": ">=6.12"
@@ -14,7 +14,8 @@
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
- "run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit",
+ "run_mocha":
+ "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --exit",
"clean": "shx rm -rf lib test_temp scripts",
"build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts"
},
@@ -27,7 +28,7 @@
"bugs": {
"url": "https://github.com/0xProject/0x-monorepo/issues"
},
- "homepage": "https://github.com/0xProject/0x-monorepo/packages/sra/README.md",
+ "homepage": "https://github.com/0xProject/0x-monorepo/packages/sra-api/README.md",
"dependencies": {},
"devDependencies": {
"@0xproject/tslint-config": "^1.0.4",
diff --git a/packages/sra/src/api.ts b/packages/sra-api/src/api.ts
index 9043f6245..9043f6245 100644
--- a/packages/sra/src/api.ts
+++ b/packages/sra-api/src/api.ts
diff --git a/packages/sra/src/index.ts b/packages/sra-api/src/index.ts
index 4d73f3cd3..4d73f3cd3 100644
--- a/packages/sra/src/index.ts
+++ b/packages/sra-api/src/index.ts
diff --git a/packages/sra/test/api_test.ts b/packages/sra-api/test/api_test.ts
index 47353ca80..47353ca80 100644
--- a/packages/sra/test/api_test.ts
+++ b/packages/sra-api/test/api_test.ts
diff --git a/packages/sra/tsconfig.json b/packages/sra-api/tsconfig.json
index e35816553..e35816553 100644
--- a/packages/sra/tsconfig.json
+++ b/packages/sra-api/tsconfig.json
diff --git a/packages/sra/tslint.json b/packages/sra-api/tslint.json
index ffaefe83a..ffaefe83a 100644
--- a/packages/sra/tslint.json
+++ b/packages/sra-api/tslint.json