aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/package.json
blob: 59bf30629c1f2d6b6cadee368f4553cee29dc797 (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": "2.2.2",
    "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} *.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": "^1.0.21",
        "@0x/tslint-config": "^2.0.0",
        "@0x/types": "^1.4.1",
        "@types/yargs": "^10.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": "^2.0.2",
        "@0x/base-contract": "^3.0.10",
        "@0x/contract-addresses": "^2.0.0",
        "@0x/contract-artifacts": "^1.1.2",
        "@0x/order-utils": "^3.0.7",
        "@0x/sol-compiler": "^1.1.16",
        "@0x/subproviders": "^2.1.8",
        "@0x/typescript-typings": "^3.0.6",
        "@0x/utils": "^2.0.8",
        "@0x/web3-wrapper": "^3.2.1",
        "@ledgerhq/hw-app-eth": "^4.3.0",
        "ethereum-types": "^1.1.4",
        "ethers": "~4.0.4",
        "lodash": "^4.17.5"
    },
    "optionalDependencies": {
        "@ledgerhq/hw-transport-node-hid": "^4.3.0"
    },
    "publishConfig": {
        "access": "public"
    }
}