aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/package.json
blob: 7d9107bbad12a830109f43984e089657dc045b80 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
    "name": "0x.js",
    "version": "0.37.2",
    "engines": {
        "node": ">=6.12"
    },
    "description": "A javascript library for interacting with the 0x protocol",
    "keywords": [
        "0x.js",
        "0xproject",
        "ethereum",
        "tokens",
        "exchange"
    ],
    "main": "lib/src/index.js",
    "types": "lib/src/index.d.ts",
    "scripts": {
        "watch": "tsc -w",
        "prebuild": "run-s clean generate_contract_wrappers",
        "build": "run-p build:umd:prod build:commonjs; exit 0;",
        "generate_contract_wrappers": "abi-gen --abis 'src/compact_artifacts/@(Exchange|Token|TokenTransferProxy|EtherToken|TokenRegistry|DummyToken).json' --template ../contract_templates/contract.handlebars --partials '../contract_templates/partials/**/*.handlebars' --output src/contract_wrappers/generated --backend ethers && prettier --write 'src/contract_wrappers/generated/**.ts'",
        "lint": "tslint --project .",
        "test:circleci": "run-s test:coverage",
        "test": "run-s clean test:commonjs",
        "test:coverage": "nyc npm run test --all && yarn coverage:report:lcov",
        "coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
        "clean": "shx rm -rf _bundles lib test_temp scripts src/contract_wrappers/generated",
        "build:umd:prod": "NODE_ENV=production webpack",
        "build:commonjs": "tsc && copyfiles -u 2 './src/compact_artifacts/**/*.json' ./lib/src/compact_artifacts && copyfiles -u 3 './lib/src/monorepo_scripts/**/*' ./scripts",
        "test:commonjs": "run-s build:commonjs run_mocha",
        "run_mocha": "mocha lib/test/**/*_test.js lib/test/global_hooks.js --timeout 10000 --bail --exit",
        "manual:postpublish": "yarn build; node ./scripts/postpublish.js",
        "docs:stage": "node scripts/stage_docs.js",
        "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"
    },
    "config": {
        "compact_artifacts": "Exchange DummyToken ZRXToken Token EtherToken TokenTransferProxy TokenRegistry",
        "postpublish": {
            "assets": [
                "packages/0x.js/_bundles/index.js",
                "packages/0x.js/_bundles/index.min.js"
            ],
            "docPublishConfigs": {
                "extraFileIncludes": [
                    "../types/src/index.ts",
                    "../contract-wrappers/src/types.ts",
                    "../contract-wrappers/src/contract_wrappers/ether_token_wrapper.ts",
                    "../contract-wrappers/src/contract_wrappers/exchange_wrapper.ts",
                    "../contract-wrappers/src/contract_wrappers/token_registry_wrapper.ts",
                    "../contract-wrappers/src/contract_wrappers/token_transfer_proxy_wrapper.ts",
                    "../contract-wrappers/src/contract_wrappers/token_wrapper.ts",
                    "../order-watcher/src/order_watcher/order_watcher.ts",
                    "./src/contract_wrappers/generated/ether_token.ts",
                    "./src/contract_wrappers/generated/token.ts",
                    "./src/contract_wrappers/generated/exchange.ts"
                ],
                "s3BucketPath": "s3://doc-jsons/0x.js/",
                "s3StagingBucketPath": "s3://staging-doc-jsons/0x.js/"
            }
        }
    },
    "repository": {
        "type": "git",
        "url": "https://github.com/0xProject/0x-monorepo"
    },
    "license": "Apache-2.0",
    "devDependencies": {
        "@0xproject/abi-gen": "^0.2.13",
        "@0xproject/dev-utils": "^0.4.1",
        "@0xproject/migrations": "^0.0.5",
        "@0xproject/monorepo-scripts": "^0.1.19",
        "@0xproject/sol-compiler": "^0.4.3",
        "@0xproject/tslint-config": "^0.4.17",
        "@types/lodash": "4.14.104",
        "@types/mocha": "^2.2.42",
        "@types/node": "^8.0.53",
        "@types/sinon": "^2.2.2",
        "awesome-typescript-loader": "^3.1.3",
        "chai": "^4.0.1",
        "chai-as-promised": "^7.1.0",
        "chai-bignumber": "^2.0.1",
        "copyfiles": "^1.2.0",
        "dirty-chai": "^2.0.1",
        "json-loader": "^0.5.4",
        "make-promises-safe": "^1.1.0",
        "mocha": "^4.0.1",
        "npm-run-all": "^4.1.2",
        "nyc": "^11.0.1",
        "opn-cli": "^3.1.0",
        "prettier": "^1.11.1",
        "shx": "^0.2.2",
        "sinon": "^4.0.0",
        "source-map-support": "^0.5.0",
        "tslint": "5.8.0",
        "typedoc": "0xProject/typedoc",
        "typescript": "2.7.1",
        "webpack": "^3.1.0"
    },
    "dependencies": {
        "@0xproject/assert": "^0.2.9",
        "@0xproject/base-contract": "^0.3.1",
        "@0xproject/contract-wrappers": "^0.0.1",
        "@0xproject/order-utils": "^0.0.4",
        "@0xproject/order-watcher": "^0.0.1",
        "@0xproject/sol-compiler": "^0.4.3",
        "@0xproject/types": "^0.6.3",
        "@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"
    }
}
uite) to version 0.11jeh2001-05-114-708/+605 * Upgrade to latest version:vanilla2001-05-102-2/+2 * Upgrade to latest version:vanilla2001-05-103-4/+4 * Upgradevanilla2001-05-106-8/+11 * Add (BUILD|RUN)_DEPENDS to p5-XML-Parser.vanilla2001-05-091-2/+3 * Update to 0.9.0ade2001-05-082-2/+2 * Update to 2.3.8.sobomax2001-05-065-36/+45 * Update to GNOME 1.4 -- massive changes all around, for the sake ofade2001-05-058-13/+16 * Use the same MASTER_SITES as lang/python.tg2001-05-041-2/+2 * - Bump PORTREVISIONkevlo2001-05-031-3/+3 * - Bump PORTREVISIONkevlo2001-05-031-2/+2 * Add {BUILD|RUN}_DEPENDS to p5-HTML-Tree.vanilla2001-05-031-0/+4 * Add checksum for python-2.1.tg2001-05-021-0/+1 * Adding new port textproc/p5-Lingua-Ispell,dburr2001-05-026-0/+37 * URL movedmharo2001-05-021-1/+1 * Update port: p5-Spreadsheet-WriteExcel to 0.31mharo2001-05-014-5/+21 * Remove MASTER_SITE_LOCAL because of DISTNAME changed.kiri2001-05-011-3/+1 * Update port: p5-Spreadsheet-ParseExcel to version 0.21mharo2001-05-014-4/+11 * Fix pkg-plistmharo2001-05-011-10/+0 * Fix make patch for norsk ispell.jmz2001-05-011-1/+1 * Respect CC, CXX, CFLAGS and CXXFLAGSkris2001-04-301-4/+23 * Upgrade to 1.09vanilla2001-04-302-2/+2 * Upgrade to 0.52.vanilla2001-04-303-22/+28 * Upgrade to 0.52.vanilla2001-04-305-214/+3 * Update to new patch from Debian ($PORTREVISION++).kuriyama2001-04-293-3/+15 * upgrade to 0.7ijliao2001-04-285-39/+125 * Update to 0.9.2.knu2001-04-272-2/+2 * Update to 0.13.knu2001-04-271-0/+5 * Update from 1.2 to 1.3: Make cdiff understand long lines etc (actualeivind2001-04-272-2/+2 * fix include path and make it build againijliao2001-04-262-2/+2 * upgrade to 0.7.2ijliao2001-04-252-2/+2 * - Upgrade to 0.12.1kevlo2001-04-243-5/+16 * Update to 0.8.0ade2001-04-242-2/+2 * Use a PREFIX hack (from lang/librep) instead of USE_X_PREFIX (which hasade2001-04-241-6/+6 * Fix a number of issues with scrollkeeper, install things in the rightade2001-04-246-255/+258 * Update to 0.7.0ade2001-04-233-2/+10 * Update to 2.3.7.sobomax2001-04-232-2/+2 * Change MAINTAINER to kunishi@acm.org.kiri2001-04-231-1/+1 * Chage MASTER_SITES to http://xml.apache.org/dist/fop/recent/.kiri2001-04-231-2/+1 * Add scrollkeeper 0.2, an Open Document Cataloging Project.sobomax2001-04-219-0/+329 * Remove empty directories on uninstall.steve2001-04-201-1/+1 * Remove an empty, non-essential file.steve2001-04-201-0/+0 * Update to 0.9.1.knu2001-04-203-16/+4 * Upgrade for Groff 1.17.ru2001-04-191-2/+7 * Fix PLIST.will2001-04-171-1/+0 * Add ``ukrainian'' as a category (it should be repo-copied intomi2001-04-171-1/+2 * Remove empty directories on uninstall.steve2001-04-156-3/+15 * Update to 0.6.1.knu2001-04-112-2/+2 * Update ruby-optparse to 0.7.10.knu2001-04-112-8/+1 * Update to 0.6.0.knu2001-04-102-2/+2 * Remove py-mx{DateTime,Proxy,Stack,TextTools,Tools}. Their functionalitytg2001-04-097-103/+0 * Add p5-libxml 0.07, a collection of Perl5 modules for working with XML.will2001-04-076-0/+67 * Add p5-LJ-SpellCheck 1.0, HTML highlighting misspellings usingwill2001-04-076-0/+38 * Define RUBY_QT2_PORTREVISION and RUBY_WITH_PTHREAD inknu2001-04-061-5/+3 * Define RUBY_WITH_PTHREAD.knu2001-04-061-0/+1 * Correct script used to invoke utility (pass command line arguments to it).sobomax2001-04-051-1/+2 * Upgrade to 0.22.vanilla2001-04-052-2/+2 * Add py-asv 0.4, an extensible Python module to parse simple textsobomax2001-04-056-0/+73 * Put copy of distfiles on MASTER_SITE_LICAL.sobomax2001-04-032-2/+2 * Update to 0.5.0ade2001-04-033-2/+3 * upgrade to 0.7.1ijliao2001-04-022-2/+2 * Update to 2.2.5.sobomax2001-04-024-47/+36 * Update MASTER_SITESmharo2001-04-021-1/+1 * Don't use non-existant /usr/tmpalex2001-03-311-5/+19 * Add ruby-nqxml, a pure Ruby implementasion of an XML tokenizer, aknu2001-03-316-0/+72 * New port for crimson-1.1, a Java XML parser which supports XML 1.0okazaki2001-03-307-0/+331 * -pthread --> ${PTHREAD_LIBS}sobomax2001-03-302-2/+2 * Author in the process of moving from the old to the new MASTER_SITE, sosobomax2001-03-292-4/+4 * Upgrade to 2.0.1.kuriyama2001-03-283-2123/+2174 * D'oh, PORTREVISION doesn't work if you define the value of it afterknu2001-03-281-1/+0 * Update to ruby-qt2 0.12 for qt 2.3.0.knu2001-03-281-1/+1 * Place USE_BZIP2 before .include <bsd.port.pre.mk>demon2001-03-281-1/+2 * upgrade to 1.2.2ijliao2001-03-272-2/+2 * Update version 0.15.0 -> 0.17.0.kiri2001-03-243-346/+1165 * Add port: textproc/py-4suitejeh2001-03-238-0/+1788 * - Update PyXML (textproc/py-xml) to 0.6.5jeh2001-03-234-13/+412 * Correct logic who's result was OpenJade not being used to satisfy theobrien2001-03-231-9/+6 * Depend on the new py-mx-base.tg2001-03-221-1/+2 * - Update checksum (looks like several bugs were fixed and distfile rerolledsobomax2001-03-204-22/+35 * Change _DISTDIR to ${DISTDIR}/smartdoc not to conflict other distfiles.kiri2001-03-202-1/+2 * Use the threaded version of Qt2 library for 5-CURRENT.knu2001-03-201-5/+4 * Bump $PORTREVISION.kuriyama2001-03-191-0/+1 * Add patch to change separate characters in titles.kuriyama2001-03-191-0/+1425 * Import new port textproc/xsl-docbook-modular. Xsl-docbook-modular is thekiri2001-03-198-0/+557 * Import new port textproc/sdocbook-xml. Sdocbook-xml is the "Simplified"kiri2001-03-197-0/+86 * Import new port textproc/fop. FOP is the print formatter driven bykiri2001-03-196-0/+1071 * Import new port textproc/smartdoc. SmartDoc is the XML utility to createkiri2001-03-1911-0/+1450 * Update to version 1.3.1kevlo2001-03-182-2/+2 * Fix prototype to reduce warning.kuriyama2001-03-171-0/+11 * Upgrade to 1.64.kuriyama2001-03-172-3/+3 * add py-trexijliao2001-03-177-0/+47 * Add xalan-j 2.0.0,kuriyama2001-03-165-0/+2152 * a small yet fast Python extension module (writtenvanilla2001-03-156-0/+38 * Fix pkg-plist braino.fenner2001-03-151-1/+1 * Remove "ukrainian" from the list of categories. Add ``-'' to themi2001-03-141-2/+2 * Comments in PLISTs indicated by the ``@comment'', not by ``#''.sobomax2001-03-141-1/+1 * Correct RUN_DEPENDS.sobomax2001-03-131-1/+1 * Add ua-ispell 0.0.2b, ukrainian (KOI8-U) dictionary for ISPELL.mi2001-03-136-0/+37 * New port for the Gtk documentation system. Originally writtenfenner2001-03-136-0/+38 * Update to Ruby/Qt2 0.12.knu2001-03-132-14/+41 * Update libxml2 to 2.3.3 and libxslt to 0.4.0 (updates rely on each other)ade2001-03-137-31/+25 * Update to 0.4.0.knu2001-03-124-22/+16 * - Upgrade to version 1.3.0kevlo2001-03-123-4/+9 * Upgrade to 1.63.kuriyama2001-03-122-3/+3 * Use links instead of w3m. Select OpenJade automatically if building on annik2001-03-121-10/+4 * Remove libxode. It's not used anymore now that jabber-1.4 has thisjoe2001-03-116-30/+0 * Several satellite ports that depend on this one require bzip2 to besteve2001-03-111-0/+1 * Add opensched 0.1.0, a project scheduler.will2001-03-1111-0/+316 * Use MAINTAINER?= instead of MAINTAINER=. I dont want to receive build errorsjmz2001-03-111-1/+1 * Fix and sort plist. Naughty grog.kris2001-03-111-44/+126 * Add ascii2pdf 0.9.1, a perl script to convert text files to PDF files.will2001-03-116-0/+41 * Add p5-PDF-Create 0.01, a perl script to convert text files to PDFwill2001-03-116-0/+47 * Add dico 1.1, an interactive dictionary in french.will2001-03-1113-0/+264 * Add ruby-rss, a Ruby library for parsing, creating, downloading, andknu2001-03-106-0/+63 * Fix missing header problem.vanilla2001-03-102-11/+1 * Define INSTALLS_SHLIB properly. Hmm.. I thought I'd done that already..knu2001-03-101-0/+1 * Fix typo (INSTALLS_SHLIBS -> INSTALLS_SHLIB).kuriyama2001-03-101-1/+1 * Switch to using a versioned distfile - the non-versioned one currentlykris2001-03-103-2/+17 * Use expat2 (1.95.1) rather than expat (1.2).knu2001-03-102-17/+2 * Add ruby-sablot, a Ruby interface to the Sablotron XSLT processor.knu2001-03-107-0/+87 * Remove unneeded entry.kuriyama2001-03-091-1/+0 * In Makefile of the master port, x11-toolkits/linux-gtk,taoka2001-03-086-0/+12 * Mark BROKEN for OSVERSION < 500007.demon2001-03-052-12/+6 * Switch from AWK to SED for CFLAGS sanitization. It is cleaner,lioux2001-03-051-6/+2 * mis-category, move it to develijliao2001-03-047-71/+0 * add perltidyijliao2001-03-047-0/+71 * New port: kdoc.demon2001-03-047-0/+64 * New port py-expat, a Python interface to the Expat XML parser.tg2001-03-017-0/+70 * Add p5-Text-SimpleTemplate 0.35, yet another Perl module forwill2001-03-016-0/+49 * Remove do-configure section, use PERL_CONFIGURE now.vanilla2001-03-0131-63/+13 * Update to version 0.6.4kevlo2001-02-284-51/+63 * Fix grammar: s/is cannot be/cannot be/lioux2001-02-281-1/+1 * o Sanitize CFLAGS following example of palm/prc-tools-gcc. Removelioux2001-02-281-5/+20 * USE_GNOMELIBS -> USE_GNOMEkevlo2001-02-271-1/+1 * Update to version 0.24.steve2001-02-263-2/+3 * add libxml++, XML API for C++ijliao2001-02-2611-0/+85 * - Fix LIB_DEPENDSkevlo2001-02-252-11/+14 * Upgrade to 3.1.1, and remove the incorrect dependency on JFC.des2001-02-24