@cowprotocol/cow-sdk
Version:
CoW Protocol SDK - get quote, configure your order, and trade
83 lines • 2.17 kB
JSON
{
"name": "@cowprotocol/cow-sdk",
"version": "9.1.3",
"license": "(MIT OR Apache-2.0)",
"description": "CoW Protocol SDK - get quote, configure your order, and trade",
"repository": {
"type": "git",
"url": "https://github.com/cowprotocol/cow-sdk.git",
"directory": "packages/sdk"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"sideEffects": false,
"files": [
"dist/**"
],
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@types/node": "^20.17.31",
"jest": "^29.7.0",
"shx": "^0.3.4",
"ts-node": "^10.8.2",
"tsup": "^7.2.0",
"typescript": "^5.2.2",
"@cow-sdk/typescript-config": "0.0.0-beta.0"
},
"dependencies": {
"@cowprotocol/sdk-common": "0.11.0",
"@cowprotocol/sdk-app-data": "5.1.3",
"@cowprotocol/sdk-contracts-ts": "3.1.0",
"@cowprotocol/sdk-order-book": "3.2.0",
"@cowprotocol/sdk-order-signing": "1.0.4",
"@cowprotocol/sdk-config": "2.2.0",
"@cowprotocol/sdk-trading": "2.1.0"
},
"peerDependencies": {
"@openzeppelin/merkle-tree": "^1.x",
"cross-fetch": "^3.x",
"multiformats": "^9.x"
},
"peerDependenciesMeta": {
"cross-fetch": {
"optional": false
},
"multiformats": {
"optional": true
},
"@openzeppelin/merkle-tree": {
"optional": true
}
},
"keywords": [
"cow",
"cow-protocol",
"sdk",
"crypto",
"typescript",
"subgraph"
],
"bugs": {
"url": "https://github.com/cowprotocol/cow-sdk/issues"
},
"homepage": "https://github.com/cowprotocol/cow-sdk#readme",
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --treeshake",
"postbuild": "pnpm copy-package-json && pnpm copy-md-files",
"copy-package-json": "npx shx cp package.json dist",
"copy-md-files": "npx cpx \"*.md\" dist",
"lint": "eslint src/**/*.ts",
"typecheck": "tsc --noEmit",
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
}
}