@yoroi/common
Version:
The Common package of Yoroi SDK
230 lines (229 loc) • 5.88 kB
JSON
{
"name": "@yoroi/common",
"version": "2.0.0",
"description": "The Common package of Yoroi SDK",
"keywords": [
"yoroi",
"cardano",
"swap",
"browser",
"react"
],
"homepage": "https://github.com/Emurgo/yoroi/packages/common#readme",
"bugs": {
"url": "https://github.com/Emurgo/yoroi/issues"
},
"repository": {
"type": "github",
"url": "https://github.com/Emurgo/yoroi.git",
"directory": "packages/common"
},
"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": "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 --maxWorkers=1",
"test:watch": "jest --watch --debug --maxWorkers=1",
"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",
"coverage/"
],
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts",
"!src/fixtures/**"
],
"coverageReporters": [
"text-summary",
"lcov",
"html"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
],
"preset": "react-native",
"setupFiles": [
"<rootDir>/jest.setup.js"
]
},
"dependencies": {
"axios": "^1.5.0"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@react-native-async-storage/async-storage": "^1.19.3",
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^5.0.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^14.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/react-native": "^12.3.0",
"@tsconfig/react-native": "^3.0.3",
"@types/jest": "^29.5.12",
"@types/react": "^18.2.55",
"@types/react-test-renderer": "^18.0.7",
"@yoroi/types": "2.0.0",
"axios-mock-adapter": "^1.21.5",
"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-ft-flow": "^3.0.0",
"eslint-plugin-prettier": "^4.0.0",
"flowgen": "^1.21.0",
"immer": "^10.0.3",
"jest": "^28.1.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"react": "18.2.0",
"react-native": "~0.71.0",
"react-native-builder-bob": "^0.23.2",
"react-native-mmkv": "^2.11.0",
"react-query": "^3.39.3",
"react-test-renderer": "^18.2.0",
"release-it": "^15.0.0",
"rxjs": "^7.8.1",
"typescript": "^5.3.3",
"zod": "^3.22.1"
},
"peerDependencies": {
"@react-native-async-storage/async-storage": ">= 1.19.3 <= 1.20.0",
"axios": "^1.5.0",
"bignumber.js": "^9.0.1",
"immer": "^10.0.3",
"react": ">= 16.8.0 <= 19.0.0",
"react-native-mmkv": "^2.11.0",
"react-query": "^3.39.3",
"rxjs": "^7.8.1",
"zod": "^3.22.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": false
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
}