aboutsummaryrefslogtreecommitdiffstats
path: root/packages/metacoin/package.json
blob: 42be6574dcb01669550b3515f4c557e37b7d7cf9 (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
{
    "name": "@0xproject/metacoin",
    "version": "0.0.6",
    "engines": {
        "node" : ">=6.12"
    },
    "private": true,
    "description": "Example solidity project using 0x dev tools",
    "scripts": {
        "build:watch": "tsc -w",
        "lint": "tslint --project .",
        "clean": "shx rm -rf lib artifacts src/contract_wrappers",
        "prebuild": "run-s clean compile generate_contract_wrappers copy_artifacts",
        "copy_artifacts": "copyfiles './artifacts/**/*' './contracts/**/*' ./lib",
        "build": "tsc",
        "test": "run-s build run_mocha",
        "test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
        "run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --bail --exit",
        "generate_contract_wrappers": "node ../abi-gen/lib/index.js --abis 'artifacts/Metacoin.json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers --backend ethers && prettier --write 'src/contract_wrappers/**.ts'",
        "coverage:report:text": "istanbul report text",
        "coverage:report:html": "istanbul report html && open coverage/index.html",
        "coverage:report:lcov": "istanbul report lcov",
        "test:circleci": "yarn test:coverage",
        "compile": "node ../sol-compiler/lib/src/cli.js compile"
    },
    "author": "",
    "license": "Apache-2.0",
    "dependencies": {
        "@0xproject/abi-gen": "^0.2.13",
        "@0xproject/base-contract": "^0.3.1",
        "@0xproject/sol-compiler": "^0.4.3",
        "@0xproject/sol-cov": "^0.0.10",
        "@0xproject/subproviders": "^0.10.1",
        "@0xproject/tslint-config": "^0.4.17",
        "@0xproject/types": "^0.6.3",
        "@0xproject/utils": "^0.6.1",
        "@0xproject/web3-wrapper": "^0.6.3",
        "ethers": "^3.0.15",
        "lodash": "^4.17.4",
        "web3-provider-engine": "^14.0.4"
    },
    "devDependencies": {
        "@0xproject/dev-utils": "^0.4.1",
        "chai": "^4.0.1",
        "chai-as-promised": "^7.1.0",
        "chai-bignumber": "^2.0.1",
        "dirty-chai": "^2.0.1",
        "npm-run-all": "^4.1.2",
        "shx": "^0.2.2",
        "tslint": "5.8.0",
        "typescript": "2.7.1"
    }
}