UNPKG

@yoroi/swap

Version:
152 lines (151 loc) 4.75 kB
{ "name": "@yoroi/swap", "version": "6.0.1", "description": "The Swap package of Yoroi SDK", "keywords": [ "yoroi", "cardano", "swap", "browser", "react", "react-native", "typescript" ], "homepage": "https://github.com/Emurgo/yoroi/tree/develop/packages/swap/README.md", "bugs": { "url": "https://github.com/Emurgo/yoroi/issues" }, "repository": { "type": "github", "url": "https://github.com/Emurgo/yoroi.git", "directory": "packages/swap" }, "license": "Apache-2.0", "author": "EMURGO Fintech <support@emurgo.com> (https://github.com/Emurgo/yoroi)", "contributors": [ { "name": "Juliano Lazzarotto", "email": "30806844+stackchain@users.noreply.github.com" } ], "main": "lib/commonjs/index", "module": "lib/module/index", "source": "src/index", "browser": "lib/module/index", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "build": "npm run tsc && npm run lint && npm run test --ci --silent && npm run clean && bob build", "build:dev": "npm run tsc && npm run clean && bob build", "build:release": "npm run build && npm run flow", "clean": "del-cli lib", "dev": "npm run clean && bob build", "dgraph": "depcruise src --include-only \"^src\" --output-type dot | dot -T svg > dependency-graph.svg", "flow": ". ./scripts/flowgen.sh", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "npm run build:release", "prepublish:beta": "npm run build:release", "publish:beta": "npm publish --scope yoroi --tag beta --access beta", "prepublish:prod": "npm run build:release", "publish:prod": "npm publish --scope yoroi --access public", "release": "release-it", "test": "jest --maxWorkers=1", "test:watch": "jest --watch --maxWorkers=1", "tsc": "tsc --noEmit -p tsconfig.json" }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.3", "@babel/runtime": "^7.25.0", "@commitlint/config-conventional": "^17.0.2", "@react-native-community/cli": "18.0.0", "@react-native-community/cli-platform-android": "18.0.0", "@react-native-community/cli-platform-ios": "18.0.0", "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.79.2", "@react-native/eslint-config": "0.79.2", "@react-native/metro-config": "0.79.2", "@react-native/typescript-config": "0.79.2", "@release-it/conventional-changelog": "^10.0.1", "@tanstack/react-query": "^5.76.2", "@testing-library/jest-dom": "^6.4.2", "@testing-library/react": "^16.3.0", "@testing-library/react-native": "^13.2.0", "@tsconfig/react-native": "^3.0.3", "@types/jest": "^29.5.12", "@types/react": "^19.0.0", "@types/react-test-renderer": "^19.1.0", "@yoroi/api": "6.0.0", "@yoroi/common": "6.0.0", "@yoroi/types": "6.0.0", "@yoroi/portfolio": "6.0.0", "axios": "^1.10.0", "axios-mock-adapter": "^1.22.0", "babel-jest": "^29.7.0", "bignumber.js": "9.3.0", "commitlint": "^17.0.2", "del-cli": "^6.0.0", "dependency-cruiser": "^16.10.2", "eslint": "^8.56.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-ft-flow": "^3.0.11", "eslint-plugin-prettier": "^5.4.0", "flowgen": "^1.21.0", "immer": "10.1.1", "jest": "^29.7.0", "jest-expo": "^53.0.5", "pod-install": "^0.1.0", "prettier": "^3.5.3", "react": "19.1.0", "react-native": "0.79.0", "react-native-builder-bob": "^0.40.11", "react-native-mmkv": "^3.2.0", "react-test-renderer": "^19.1.0", "release-it": "^19.0.2", "rxjs": "7.8.2", "typescript": "^5.3.3", "zod": "3.25.17" }, "dependencies": { "@emurgo/cip4-js": "^1.0.7", "@tanstack/react-query": "5.76.2", "@yoroi/api": "6.0.0", "@yoroi/common": "6.0.0", "@yoroi/portfolio": "6.0.0", "bignumber.js": "9.3.0", "immer": "10.1.1", "react": ">= 16.8.0 < 20.0.0", "react-native-mmkv": "3.2.0", "rxjs": "7.8.2", "zod": "3.25.17" }, "peerDependencies": { "@react-native-async-storage/async-storage": "2.1.2", "@tanstack/react-query": "5.76.2", "@yoroi/common": "6.0.0", "@yoroi/portfolio": "6.0.0", "bignumber.js": "9.3.0", "immer": "10.1.1", "react": ">= 16.8.0 < 20.0.0", "react-native-mmkv": "3.2.0", "rxjs": "7.8.2", "zod": "3.25.17" }, "packageManager": "npm@10.9.0", "engines": { "node": ">= 22.12.0" } }