aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/contract-wrappers/package.json6
-rw-r--r--packages/contract-wrappers/src/artifacts.ts18
-rw-r--r--packages/contract-wrappers/src/artifacts/DummyERC20Token.json (renamed from packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/DummyERC721Token.json (renamed from packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/ERC20Proxy.json (renamed from packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/ERC20Token.json (renamed from packages/contract-wrappers/src/compact_artifacts/ERC20Token.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/ERC721Proxy.json (renamed from packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/ERC721Token.json (renamed from packages/contract-wrappers/src/compact_artifacts/ERC721Token.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/Exchange.json (renamed from packages/contract-wrappers/src/compact_artifacts/Exchange.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/WETH9.json (renamed from packages/contract-wrappers/src/compact_artifacts/WETH9.json)0
-rw-r--r--packages/contract-wrappers/src/artifacts/ZRXToken.json (renamed from packages/contract-wrappers/src/compact_artifacts/ZRXToken.json)0
11 files changed, 12 insertions, 12 deletions
diff --git a/packages/contract-wrappers/package.json b/packages/contract-wrappers/package.json
index 075cd2fe1..8c65c8cca 100644
--- a/packages/contract-wrappers/package.json
+++ b/packages/contract-wrappers/package.json
@@ -13,15 +13,15 @@
"scripts": {
"watch_without_deps": "yarn pre_build && tsc -w",
"build": "yarn pre_build && tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
- "pre_build": "run-s generate_contract_wrappers update_compact_artifacts",
- "generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|DummyERC20Token|DummyERC721Token|ZRXToken|ERC20Token|ERC721Token|WETH9|ERC20Proxy|ERC721Proxy).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers",
+ "pre_build": "run-s generate_contract_wrappers update_artifacts",
+ "generate_contract_wrappers": "abi-gen --abis 'src/artifacts/@(Exchange|DummyERC20Token|DummyERC721Token|ZRXToken|ERC20Token|ERC721Token|WETH9|ERC20Proxy|ERC721Proxy).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers",
"lint": "tslint --project . --exclude **/src/contract_wrappers/**/* --exclude **/lib/**/*",
"test:circleci": "run-s test:coverage",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
- "update_compact_artifacts": "copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts",
+ "update_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts",
"clean": "shx rm -rf _bundles lib test_temp scripts test/artifacts src/contract_wrappers/generated",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
"manual:postpublish": "yarn build; node ./scripts/postpublish.js"
diff --git a/packages/contract-wrappers/src/artifacts.ts b/packages/contract-wrappers/src/artifacts.ts
index e5daa73be..742d0e1b2 100644
--- a/packages/contract-wrappers/src/artifacts.ts
+++ b/packages/contract-wrappers/src/artifacts.ts
@@ -1,14 +1,14 @@
import { ContractArtifact } from '@0xproject/sol-compiler';
-import * as DummyERC20Token from './compact_artifacts/DummyERC20Token.json';
-import * as DummyERC721Token from './compact_artifacts/DummyERC721Token.json';
-import * as ERC20Proxy from './compact_artifacts/ERC20Proxy.json';
-import * as ERC20Token from './compact_artifacts/ERC20Token.json';
-import * as ERC721Proxy from './compact_artifacts/ERC721Proxy.json';
-import * as ERC721Token from './compact_artifacts/ERC721Token.json';
-import * as Exchange from './compact_artifacts/Exchange.json';
-import * as EtherToken from './compact_artifacts/WETH9.json';
-import * as ZRXToken from './compact_artifacts/ZRXToken.json';
+import * as DummyERC20Token from './artifacts/DummyERC20Token.json';
+import * as DummyERC721Token from './artifacts/DummyERC721Token.json';
+import * as ERC20Proxy from './artifacts/ERC20Proxy.json';
+import * as ERC20Token from './artifacts/ERC20Token.json';
+import * as ERC721Proxy from './artifacts/ERC721Proxy.json';
+import * as ERC721Token from './artifacts/ERC721Token.json';
+import * as Exchange from './artifacts/Exchange.json';
+import * as EtherToken from './artifacts/WETH9.json';
+import * as ZRXToken from './artifacts/ZRXToken.json';
export const artifacts = {
ZRXToken: (ZRXToken as any) as ContractArtifact,
diff --git a/packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json b/packages/contract-wrappers/src/artifacts/DummyERC20Token.json
index 0fe22d7f9..0fe22d7f9 100644
--- a/packages/contract-wrappers/src/compact_artifacts/DummyERC20Token.json
+++ b/packages/contract-wrappers/src/artifacts/DummyERC20Token.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json b/packages/contract-wrappers/src/artifacts/DummyERC721Token.json
index 4a75b9aaf..4a75b9aaf 100644
--- a/packages/contract-wrappers/src/compact_artifacts/DummyERC721Token.json
+++ b/packages/contract-wrappers/src/artifacts/DummyERC721Token.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json b/packages/contract-wrappers/src/artifacts/ERC20Proxy.json
index 82a08e23d..82a08e23d 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC20Proxy.json
+++ b/packages/contract-wrappers/src/artifacts/ERC20Proxy.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC20Token.json b/packages/contract-wrappers/src/artifacts/ERC20Token.json
index 46f18b4e5..46f18b4e5 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC20Token.json
+++ b/packages/contract-wrappers/src/artifacts/ERC20Token.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json b/packages/contract-wrappers/src/artifacts/ERC721Proxy.json
index a31f5b858..a31f5b858 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC721Proxy.json
+++ b/packages/contract-wrappers/src/artifacts/ERC721Proxy.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/ERC721Token.json b/packages/contract-wrappers/src/artifacts/ERC721Token.json
index d3208e197..d3208e197 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ERC721Token.json
+++ b/packages/contract-wrappers/src/artifacts/ERC721Token.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/Exchange.json b/packages/contract-wrappers/src/artifacts/Exchange.json
index 7d0bac63a..7d0bac63a 100644
--- a/packages/contract-wrappers/src/compact_artifacts/Exchange.json
+++ b/packages/contract-wrappers/src/artifacts/Exchange.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/WETH9.json b/packages/contract-wrappers/src/artifacts/WETH9.json
index ba2c6372c..ba2c6372c 100644
--- a/packages/contract-wrappers/src/compact_artifacts/WETH9.json
+++ b/packages/contract-wrappers/src/artifacts/WETH9.json
diff --git a/packages/contract-wrappers/src/compact_artifacts/ZRXToken.json b/packages/contract-wrappers/src/artifacts/ZRXToken.json
index bb574be7c..bb574be7c 100644
--- a/packages/contract-wrappers/src/compact_artifacts/ZRXToken.json
+++ b/packages/contract-wrappers/src/artifacts/ZRXToken.json