UNPKG

react-native-hapticlabs

Version:

A package to play back haptics developed using Hapticlabs Studio

192 lines (191 loc) 4.42 kB
{ "name": "react-native-hapticlabs", "version": "0.10.2", "description": "A package to play back haptics developed using Hapticlabs Studio", "main": "./lib/module/index.js", "types": "./lib/typescript/src/index.d.ts", "exports": { ".": { "source": "./src/index.tsx", "types": "./lib/typescript/src/index.d.ts", "default": "./lib/module/index.js" }, "./package.json": "./package.json" }, "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": { "example": "yarn workspace react-native-hapticlabs-example", "test": "jest", "typecheck": "tsc", "lint": "eslint \"**/*.{js,ts,tsx}\"", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib", "prepare": "bob build", "release": "release-it" }, "keywords": [ "react-native", "ios", "android", "haptics", "vibration", "ahap", "hla", "ogg", "hapticlabs" ], "repository": { "type": "git", "url": "git+https://github.com/HapticlabsIO/react-native-hapticlabs.git" }, "author": "Michi <michael@hapticlabs.io> (https://www.hapticlabs.io/)", "license": "MIT", "bugs": { "url": "https://github.com/HapticlabsIO/react-native-hapticlabs/issues" }, "homepage": "https://github.com/HapticlabsIO/react-native-hapticlabs#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@eslint/compat": "^1.3.2", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.35.0", "@react-native-community/cli": "20.0.1", "@react-native/babel-preset": "0.81.1", "@react-native/eslint-config": "^0.81.1", "@release-it/conventional-changelog": "^8.0.2", "@types/jest": "^29.5.14", "@types/react": "^19.1.0", "commitlint": "^19.8.1", "del-cli": "^6.0.0", "eslint": "^9.35.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.4", "jest": "^29.7.0", "lefthook": "^2.0.3", "prettier": "^2.8.8", "react": "19.1.0", "react-native": "0.81.1", "react-native-builder-bob": "^0.40.13", "release-it": "^19.0.4", "turbo": "^2.5.6", "typescript": "^5.9.2" }, "peerDependencies": { "react": "*", "react-native": "*" }, "workspaces": [ "example" ], "packageManager": "yarn@3.6.1", "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": { "react/react-in-jsx-scope": "off", "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 }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ [ "module", { "esm": true } ], [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "create-react-native-library": { "type": "turbo-module", "languages": "kotlin-swift", "version": "0.41.0" }, "codegenConfig": { "name": "HapticlabsSpec", "type": "modules", "jsSrcsDir": "src", "android": { "javaPackageName": "io.hapticlabs.reactnativehapticlabs" } } }