UNPKG

react-native-nitro-haptics

Version:

Low Latency Haptic Feedback with Worklet Support for React Native

127 lines (126 loc) 3.08 kB
{ "name": "react-native-nitro-haptics", "version": "0.2.3", "description": "Low Latency Haptic Feedback with Worklet Support for React Native", "main": "./lib/commonjs/index.js", "module": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "scripts": { "prepare": "bob build", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\" --fix", "lint-ci": "eslint \"**/*.{js,ts,tsx}\" -f @jamesacarr/github-actions", "clean": "git clean -dfX", "build": "npm run typecheck && bob build", "codegen": "nitrogen --logLevel=\"debug\" && npm run build && node post-script.js" }, "keywords": [ "react-native", "nitro", "nitro-module", "haptics", "haptic-feedback" ], "files": [ "src", "react-native.config.js", "lib", "nitrogen", "cpp", "nitro.json", "android/build.gradle", "android/fix-prefab.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" ], "workspaces": [ "example" ], "repository": "https://github.com/oblador/react-native-nitro-haptics.git", "author": "Joel Arvidsson", "license": "MIT", "bugs": "https://github.com/oblador/react-native-nitro-haptics/issues", "homepage": "https://github.com/oblador/react-native-nitro-haptics#readme", "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@jamesacarr/eslint-formatter-github-actions": "^0.2.0", "@types/jest": "^29.5.12", "@types/react": "19.2.0", "conventional-changelog-conventionalcommits": "^9.1.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "nitrogen": "0.35.1", "prettier": "^3.3.3", "react": "19.2.3", "react-native": "0.84.1", "react-native-builder-bob": "^0.40.18", "react-native-nitro-modules": "0.35.1", "typescript": "^5.8.3" }, "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 }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.json" } ] ] } }