UNPKG

react-native-obd-retriver

Version:

A React Native hook library to manage Bluetooth Low Energy connections and communication with ELM327 OBD-II adapters.

198 lines (197 loc) 5 kB
{ "name": "react-native-obd-retriver", "version": "1.0.4", "description": "A React Native hook library to manage Bluetooth Low Energy connections and communication with ELM327 OBD-II adapters.", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/src/index.d.ts", "react-native": "lib/module/index.js", "source": "lib/module/index.js", "exports": { ".": { "types": "./lib/typescript/src/index.d.ts", "import": "./lib/module/index.js", "require": "./lib/commonjs/index.js", "react-native": "./src/index.ts", "default": "./lib/module/index.js" } }, "files": [ "lib", "!lib/**/*.map", "!**/__tests__/**", "!**/__fixtures__/**", "!**/__mocks__/**", "!**/*.test.ts", "!**/*.test.tsx" ], "scripts": { "build": "yarn clean && bob build", "clean": "del-cli lib", "prepare": "yarn build", "test": "jest --config jest.config.cjs", "lint": "eslint src", "format": "prettier --write .", "format:src": "prettier --write \"src/**/*.{ts,tsx}\"", "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"", "test:coverage": "jest --coverage", "type-check": "tsc --noEmit" }, "keywords": [ "react-native", "ios", "android", "bluetooth", "ble", "obd", "obd2", "elm327", "automotive" ], "repository": { "type": "git", "url": "git+https://github.com/rakshitbharat/react-native-bluetooth-obd-manager.git" }, "author": "rakshitbharat", "license": "MIT", "bugs": { "url": "https://github.com/rakshitbharat/react-native-bluetooth-obd-manager/issues" }, "homepage": "https://github.com/rakshitbharat/react-native-bluetooth-obd-manager#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "access": "public" }, "peerDependencies": { "react": ">=17.0.2", "react-native": ">=0.64.0", "react-native-ble-manager": ">=10.1.3", "react-native-permissions": ">=3.0.0" }, "dependencies": { "react-native-beautiful-logs": "^1.0.8", "react-native-ble-manager": ">=10.1.3", "react-native-bluetooth-obd-manager": "^1.0.3", "text-encoding": "^0.7.0" }, "devDependencies": { "@babel/eslint-parser": "*", "@babel/plugin-proposal-export-namespace-from": "^7.18.9", "@react-native-community/eslint-config": "*", "@testing-library/jest-native": "*", "@testing-library/react-native": "^13.2.0", "@types/jest": "*", "@types/react": "*", "@types/react-native": "*", "@types/text-encoding": "^0.0.40", "@typescript-eslint/eslint-plugin": "*", "@typescript-eslint/parser": "*", "babel-jest": "*", "commitlint": "*", "del-cli": "*", "eslint": "*", "eslint-config-prettier": "*", "eslint-plugin-jest": "^27.4.0", "eslint-plugin-prettier": "*", "eslint-plugin-react": "*", "eslint-plugin-react-hooks": "*", "eslint-plugin-react-native": "^5.0.0", "husky": "*", "jest": "*", "jest-environment-jsdom": "^29.7.0", "jest-react-native": "^18.0.0", "lint-staged": "*", "metro-react-native-babel-preset": "^0.77.0", "pod-install": "*", "prettier": "*", "react": "*", "react-native": "*", "react-native-builder-bob": "^0.20.0", "react-native-permissions": "*", "react-test-renderer": "18.2.0", "ts-jest": "*", "typescript": "*" }, "resolutions": { "@types/react": "~18.2.45", "react": "18.2.0" }, "engines": { "node": ">=14", "yarn": ">=1.22" }, "packageManager": "yarn@1.22.19", "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": [ "./eslint.config.js" ] }, "eslintIgnore": [ "node_modules/", "lib/", "dist/", "coverage/", "example/" ], "prettier": "./.prettierrc.js", "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs", { "configFile": "./babel.config.cjs", "sourceMaps": true, "includeBuildMetadata": true } ], [ "module", { "configFile": "./babel.config.cjs", "sourceMaps": true, "includeBuildMetadata": true } ], [ "typescript", { "project": "tsconfig.build.json", "tsc": "./node_modules/.bin/tsc", "declarationOnly": true } ] ] }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{json,md,yaml,yml}": [ "prettier --write" ] }, "babel": { "extends": "./babel.config.cjs" } }