{"_id":"@dexon-foundation/0x.js","_rev":"1-f838055b84d6ea6ae84f1331619f06ff","name":"@dexon-foundation/0x.js","dist-tags":{"latest":"4.0.3"},"versions":{"4.0.3":{"name":"@dexon-foundation/0x.js","version":"4.0.3","engines":{"node":">=6.12"},"description":"A javascript library for interacting with the 0x protocol","keywords":["0x.js","0xproject","ethereum","tokens","exchange"],"main":"lib/index.js","types":"lib/index.d.ts","scripts":{"build":"yarn build:all","build:ci":"yarn build:commonjs","build:all":"run-p build:umd:prod build:commonjs","lint":"tslint --format stylish --project .","test:circleci":"run-s test:coverage","rebuild_and_test":"run-s build test","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 src/generated_contract_wrappers generated_docs","build:umd:prod":"NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production","build:commonjs":"tsc -b","docs:json":"typedoc --excludePrivate --excludeExternals --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES"},"config":{"postpublish":{"assets":["packages/0x.js/_bundles/index.js","packages/0x.js/_bundles/index.min.js"]}},"repository":{"type":"git","url":"git+https://github.com/0xProject/0x-monorepo.git"},"license":"Apache-2.0","devDependencies":{"@0x/abi-gen-wrappers":"^3.0.2","@0x/contract-addresses":"^2.2.1","@0x/dev-utils":"^2.0.2","@0x/migrations":"^3.0.3","@0x/tslint-config":"^3.0.0","@types/lodash":"4.14.104","@types/mocha":"^2.2.42","@types/node":"*","@types/sinon":"^2.2.2","awesome-typescript-loader":"^5.2.1","chai":"^4.0.1","chai-as-promised":"^7.1.0","chai-bignumber":"^3.0.0","copyfiles":"^2.0.0","dirty-chai":"^2.0.1","make-promises-safe":"^1.1.0","mocha":"^4.1.0","npm-run-all":"^4.1.2","nyc":"^11.0.1","opn-cli":"^3.1.0","shx":"^0.2.2","sinon":"^4.0.0","source-map-support":"^0.5.0","tslint":"5.11.0","typedoc":"0.13.0","typescript":"3.0.1","uglifyjs-webpack-plugin":"^2.0.1","webpack":"^4.20.2"},"dependencies":{"@0x/assert":"^2.0.2","@0x/base-contract":"^4.0.2","@0x/contract-wrappers":"^7.0.2","@0x/order-utils":"^6.0.1","@0x/order-watcher":"^3.0.3","@0x/types":"^2.0.2","@0x/utils":"^4.0.3","@0x/web3-wrapper":"^4.0.2","@dexon-foundation/subproviders":"^3.0.2","@dexon-foundation/typescript-typings":"^4.0.2","@dexon-foundation/web3-provider-engine":"^14.1.1","ethereum-types":"^2.0.0","ethers":"~4.0.4","lodash":"^4.17.11"},"publishConfig":{"access":"public"},"bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"homepage":"https://github.com/0xProject/0x-monorepo#readme","_id":"@dexon-foundation/0x.js@4.0.3","_npmVersion":"6.5.0","_nodeVersion":"8.11.3","_npmUser":{"name":"boczeratul","email":"boczeratul@gmail.com"},"dist":{"integrity":"sha512-hwhAT2CJT5n7q3eiTRs+bASEA3TerNq8yA3qhlWclEqxV5no+h7BXWmWoZK8cLIjzIuTkymxIahPvBWZtr6EQg==","shasum":"676e2537e9dc29c7cc17e02e2026a8fd9faeac2f","tarball":"https://registry.npmjs.org/@dexon-foundation/0x.js/-/0x.js-4.0.3.tgz","fileCount":14,"unpackedSize":18808906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf5b3CRA9TVsSAnZWagAAVUsP/0WMqxbZchZFznNM106o\nKc4NtV1mUxVkKKKE7fwD1Jb+gC0RS1jOxcKISOmCYKnab8HpHynZol4zchzm\nxqzpS/vTe13FVxbWtwhOzJzcR94OYsd75R9ag3POdb0brCZ88Ta7kZS1ExWK\nD6sRLqSHnhL60AV7xrpkfkiuDHyjhIu7ClKCqUUDHekYUAiYDMWO9WWvbSf7\nYJ6C7fD/WejiQqjit9uw9sw8twnu0IUEnv5x5O8OYwDQmA6zxiSvofxRFsNe\nZ5ugev22pl0RkgFaMMUbLSeZNYdPfeFZbNe1QjI2BMEvW4PE9bxQpyphfl7S\nM/hepY+KWPwvR+Z6EiXeBg1mq6n+oA5RePX10RV8bYNkvmNc11VFZGzdxfqT\nbJ6JRvSzOQn+5HQnSJ0IHx3/d74TPd6g8CupYiawv3952CQImArWd70lftid\nmi8IsTvtM5KgI1llgSpg29dscP3alOlewFwmWRdgpm944OoIMM5TAFA38ox3\nrqbw6wghKa3RyjadjLwtdIqystMPus48WFFv5CV4iZsoG2JShLb84BM0u7ZE\n4+NJDY2oDWLFpK7PelI8ETGSJxpXmUXrAKZqnBdoldmjF240CnI8968oLsKT\n0nzhyWcRy+qAbgpWiLUL0CkznzQNVIyquY2uIRbdjWRvWcmMXBhYqBMmVWYE\nulEE\r\n=Eqjt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJuLaA87bmb7EA4wPURTnK60+yKvAfHW+DGl/xwTkq3gIgab69yBPPZkIHRXzYHcg9i+baWEC2giFGt3sp3gk8d74="}]},"maintainers":[{"name":"chaoweichiu","email":"chaoweichiu@gmail.com"},{"name":"cobinhood-dev","email":"dev@cobinhood.com"},{"name":"boczeratul","email":"boczeratul@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/0x.js_4.0.3_1551865590654_0.5274442297567135"},"_hasShrinkwrap":false}},"time":{"created":"2019-03-06T09:46:30.481Z","4.0.3":"2019-03-06T09:46:30.971Z","modified":"2022-04-05T04:12:31.196Z"},"maintainers":[{"name":"chaoweichiu","email":"chaoweichiu@gmail.com"},{"name":"cobinhood-dev","email":"dev@cobinhood.com"},{"name":"boczeratul","email":"boczeratul@gmail.com"}],"description":"A javascript library for interacting with the 0x protocol","homepage":"https://github.com/0xProject/0x-monorepo#readme","keywords":["0x.js","0xproject","ethereum","tokens","exchange"],"repository":{"type":"git","url":"git+https://github.com/0xProject/0x-monorepo.git"},"bugs":{"url":"https://github.com/0xProject/0x-monorepo/issues"},"license":"Apache-2.0","readme":"## 0x.js\n\nA TypeScript/Javascript library for interacting with the 0x protocol. It is a high level package which combines a number of underlying packages such as order-utils and order-watcher.\n\n### Read the [Documentation](https://0xproject.com/docs/0x.js).\n\n## Installation\n\n0x.js ships as both a [UMD](https://github.com/umdjs/umd) module and a [CommonJS](https://en.wikipedia.org/wiki/CommonJS) package.\n\n#### CommonJS _(recommended)_:\n\n**Install**\n\n```bash\nnpm install 0x.js --save\n```\n\n**Import**\n\n```javascript\nimport {\n    assetDataUtils,\n    BigNumber,\n    ContractWrappers,\n    generatePseudoRandomSalt,\n    orderHashUtils,\n    signatureUtils,\n} from '0x.js';\n```\n\nIf your project is in [TypeScript](https://www.typescriptlang.org/), add the following to your `tsconfig.json`:\n\n```json\n\"compilerOptions\": {\n    \"typeRoots\": [\"node_modules/@dexon-foundation/typescript-typings/types\", \"node_modules/@types\"],\n}\n```\n\n#### UMD:\n\n**Install**\n\nDownload the UMD module from our [releases page](https://github.com/0xProject/0x-monorepo/releases) and add it to your project.\n\n**Import**\n\n```html\n<script type=\"text/javascript\" src=\"0x.js\"></script>\n```\n\n## Contributing\n\nWe strongly recommend that the community help us make improvements and determine the future direction of 0x protocol. To report bugs within this package, please create an issue in this repository.\n\nPlease read our [contribution guidelines](../../CONTRIBUTING.md) before getting started.\n\n### Install dependencies\n\nIf you don't have yarn workspaces enabled (Yarn < v1.0) - enable them:\n\n```bash\nyarn config set workspaces-experimental true\n```\n\nThen install dependencies\n\n```bash\nyarn install\n```\n\n### Build\n\nTo build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:\n\n```bash\nPKG=0x.js yarn build\n```\n\nOr continuously rebuild on change:\n\n```bash\nPKG=0x.js yarn watch\n```\n\n### Clean\n\n```bash\nyarn clean\n```\n\n### Lint\n\n```bash\nyarn lint\n```\n\n### Run Tests\n\n```bash\nyarn test\n```\n","readmeFilename":"README.md"}