aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/package.json
blob: 2606577ee72f5954166ae1d10895a9bfc12efb3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
    "name": "@0xproject/migrations",
    "version": "0.0.5",
    "description": "0x smart contract migrations",
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "scripts": {
        "build:watch": "tsc -w",
        "prebuild": "run-s clean compile copy_artifacts generate_contract_wrappers",
        "copy_artifacts": "copyfiles -u 4 'artifacts/1.0.0/**/*' ./lib/src/artifacts",
        "build": "tsc",
        "clean": "shx rm -rf lib",
        "lint": "tslint --project .",
        "migrate": "run-s build compile script:migrate",
        "script:migrate": "node ./lib/migrate.js",
        "copy_artifacts": "copyfiles 'artifacts/1.0.0/**/*' ./lib",
        "generate_contract_wrappers":
            "node ../abi-gen/lib/index.js --abis  ${npm_package_config_abis} --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",
        "compile": "node ../sol-compiler/lib/src/cli.js compile"
    },
    "config": {
        "abis":
            "artifacts/1.0.0/@(DummyERC20Token|TokenTransferProxy_v1|Exchange_v1|TokenRegistry|MultiSigWallet|MultiSigWalletWithTimeLock|MultiSigWalletWithTimeLockExceptRemoveAuthorizedAddress|TokenRegistry|ZRXToken|WETH9).json"
    },
    "license": "Apache-2.0",
    "devDependencies": {
        "@0xproject/dev-utils": "^0.4.1",
        "@0xproject/types": "^0.6.3",
        "@0xproject/tslint-config": "^0.4.17",
        "npm-run-all": "^4.1.2",
        "shx": "^0.2.2",
        "tslint": "5.8.0",
        "typescript": "2.7.1"
    },
    "dependencies": {
        "@0xproject/sol-compiler": "^0.4.3",
        "@0xproject/base-contract": "^0.3.1",
        "@0xproject/typescript-typings": "^0.3.1",
        "@0xproject/utils": "^0.6.1",
        "@0xproject/web3-wrapper": "^0.6.3",
        "ethers": "^3.0.15",
        "lodash": "^4.17.4"
    },
    "publishConfig": {
        "access": "public"
    }
}