- @0x/contracts-asset-proxy@3.7.3 - @0x/contracts-broker@1.1.21 - @0x/contracts-coordinator@3.1.22 - @0x/contracts-dev-utils@1.3.20 - @0x/contracts-erc1155@2.1.21 - @0x/contracts-erc20@3.3.0 - @0x/contracts-erc721@3.1.21 - @0x/contracts-exchange-forwarder@4.2.22 - @0x/contracts-exchange-libs@4.3.21 - @0x/contracts-exchange@3.2.22 - @0x/contracts-extensions@6.2.16 - @0x/contracts-integrations@2.7.22 - @0x/contracts-multisig@4.1.22 - @0x/contracts-staking@2.0.29 - @0x/contracts-test-utils@5.3.18 - @0x/contracts-utils@4.7.0 - @0x/contracts-zero-ex@0.17.0 - @0x/asset-swapper@5.6.2 - @0x/contract-artifacts@3.11.0 - @0x/contract-wrappers-test@12.2.33 - @0x/contract-wrappers@13.12.0 - @0x/migrations@6.5.9 - @0x/order-utils@10.4.13 - @0x/protocol-utils@1.1.3
100 lines
7.9 KiB
JSON
100 lines
7.9 KiB
JSON
{
|
|
"name": "@0x/contracts-zero-ex",
|
|
"version": "0.17.0",
|
|
"engines": {
|
|
"node": ">=6.12"
|
|
},
|
|
"description": "Extensible contracts for interacting with the 0x protocol",
|
|
"main": "lib/src/index.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn pre_build && yarn build:ts",
|
|
"build:ci": "yarn build",
|
|
"build:ts": "tsc -b",
|
|
"pre_build": "run-s compile contracts:gen generate_contract_wrappers contracts:copy",
|
|
"test": "yarn run_mocha",
|
|
"rebuild_and_test": "run-s build test",
|
|
"test:coverage": "SOLIDITY_COVERAGE=true run-s build run_mocha coverage:report:text coverage:report:lcov",
|
|
"test:profiler": "SOLIDITY_PROFILER=true run-s build run_mocha profiler:report:html",
|
|
"test:trace": "SOLIDITY_REVERT_TRACE=true run-s build run_mocha",
|
|
"run_mocha": "mocha --require source-map-support/register --require make-promises-safe 'lib/test/**/*.js' --timeout 100000 --bail --exit",
|
|
"compile": "sol-compiler",
|
|
"watch": "sol-compiler -w",
|
|
"clean": "shx rm -rf lib test/generated-artifacts test/generated-wrappers generated-artifacts generated-wrappers",
|
|
"generate_contract_wrappers": "abi-gen --debug --abis ${npm_package_config_abis} --output test/generated-wrappers --backend ethers",
|
|
"lint": "tslint --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./test/generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude ./test/generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts",
|
|
"fix": "tslint --fix --format stylish --project . --exclude ./generated-wrappers/**/* --exclude ./generated-artifacts/**/* --exclude ./test/generated-wrappers/**/* --exclude ./test/generated-artifacts/**/* --exclude **/lib/**/* && yarn lint-contracts",
|
|
"coverage:report:text": "istanbul report text",
|
|
"coverage:report:html": "istanbul report html && open coverage/index.html",
|
|
"profiler:report:html": "istanbul report html && open coverage/index.html",
|
|
"coverage:report:lcov": "istanbul report lcov",
|
|
"test:circleci": "yarn test",
|
|
"contracts:gen": "contracts-gen generate",
|
|
"contracts:copy": "contracts-gen copy",
|
|
"lint-contracts": "#solhint -c ../.solhint.json contracts/**/**/**/**/*.sol",
|
|
"compile:truffle": "truffle compile",
|
|
"docs:md": "ts-doc-gen --sourceDir='$PROJECT_FILES' --output=$MD_FILE_DIR --fileExtension=mdx --tsconfig=./typedoc-tsconfig.json",
|
|
"docs:json": "typedoc --excludePrivate --excludeExternals --excludeProtected --ignoreCompilerErrors --target ES5 --tsconfig typedoc-tsconfig.json --json $JSON_FILE_PATH $PROJECT_FILES",
|
|
"publish:private": "yarn build && gitpkg publish",
|
|
"rollback": "node ./lib/scripts/rollback.js"
|
|
},
|
|
"config": {
|
|
"publicInterfaceContracts": "IZeroEx,ZeroEx,FullMigration,InitialMigration,IFlashWallet,IAllowanceTarget,IERC20Transformer,IOwnableFeature,ISimpleFunctionRegistryFeature,ITokenSpenderFeature,ITransformERC20Feature,FillQuoteTransformer,PayTakerTransformer,WethTransformer,OwnableFeature,SimpleFunctionRegistryFeature,TransformERC20Feature,TokenSpenderFeature,AffiliateFeeTransformer,SignatureValidatorFeature,MetaTransactionsFeature,LogMetadataTransformer,BridgeAdapter,LiquidityProviderFeature,ILiquidityProviderFeature,NativeOrdersFeature,INativeOrdersFeature,FeeCollectorController,FeeCollector",
|
|
"abis:comment": "This list is auto-generated by contracts-gen. Don't edit manually.",
|
|
"abis": "./test/generated-artifacts/@(AffiliateFeeTransformer|AllowanceTarget|BootstrapFeature|BridgeAdapter|FeeCollector|FeeCollectorController|FillQuoteTransformer|FixinCommon|FixinEIP712|FixinProtocolFees|FixinReentrancyGuard|FixinTokenSpender|FlashWallet|FullMigration|IAllowanceTarget|IBootstrapFeature|IBridgeAdapter|IERC20Bridge|IERC20Transformer|IExchange|IFeature|IFlashWallet|IGasToken|ILiquidityProvider|ILiquidityProviderFeature|ILiquidityProviderSandbox|IMetaTransactionsFeature|INativeOrdersFeature|IOwnableFeature|ISignatureValidatorFeature|ISimpleFunctionRegistryFeature|IStaking|ITestSimpleFunctionRegistryFeature|ITokenSpenderFeature|ITransformERC20Feature|IUniswapFeature|IZeroEx|InitialMigration|LibBootstrap|LibCommonRichErrors|LibERC20Transformer|LibFeeCollector|LibLiquidityProviderRichErrors|LibMetaTransactionsRichErrors|LibMetaTransactionsStorage|LibMigrate|LibNativeOrder|LibNativeOrdersRichErrors|LibNativeOrdersStorage|LibOrderHash|LibOwnableRichErrors|LibOwnableStorage|LibProxyRichErrors|LibProxyStorage|LibReentrancyGuardStorage|LibSignature|LibSignatureRichErrors|LibSimpleFunctionRegistryRichErrors|LibSimpleFunctionRegistryStorage|LibSpenderRichErrors|LibStorage|LibTokenSpenderStorage|LibTransformERC20RichErrors|LibTransformERC20Storage|LibWalletRichErrors|LiquidityProviderFeature|LiquidityProviderSandbox|LogMetadataTransformer|MetaTransactionsFeature|MixinAdapterAddresses|MixinBalancer|MixinBancor|MixinCoFiX|MixinCryptoCom|MixinCurve|MixinDodo|MixinKyber|MixinMStable|MixinMooniswap|MixinOasis|MixinShell|MixinSushiswap|MixinUniswap|MixinUniswapV2|MixinZeroExBridge|NativeOrdersFeature|OwnableFeature|PayTakerTransformer|PermissionlessTransformerDeployer|SignatureValidatorFeature|SimpleFunctionRegistryFeature|TestBridge|TestCallTarget|TestDelegateCaller|TestFeeCollectorController|TestFillQuoteTransformerBridge|TestFillQuoteTransformerExchange|TestFillQuoteTransformerHost|TestFixinProtocolFees|TestFixinTokenSpender|TestFullMigration|TestInitialMigration|TestLibNativeOrder|TestLibSignature|TestLiquidityProvider|TestMetaTransactionsNativeOrdersFeature|TestMetaTransactionsTransformERC20Feature|TestMigrator|TestMintTokenERC20Transformer|TestMintableERC20Token|TestNativeOrdersFeature|TestPermissionlessTransformerDeployerSuicidal|TestPermissionlessTransformerDeployerTransformer|TestRfqOriginRegistration|TestSimpleFunctionRegistryFeatureImpl1|TestSimpleFunctionRegistryFeatureImpl2|TestStaking|TestTokenSpender|TestTokenSpenderERC20Token|TestTransformERC20|TestTransformerBase|TestTransformerDeployerTransformer|TestTransformerHost|TestWeth|TestWethTransformerHost|TestZeroExFeature|TokenSpenderFeature|TransformERC20Feature|Transformer|TransformerDeployer|UniswapFeature|WethTransformer|ZeroEx|ZeroExOptimized).json"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/0xProject/protocol.git"
|
|
},
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/0xProject/protocol/issues"
|
|
},
|
|
"homepage": "https://github.com/0xProject/protocol/tree/main/contracts/zero-ex",
|
|
"devDependencies": {
|
|
"@0x/abi-gen": "^5.4.13",
|
|
"@0x/contract-addresses": "^5.8.0",
|
|
"@0x/contracts-erc20": "^3.3.0",
|
|
"@0x/contracts-gen": "^2.0.24",
|
|
"@0x/contracts-test-utils": "^5.3.18",
|
|
"@0x/dev-utils": "^4.1.3",
|
|
"@0x/order-utils": "^10.4.13",
|
|
"@0x/sol-compiler": "^4.4.1",
|
|
"@0x/ts-doc-gen": "^0.0.28",
|
|
"@0x/tslint-config": "^4.1.3",
|
|
"@types/isomorphic-fetch": "^0.0.35",
|
|
"@types/lodash": "4.14.104",
|
|
"@types/mocha": "^5.2.7",
|
|
"@types/prompts": "^2.0.9",
|
|
"isomorphic-fetch": "^3.0.0",
|
|
"lodash": "^4.17.11",
|
|
"mocha": "^6.2.0",
|
|
"npm-run-all": "^4.1.2",
|
|
"prompts": "^2.4.0",
|
|
"shx": "^0.2.2",
|
|
"solhint": "^1.4.1",
|
|
"truffle": "^5.0.32",
|
|
"tslint": "5.11.0",
|
|
"typedoc": "~0.16.11",
|
|
"typescript": "3.0.1"
|
|
},
|
|
"dependencies": {
|
|
"@0x/base-contract": "^6.2.14",
|
|
"@0x/protocol-utils": "^1.1.3",
|
|
"@0x/subproviders": "^6.2.3",
|
|
"@0x/types": "^3.3.1",
|
|
"@0x/typescript-typings": "^5.1.6",
|
|
"@0x/utils": "^6.1.1",
|
|
"@0x/web3-wrapper": "^7.3.0",
|
|
"ethereum-types": "^3.4.0",
|
|
"ethereumjs-util": "^5.1.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"gitHead": "4f91bfd907996b2f4dd383778b50c479c2602b56"
|
|
}
|