aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/package.json
blob: e7d128df922df1bc30bdefacb9b19169ef15da2e (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
    "name": "@0x/migrations",
    "version": "3.0.3",
    "engines": {
        "node": ">=6.12"
    },
    "description": "0x smart contract migrations",
    "main": "lib/index.js",
    "types": "lib/index.d.ts",
    "scripts": {
        "build": "tsc -b",
        "build:ci": "yarn build",
        "clean": "shx rm -rf lib ${npm_package_config_snapshot_name} ${npm_package_config_snapshot_name}-*.zip",
        "lint": "tslint --format stylish --project .",
        "migrate:v2": "run-s build script:migrate:v2",
        "migrate:v2:snapshot": "run-s build script:migrate:v2:snapshot",
        "script:migrate:v2": "node ./lib/migrate.js",
        "script:migrate:v2:snapshot": "node ./lib/migrate_snapshot.js",
        "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES",
        "build:snapshot": "rm -rf ${npm_package_config_snapshot_name} && yarn migrate:v2:snapshot && zip -r \"${npm_package_config_snapshot_name}-${npm_package_version}.zip\" ${npm_package_config_snapshot_name}",
        "build:snapshot:docker": "docker build --tag ${npm_package_config_docker_snapshot_name}:${npm_package_version} --tag ${npm_package_config_docker_snapshot_name}:latest .",
        "publish:snapshot": "aws s3 cp ${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket} && aws s3 cp ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-${npm_package_version}.zip ${npm_package_config_s3_snapshot_bucket}/${npm_package_config_snapshot_name}-latest.zip",
        "publish:snapshot:docker": "docker push ${npm_package_config_docker_snapshot_name}:latest"
    },
    "config": {
        "s3_snapshot_bucket": "s3://ganache-snapshots.0x.org",
        "docker_snapshot_name": "0xorg/ganache-cli",
        "snapshot_name": "0x_ganache_snapshot",
        "postpublish": {
            "assets": []
        }
    },
    "bin": {
        "0x-migrate": "bin/0x-migrate.js"
    },
    "license": "Apache-2.0",
    "devDependencies": {
        "@0x/dev-utils": "^2.0.2",
        "@0x/tslint-config": "^3.0.0",
        "@0x/types": "^2.0.2",
        "@types/yargs": "^11.0.0",
        "make-promises-safe": "^1.1.0",
        "npm-run-all": "^4.1.2",
        "shx": "^0.2.2",
        "tslint": "5.11.0",
        "typedoc": "0.13.0",
        "typescript": "3.0.1",
        "yargs": "^10.0.3"
    },
    "dependencies": {
        "@0x/abi-gen-wrappers": "^3.0.2",
        "@0x/base-contract": "^4.0.2",
        "@0x/contract-addresses": "^2.2.1",
        "@0x/contract-artifacts": "^1.3.0",
        "@0x/order-utils": "^6.0.1",
        "@0x/sol-compiler": "^3.0.2",
        "@dexon-foundation/subproviders": "^3.0.2",
        "@dexon-foundation/typescript-typings": "^4.0.0",
        "@0x/utils": "^4.0.3",
        "@0x/web3-wrapper": "^4.0.2",
        "@ledgerhq/hw-app-eth": "^4.3.0",
        "ethereum-types": "^2.0.0",
        "ethers": "~4.0.4",
        "lodash": "^4.17.11"
    },
    "optionalDependencies": {
        "@ledgerhq/hw-transport-node-hid": "^4.3.0"
    },
    "publishConfig": {
        "access": "public"
    }
}