UNPKG

react-native-reorderable-list

Version:

Reorderable list for React Native applications, powered by Reanimated

230 lines (229 loc) 5.35 kB
{ "name": "react-native-reorderable-list", "version": "0.17.0", "description": "Reorderable list for React Native applications, powered by Reanimated", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "release": "release-it", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn install" }, "keywords": [ "react-native", "ios", "android", "reanimated", "reorderable", "sortable", "flatlist", "list", "drag-and-drop", "dnd" ], "repository": { "type": "git", "url": "git+https://github.com/omahili/react-native-reorderable-list.git" }, "author": "Omar Mahili", "license": "MIT", "bugs": { "url": "https://github.com/omahili/react-native-reorderable-list/issues" }, "homepage": "https://github.com/omahili/react-native-reorderable-list#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "@babel/core": "^7.26.0", "@commitlint/config-conventional": "^17.0.2", "@react-native-community/eslint-config": "^3.0.2", "@react-native/babel-preset": "0.76.5", "@react-native/eslint-config": "0.76.5", "@react-native/metro-config": "0.76.5", "@react-native/typescript-config": "0.76.5", "@release-it/conventional-changelog": "^8.0.2", "@types/babel__core": "^7.20.5", "@types/react": "^18.3.9", "eslint": "^8.56.0", "eslint-config-prettier": "^8.5.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.0.0", "jest": "^29.6.3", "prettier": "^2.8.8", "react": "18.3.1", "react-native": "0.76.5", "react-native-builder-bob": "^0.20.0", "react-native-gesture-handler": "2.12.0", "react-native-reanimated": "3.12.0", "release-it": "^17.6.0", "tsc": "^2.0.4", "typescript": "5.0.4" }, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": ">=2.12.0", "react-native-reanimated": ">=3.12.0" }, "engines": { "node": ">= 18.0.0" }, "packageManager": "yarn@4.5.0", "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "hooks": { "before:release": [ "yarn lint", "yarn typecheck" ] }, "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" }, "infile": "CHANGELOG.md" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "plugin:import/recommended", "prettier" ], "plugins": [ "import" ], "rules": { "@typescript-eslint/no-explicit-any": "error", "no-console": "error", "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "bracketSpacing": false, "bracketSameLine": true, "trailingComma": "all", "arrowParens": "avoid" } ], "import/order": [ "error", { "groups": [ "builtin", "external" ], "pathGroups": [ { "pattern": "react+(|-native)", "group": "builtin", "position": "before" } ], "pathGroupsExcludedImportTypes": [ "react" ], "newlines-between": "always", "alphabetize": { "order": "asc", "caseInsensitive": true } } ], "sort-imports": [ "error", { "ignoreDeclarationSort": true } ] }, "settings": { "import/resolver": { "typescript": { "project": "tsconfig.json" } } } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "bracketSpacing": false, "bracketSameLine": true, "trailingComma": "all", "arrowParens": "avoid" }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] } }