UNPKG

react-native-haptic-feedback

Version:
134 lines (133 loc) 3.27 kB
{ "name": "react-native-haptic-feedback", "version": "3.0.0", "description": "Basic haptic feedback for iOS and android", "license": "MIT", "source": "src/index.ts", "main": "./lib/commonjs/index.js", "react-native": "src/index.ts", "module": "./lib/module/index.js", "types": "lib/typescript/index.d.ts", "exports": { ".": { "types": "./lib/typescript/index.d.ts", "react-native": "./src/index.ts", "import": "./lib/module/index.js", "require": "./lib/commonjs/index.js", "default": "./lib/commonjs/index.js" }, "./package.json": "./package.json" }, "scripts": { "typecheck": "tsc --noEmit --project tsconfig.test.json", "test": "jest", "build": "bob build", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepare": "husky", "docs:dev": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:preview": "vitepress preview docs" }, "keywords": [ "react-native", "haptic", "haptic-feedback", "android", "ios", "native", "feedback" ], "files": [ "src", "lib", "android", "ios", "cpp", "app.plugin.js", "*.podspec", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/.*" ], "author": "Michael Kuczera", "peerDependencies": { "react": ">=18.0.0", "react-native": ">=0.71.0" }, "peerDependenciesMeta": { "react": { "optional": true } }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "repository": { "type": "git", "url": "https://github.com/mkuczera/react-native-haptic-feedback.git" }, "homepage": "https://github.com/mkuczera/react-native-haptic-feedback", "readme": "https://github.com/mkuczera/react-native-haptic-feedback#readme", "bugs": { "url": "https://github.com/mkuczera/react-native-haptic-feedback/issues" }, "codegenConfig": { "name": "RNHapticFeedbackSpec", "type": "modules", "jsSrcsDir": "./src/codegenSpec", "android": { "javaPackageName": "com.mkuczera.haptic" } }, "devDependencies": { "@babel/core": "^7", "@babel/preset-env": "^7", "@babel/preset-react": "^7", "@babel/runtime": "^7.28.6", "@eslint/js": "^9", "@types/jest": "^29", "@types/node": "^22", "@types/react": "^18", "@types/react-native": "^0.71", "babel-jest": "^29.7.0", "eslint": "9.x", "eslint-config-prettier": "^9", "eslint-plugin-prettier": "^5", "globals": "^15", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15", "prettier": "^3", "react": "^18.0.0", "react-native": "^0.74.7", "react-native-builder-bob": "^0.29", "ts-jest": "^29", "tslib": "^2", "turbo": "^2", "typescript": "^5", "typescript-eslint": "^8", "vitepress": "^1.6.4" }, "lint-staged": { "*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{js,json,md}": "prettier --write" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }