UNPKG

react-native-nitro-haptics

Version:

Low Latency Haptic Feedback with Worklet Support for React Native

114 lines (113 loc) 2.81 kB
{ "name": "react-native-nitro-haptics", "version": "0.1.0", "description": "Low Latency Haptic Feedback with Worklet Support for React Native", "main": "lib/index", "module": "lib/index", "types": "lib/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "react-native.config.js", "lib", "nitrogen", "android/build.gradle", "android/gradle.properties", "android/CMakeLists.txt", "android/src", "ios/**/*.h", "ios/**/*.m", "ios/**/*.mm", "ios/**/*.cpp", "ios/**/*.swift", "app.plugin.js", "*.podspec", "README.md" ], "scripts": { "postinstall": "tsc || exit 0;", "example": "npm run -w example", "typecheck": "tsc --noEmit", "clean": "rm -rf android/build node_modules/**/android/build lib", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", "lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions", "build": "tsc && nitro-codegen --logLevel=\"debug\"" }, "workspaces": [ "example" ], "keywords": [ "react-native", "nitro", "nitro-module", "haptics", "haptic-feedback" ], "repository": { "type": "git", "url": "git+https://github.com/oblador/react-native-nitro-haptics.git" }, "author": "Joel Arvidsson <joel@oblador.se> (https://github.com/oblador)", "license": "MIT", "bugs": { "url": "https://github.com/oblador/react-native-nitro-haptics/issues" }, "homepage": "https://github.com/oblador/react-native-nitro-haptics#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@jamesacarr/eslint-formatter-github-actions": "^0.2.0", "@react-native/eslint-config": "0.78.0", "@types/jest": "^29.5.13", "@types/react": "^19.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "nitro-codegen": "0.24.1", "prettier": "^3.3.3", "react": "19.0.0", "react-native": "0.78.0", "react-native-nitro-modules": "0.24.1", "typescript": "^5.5.4" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-nitro-modules": "*" }, "eslintConfig": { "root": true, "extends": [ "@react-native", "prettier" ], "plugins": [ "prettier" ], "rules": { "prettier/prettier": [ "warn", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "all", "useTabs": false } }