UNPKG

react-native-tink-sdk

Version:
168 lines (167 loc) 5.54 kB
{ "name": "react-native-tink-sdk", "version": "3.0.0", "description": "NPM package for wrapping Tink SDKs", "main": "./lib/index.js", "types": "./lib/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "android:lint": "ktlint --editorconfig=.editorconfig 'android/**/*.kt'", "android:lint:fix": "ktlint -F --editorconfig=.editorconfig 'android/**/*.kt'", "ios:lint": "swiftlint lint --reporter json --config ./example/.swiftlint.yml ./ios", "ios:lint:fix": "swiftlint lint --autocorrect json --config ./example/.swiftlint.yml ./ios", "prepublishOnly": "yarn test && yarn run build && npm config set registry https://registry.npmjs.org/", "ios": "cd example && react-native run-ios", "android": "cd example && react-native run-android", "android:shake": "$ANDROID_HOME/platform-tools/adb devices | grep '\\t' | awk '{print $1}' | sed 's/\\s//g' | xargs -I {} $ANDROID_HOME/platform-tools/adb -s {} shell input keyevent 82", "android:adb_reverse": "$ANDROID_HOME/platform-tools/adb reverse tcp:1880 tcp:1880 && $ANDROID_HOME/platform-tools/adb reverse tcp:8081 tcp:8081 && $ANDROID_HOME/platform-tools/adb reverse tcp:9090 tcp:9090", "android:logcat": "$ANDROID_HOME/platform-tools/adb logcat", "android:clean": "./android/gradlew clean -p ./android/", "test": "./node_modules/.bin/jest --coverage --maxWorkers=50% --detectOpenHandles", "testw": "./node_modules/.bin/jest --watch --maxWorkers=25%", "testu": "./node_modules/.bin/jest --coverage -u", "lint": "tslint -p tsconfig.json 'src/*.tsx' 'src/**/*.tsx' 'src/**/*.ts'", "tsc": "tsc", "build": "yarn run build:clean && yarn run build:dts", "build:clean": "rm -rf ./lib", "build:yarn": "babel src --ignore '**/*.spec.tsx','**/*.spec.ts' --out-dir lib/ --extensions '.ts','.tsx'", "build:dts": "./node_modules/.bin/tsc --project tsconfig.lib.json", "copy-assets": "cp -R ./src/assets ./lib", "clean-test-cache": "jest --clearCache", "check_code": "yarn run testu; yarn run tsc; yarn run lint", "check_code:native": "yarn run android:lint; yarn run ios:lint", "prettier": "prettier --config ./.prettierrc --check \"src*/**/*.tsx\" ", "prettier:fix": "prettier --config ./.prettierrc --write --check \"src/**/*.tsx\" --check \"example/**/*.tsx\" ", "clean-cache": "react-native clean-project-auto && yarn install" }, "keywords": [ "tink", "open-banking", "react-native", "ios", "android" ], "repository": "https://github.com/Pxs-Corporate/react-native-tink", "author": "ATHIRA-THOMAS_proximus <athira.thomas.ext@proximus.com> (https://github.com/ATHIRA-THOMAS_proximus)", "license": "MIT", "bugs": { "url": "https://github.com/Pxs-Corporate/react-native-tink/issues" }, "homepage": "https://github.com/Pxs-Corporate/react-native-tink#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^17.0.2", "@react-native/eslint-config": "^0.72.2", "@release-it/conventional-changelog": "^5.0.0", "@types/jest": "^28.1.2", "@types/react": "~17.0.21", "@types/react-native": "0.70.0", "commitlint": "^17.0.2", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^28.1.1", "metro-react-native-babel-preset": "^0.76.8", "pod-install": "^0.1.0", "prettier": "^2.0.5", "react": "18.2.0", "react-native": "0.75.4", "react-native-builder-bob": "^0.20.0", "tslint": "^6.1.3", "tslint-config-airbnb-base": "^0.3.0", "tslint-config-prettier": "^1.18.0", "tslint-react": "^5.0.0", "typescript": "4.2.3" }, "resolutions": { "@types/react": "17.0.21" }, "peerDependencies": { "react": "18.2.0", "react-native": "0.75.4" }, "engines": { "node": ">= 18.0.0" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" }