aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-09-20 01:51:12 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 06:23:29 +0800
commitcd73a047efbc1b7afa884ef27a1cc4991e20efd8 (patch)
tree4355fd034ec22a5e5412aca1876ee09a9d848eb4 /packages/pipeline/package.json
parent57e7119c0d4f1ab7dd1d4c0118e72dc1706e2151 (diff)
downloaddexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.gz
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.bz2
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.lz
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.xz
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.tar.zst
dexon-sol-tools-cd73a047efbc1b7afa884ef27a1cc4991e20efd8.zip
Remove old code. Create function for getting contract events via etherscan
Diffstat (limited to 'packages/pipeline/package.json')
-rw-r--r--packages/pipeline/package.json45
1 files changed, 19 insertions, 26 deletions
diff --git a/packages/pipeline/package.json b/packages/pipeline/package.json
index 9d47f69f3..b4ed33d8d 100644
--- a/packages/pipeline/package.json
+++ b/packages/pipeline/package.json
@@ -4,49 +4,42 @@
"private": true,
"description": "Data pipeline for offline analysis",
"scripts": {
- "build": "yarn tsc -b",
+ "build": "yarn pre_build && tsc -b",
+ "pre_build": "run-s update_artifacts copy_artifacts",
+ "copy_artifacts": "copyfiles -u 2 './src/artifacts/**/*.json' ./lib/src/artifacts",
+ "update_artifacts": "for i in ${npm_package_config_contracts_v2}; do copyfiles -u 4 ../migrations/artifacts/2.0.0/$i.json src/artifacts; done;",
"test": "yarn run_mocha",
"rebuild_and_test": "run-s build test",
"test:circleci": "yarn test:coverage",
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe lib/test/**/*_test.js --bail --exit",
"test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
- "clean": "shx rm -rf lib",
+ "clean": "shx rm -rf lib src/artifacts",
"lint": "tslint --project . --exclude **/src/generated_contract_wrappers/**/*"
},
+ "config": {
+ "contracts_v2": "Exchange",
+ "postpublish": {
+ "assets": []
+ }
+ },
"repository": {
"type": "git",
- "url": "https://github.com/0xProject/0x.js.git"
+ "url": "https://github.com/0xProject/0x-monorepo"
},
"license": "Apache-2.0",
- "bugs": {
- "url": "https://github.com/0xProject/0x.js/issues"
- },
- "homepage": "https://github.com/0xProject/0x.js/packages/pipeline/README.md",
"devDependencies": {
"@0xproject/tslint-config": "^1.0.7",
- "@types/command-line-args": "^4.0.2",
- "@types/dotenv": "^4.0.2",
- "@types/glob": "^5.0.33",
- "@types/lodash": "4.14.104",
- "@types/node": "^8.0.53",
- "@types/pg": "^7.4.1",
- "@types/request": "^2.0.13",
- "shx": "^0.2.2",
"tslint": "5.11.0",
"typescript": "3.0.1"
},
"dependencies": {
- "0x.js": "^0.38.3",
- "@0xproject/connect": "^0.6.14",
- "airtable": "^0.5.2",
- "command-line-args": "^4.0.7",
- "dotenv": "^4.0.0",
- "lodash": "^4.17.4",
- "node-redshift": "^0.1.5",
- "pg": "^7.4.1",
- "queue": "^4.4.2",
- "request": "^2.83.0",
- "web3": "^0.20.0"
+ "@0xproject/contract-wrappers": "^1.0.1",
+ "@0xproject/subproviders": "^2.0.2",
+ "@0xproject/utils": "^1.0.8",
+ "@types/ramda": "^0.25.38",
+ "axios": "^0.18.0",
+ "ethereum-types": "^1.0.6",
+ "ramda": "^0.25.0"
}
}