aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/package.json
blob: b60e165d0b2b9fdee95df8af36ffb5b1265febfe (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
    "name": "@0xproject/connect",
    "version": "0.6.4",
    "description": "A javascript library for interacting with the standard relayer api",
    "keywords": [
        "connect",
        "0xproject",
        "ethereum",
        "tokens",
        "exchange"
    ],
    "main": "lib/src/index.js",
    "types": "lib/src/index.d.ts",
    "scripts": {
        "build:watch": "tsc -w",
        "build": "tsc && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
        "clean": "shx rm -rf _bundles lib test_temp scripts",
        "docs:json": "typedoc --excludePrivate --excludeExternals --target ES5 --json $JSON_FILE_PATH $PROJECT_FILES",
        "upload_docs_json": "aws s3 cp generated_docs/index.json $S3_URL --profile 0xproject --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --content-type application/json",
        "copy_test_fixtures": "copyfiles -u 2 './test/fixtures/**/*.json' ./lib/test/fixtures",
        "lint": "tslint --project . 'src/**/*.ts' 'test/**/*.ts'",
        "run_mocha": "mocha lib/test/**/*_test.js",
        "test": "run-s clean build copy_test_fixtures run_mocha",
        "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
        "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
        "test:circleci": "yarn test:coverage"
    },
    "config": {
        "postpublish": {
            "assets": [
                "packages/connect/_bundles/index.js",
                "packages/connect/_bundles/index.min.js"
            ],
            "docPublishConfigs": {
                "s3BucketPath": "s3://connect-docs-jsons/",
                "s3StagingBucketPath": "s3://staging-connect-docs-jsons/"
            }
        }
    },
    "repository": {
        "type": "git",
        "url": "https://github.com/0xProject/0x-monorepo.git"
    },
    "author": "Brandon Millman",
    "license": "Apache-2.0",
    "engines": {
        "node": ">=6.0.0"
    },
    "bugs": {
        "url": "https://github.com/0xProject/0x-monorepo/issues"
    },
    "homepage": "https://github.com/0xProject/0x-monorepo/packages/connect/README.md",
    "dependencies": {
        "@0xproject/assert": "^0.2.1",
        "@0xproject/json-schemas": "^0.7.15",
        "@0xproject/types": "^0.4.0",
        "@0xproject/utils": "^0.4.2",
        "isomorphic-fetch": "^2.2.1",
        "lodash": "^4.17.4",
        "query-string": "^5.0.1",
        "websocket": "^1.0.25"
    },
    "devDependencies": {
        "@0xproject/monorepo-scripts": "^0.1.13",
        "@0xproject/tslint-config": "^0.4.11",
        "@types/fetch-mock": "^5.12.1",
        "@types/lodash": "^4.14.86",
        "@types/mocha": "^2.2.42",
        "@types/query-string": "^5.0.1",
        "@types/websocket": "^0.0.34",
        "async-child-process": "^1.1.1",
        "chai": "^4.0.1",
        "chai-as-promised": "^7.1.0",
        "chai-as-promised-typescript-typings": "^0.0.11",
        "chai-typescript-typings": "^0.0.5",
        "copyfiles": "^1.2.0",
        "dirty-chai": "^2.0.1",
        "fetch-mock": "^5.13.1",
        "mocha": "^4.0.1",
        "npm-run-all": "^4.1.2",
        "nyc": "^11.0.1",
        "shx": "^0.2.2",
        "tslint": "5.8.0",
        "typedoc": "~0.8.0",
        "typescript": "2.7.1",
        "web3-typescript-typings": "^0.10.1"
    },
    "publishConfig": {
        "access": "public"
    }
}