UNPKG

@yoroi/types

Version:

The Yoroi Types package of Yoroi SDK

165 lines (164 loc) 4.1 kB
{ "name": "@yoroi/types", "version": "1.5.10", "description": "The Yoroi Types package of Yoroi SDK", "keywords": [ "yoroi", "cardano", "types" ], "homepage": "https://github.com/Emurgo/yoroi/packages/types#readme", "bugs": { "url": "https://github.com/Emurgo/yoroi/issues" }, "repository": { "type": "github", "url": "https://github.com/Emurgo/yoroi.git", "directory": "packages/types" }, "license": "Apache-2.0", "author": "EMURGO Fintech <support@emurgo.com> (https://github.com/Emurgo/yoroi)", "contributors": [ { "name": "Juliano Lazzarotto", "email": "juliano@stackchain.dev" } ], "main": "lib/commonjs/index", "module": "lib/module/index", "source": "src/index", "browser": "lib/module/index", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "build": "yarn tsc && yarn lint && yarn test --ci --silent && yarn clean && bob build", "build:dev": "yarn tsc && yarn clean && bob build", "build:release": "yarn build && yarn flow", "clean": "del-cli lib", "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": "yarn build:release", "prepublish:beta": "yarn build:release", "publish:beta": "npm publish --scope yoroi --tag beta --access beta", "prepublish:prod": "yarn build:release", "publish:prod": "npm publish --scope yoroi --access public", "release": "release-it", "test": "jest --passWithNoTests", "tsc": "tsc --noEmit -p tsconfig.json" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "prettier": { "bracketSpacing": false, "quoteProps": "consistent", "semi": false, "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": false }, "eslintConfig": { "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "bracketSpacing": false, "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": false, "semi": false } ] }, "root": true }, "eslintIgnore": [ "node_modules/", "lib/", "babel.config.js", "jest.setup.js" ], "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@release-it/conventional-changelog": "^5.0.0", "@testing-library/react-hooks": "^8.0.1", "@types/jest": "^29.5.12", "axios": "^1.5.0", "bignumber.js": "^9.0.1", "commitlint": "^17.0.2", "del-cli": "^5.0.0", "dependency-cruiser": "^13.1.1", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "flowgen": "^1.21.0", "jest": "^28.1.1", "prettier": "^2.0.5", "react-native-builder-bob": "^0.23.2", "release-it": "^15.0.0", "rxjs": "^7.8.1", "typescript": "^5.3.3" }, "peerDependencies": { "@emurgo/yoroi-lib": "^2.0.0", "axios": "^1.5.0", "bignumber.js": "^9.0.1", "rxjs": "^7.8.1" }, "packageManager": "yarn@1.22.21", "engines": { "node": ">= 16.19.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json", "tsc": "./node_modules/.bin/tsc" } ] ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } } }