UNPKG

pinar

Version:

Customizable, lightweight React Native carousel component with accessibility support

173 lines (172 loc) 4.46 kB
{ "name": "pinar", "version": "0.12.2", "description": "Customizable, lightweight React Native carousel component with accessibility support", "main": "dist/src/index.js", "homepage": "https://github.com/kristerkari/pinar#readme", "repository": { "type": "git", "url": "git+https://github.com/kristerkari/pinar.git" }, "bugs": { "url": "https://github.com/kristerkari/pinar/issues" }, "keywords": [ "react", "react-component", "react-native", "ReactNative", "ios", "android", "carousel", "carousel-component", "slider", "swiper", "scrollview" ], "scripts": { "postinstall": "patch-package", "prepublish": "npm run build", "build": "tsc --outDir dist", "release": "npmpub", "tsc": "tsc --noEmit", "lint": "eslint . --fix --ext .ts,.tsx", "functional": "detox build --configuration ios.sim.debug && detox test --configuration ios.sim.debug", "test": "jest" }, "files": [ "dist", "src", "!**/examples", "!**/__tests__", "!**/__mocks__", "index.d.ts", "CHANGELOG.md", "README.md" ], "author": "Krister Kari", "license": "MIT", "devDependencies": { "@babel/core": "^7.12.9", "@babel/plugin-proposal-private-methods": "^7.18.6", "@babel/runtime": "^7.12.5", "@types/enzyme": "^3.9.1", "@types/jest": "^29.2.1", "@types/node": "^16.3.1", "@types/react": "^18.0.26", "@typescript-eslint/eslint-plugin": "^4.28.2", "@typescript-eslint/parser": "^4.28.2", "babel-jest": "^29.3.1", "detox": "^20.1.1", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.12.1", "enzyme-to-json": "^3.3.5", "eslint": "^7.32.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-react": "^7.27.0", "eslint-plugin-react-native": "^4.0.0", "eslint-plugin-react-native-a11y": "^3.0.0", "husky": "^1.3.1", "jest": "^29.2.1", "jest-circus": "^29.3.1", "lint-staged": "^13.1.0", "npmpub": "^5.1.1", "prettier": "^2.3.2", "react": "18.2.0", "react-dom": "18.2.0", "react-native": "0.71.7", "rimraf": "^5.0.0", "tslib": "^2.4.0", "typescript": "5.0.4" }, "peerDependencies": { "react": ">=16.0.0", "react-native": ">=0.49.0" }, "lint-staged": { "**/*.{json,md,js,jsx,ts,tsx}": [ "prettier --write", "git add" ] }, "jest": { "preset": "react-native", "verbose": true, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx" ], "modulePathIgnorePatterns": [ "<rootDir>/examples" ], "testMatch": [ "**/__tests__/**/*.(js|ts)?(x)", "**/?(*.)+(spec|test).(js|ts)?(x)" ], "testPathIgnorePatterns": [ "<rootDir>/dist", "<rootDir>/node_modules", "<rootDir>/examples", "<rootDir>/e2e" ], "transformIgnorePatterns": [ "\\.snap$", "<rootDir>/node_modules/?!(react-native)" ], "transform": { "^.+\\.(js|jsx|ts|tsx)?$": "babel-jest" }, "setupFilesAfterEnv": [ "<rootDir>config/jest/setupTests.js" ], "snapshotSerializers": [ "enzyme-to-json/serializer" ] }, "detox": { "apps": { "ios.debug": { "type": "ios.app", "binaryPath": "examples/ios/build/Build/Products/Debug-iphonesimulator/examples.app", "build": "xcodebuild -workspace examples/ios/examples.xcworkspace -scheme examples -configuration Debug -sdk iphonesimulator -derivedDataPath examples/ios/build" }, "ios.release": { "type": "ios.app", "binaryPath": "examples/ios/build/Build/Products/Release-iphonesimulator/examples.app", "build": "xcodebuild -workspace examples/ios/examples.xcworkspace -scheme examples -configuration Release -sdk iphonesimulator -derivedDataPath examples/ios/build" } }, "configurations": { "ios.sim.debug": { "device": "ios.simulator", "app": "ios.debug" }, "ios.sim.release": { "device": "ios.simulator", "app": "ios.release" } }, "devices": { "ios.simulator": { "type": "ios.simulator", "device": { "type": "iPhone 14 Pro" } } }, "testRunner": { "$0": "jest", "args": { "config": "e2e/jest.config.js", "_": [ "e2e" ] } } }, "dependencies": { "patch-package": "^6.4.7" } }