aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/package.json
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2017-12-01 14:06:59 +0800
committerAmir Bandeali <abandeali1@gmail.com>2017-12-01 14:06:59 +0800
commitd44d6ccfd8d1aea61f9302affc5e702cb3339773 (patch)
treefd80a41cc7294e57b3090b7035162545a16e474f /packages/contracts/package.json
parentcec0b2afe3f85d32349b9f09b5632f2e0d37e88d (diff)
downloaddexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar.gz
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar.bz2
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar.lz
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar.xz
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.tar.zst
dexon-sol-tools-d44d6ccfd8d1aea61f9302affc5e702cb3339773.zip
Fix module versions, cleanup scripts
Diffstat (limited to 'packages/contracts/package.json')
-rw-r--r--packages/contracts/package.json52
1 files changed, 25 insertions, 27 deletions
diff --git a/packages/contracts/package.json b/packages/contracts/package.json
index bddf01956..346add2ae 100644
--- a/packages/contracts/package.json
+++ b/packages/contracts/package.json
@@ -1,62 +1,60 @@
{
- "name": "0x-smart-contracts",
+ "name": "contracts",
"version": "1.0.0",
- "description": "",
+ "description": "Smart contract components of 0x protocol",
"main": "index.js",
"directories": {
"test": "test"
},
"scripts": {
- "transpile": "rm -rf ./transpiled; copyfiles ./build/**/* ./deploy/solc/solc_bin/* ./deploy/test/fixtures/contracts/**/* ./deploy/test/fixtures/contracts/* ./transpiled; tsc;",
- "test": "npm run transpile; truffle test",
- "compile": "npm run transpile; node transpiled/deploy/cli.js compile",
- "migrate": "npm run transpile; truffle migrate",
- "migrateCustom": "npm run transpile; node transpiled/deploy/cli.js migrate",
- "deploy": "npm run migrate --network kovan",
+ "build": "rm -rf ./lib; copyfiles ./build/**/* ./deploy/solc/solc_bin/* ./deploy/test/fixtures/contracts/**/* ./deploy/test/fixtures/contracts/* ./lib; tsc;",
+ "test": "npm run build; truffle test",
+ "compile": "npm run build; node lib/deploy/cli.js compile",
+ "clean": "rm -rf ./lib",
+ "migrate:truffle": "npm run build; truffle migrate",
+ "migrate": "npm run build; node lib/deploy/cli.js migrate",
"lint": "tslint --project . 'migrations/*.ts' 'test/**/*.ts' 'util/*.ts' 'deploy/**/*.ts'",
- "testrpc": "testrpc --networkId 50",
- "mocha": "npm run transpile; mocha transpiled/deploy/test/*_test.js"
+ "mocha": "npm run build; mocha lib/deploy/test/*_test.js"
},
"repository": {
"type": "git",
- "url": "git+https://github.com/0xProject/0x-Smart-Contracts.git"
+ "url": "https://github.com/0xProject/0x.js.git"
},
- "author": "abandeali1@gmail.com",
- "license": "ISC",
+ "author": "Amir Bandeali",
+ "license": "Apache-2.0",
"bugs": {
- "url": "https://github.com/0xProject/0x-Smart-Contracts/issues"
+ "url": "https://github.com/0xProject/0x.js/issues"
},
- "homepage": "https://github.com/0xProject/0x-Smart-Contracts#readme",
+ "homepage": "https://github.com/0xProject/0x.js/packages/contracts/README.md",
"devDependencies": {
+ "@0xproject/tslint-config": "^0.2.0",
"@types/bluebird": "^3.5.3",
"@types/isomorphic-fetch": "^0.0.34",
- "@types/lodash": "^4.14.63",
- "@types/node": "^8.0.51",
+ "@types/lodash": "^4.14.64",
+ "@types/node": "^8.0.1",
"@types/request-promise-native": "^1.0.2",
"@types/yargs": "^8.0.2",
- "chai": "^4.1.2",
- "chai-as-promised": "^7.1.1",
+ "chai": "^4.0.1",
+ "chai-as-promised": "^7.1.0",
"chai-as-promised-typescript-typings": "^0.0.3",
"chai-bignumber": "^2.0.1",
- "chai-typescript-typings": "^0.0.0",
+ "chai-typescript-typings": "^0.0.1",
"copyfiles": "^1.2.0",
"dirty-chai": "^2.0.1",
- "ethereumjs-testrpc": "4.0.1",
- "mocha": "^4.0.1",
+ "mocha": "^4.0.0",
"solc": "^0.4.18",
"truffle": "3.4.3",
"tslint": "5.8.0",
- "tslint-config-0xproject": "^0.0.2",
"types-bn": "^0.0.1",
- "types-ethereumjs-util": "machinomy/types-ethereumjs-util",
+ "types-ethereumjs-util": "0xProject/types-ethereumjs-util",
"typescript": "^2.6.1",
- "web3-typescript-typings": "^0.7.1",
+ "web3-typescript-typings": "^0.7.2",
"yargs": "^10.0.3"
},
"dependencies": {
"@0xproject/json-schemas": "^0.6.9",
"0x.js": "^0.22.6",
- "bignumber.js": "^4.1.0",
+ "bignumber.js": "~4.1.0",
"bluebird": "^3.5.0",
"bn.js": "^4.11.6",
"es6-promisify": "^5.0.0",
@@ -65,7 +63,7 @@
"isomorphic-fetch": "^2.2.1",
"lodash": "^4.17.4",
"request": "^2.81.0",
- "web3": "0.20.2",
+ "web3": "0.20.0",
"web3-eth-abi": "^1.0.0-beta.24"
}
}