UNPKG

3.15 kBJSONView Raw
1{
2 "name": "react-native-swippable-modal",
3 "version": "1.0.0",
4 "description": "A swippable modal using gesture handler and reanimated with customizable",
5 "main": "lib/index",
6 "types": "lib/index.d.ts",
7 "contributors": [],
8 "author": "Dhruv Harsora",
9 "repository": {
10 "type": "git",
11 "url": "https://github.com/DhruvHarsora-FullStackDeveloper/react-native-swippable-modal"
12 },
13 "homepage": "https://github.com/DhruvHarsora-FullStackDeveloper/react-native-swippable-modal#readme",
14 "keywords": [
15 "react",
16 "react-native",
17 "typescript",
18 "rn",
19 "ios",
20 "android",
21 "react-native-swippable-modal",
22 "modal",
23 "reanimated",
24 "gesture",
25 "components",
26 "react-native-swipe-modal",
27 "swipe",
28 "swipe-modal",
29 "react-native-scroll-down-modal",
30 "react-native-scroll-up-down-modal",
31 "react-native-swipe-modal-up-down",
32 "react-native-reanimated-component",
33 "gesture-handler"
34 ],
35 "license": "MIT",
36 "files": [
37 "/lib"
38 ],
39 "scripts": {
40 "prepare": "husky install && yarn build",
41 "clean": "rm -rf node_modules",
42 "build": "rm -rf lib && tsc -p . && cp -R ./src/assets ./lib/ ",
43 "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
44 "lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' -c .eslintrc --fix ",
45 "build:local": "yarn build && yarn pack",
46 "test": "jest",
47 "example": "yarn --cwd example"
48 },
49 "peerDependencies": {
50 "react": "*",
51 "react-native": "*",
52 "react-native-gesture-handler": ">=2.4.1",
53 "react-native-reanimated": ">=2.5.0"
54 },
55 "devDependencies": {
56 "@commitlint/cli": "^16.1.0",
57 "@commitlint/config-conventional": "^16.0.0",
58 "@react-native-community/eslint-config": "^3.0.1",
59 "@testing-library/react-native": "^9.0.0",
60 "@types/jest": "^27.4.0",
61 "babel-jest": "^27.4.6",
62 "eslint-plugin-simple-import-sort": "^7.0.0",
63 "jest": "^27.4.7",
64 "react-native-gesture-handler": ">=2.4.1",
65 "react-native-reanimated": ">=2.5.0",
66 "husky": "^8.0.1",
67 "lint-staged": "^11.1.2",
68 "prettier": "^2.7.1",
69 "react": "18.0.0",
70 "react-native": "0.69.5",
71 "typescript": "4.7.4",
72 "@babel/core": "^7.12.9",
73 "@babel/runtime": "^7.12.5",
74 "@tsconfig/react-native": "^2.0.2",
75 "@types/react-native": "^0.69.5",
76 "@types/react-test-renderer": "^18.0.0",
77 "@typescript-eslint/eslint-plugin": "^5.29.0",
78 "@typescript-eslint/parser": "^5.29.0",
79 "eslint": "^7.32.0",
80 "metro-react-native-babel-preset": "^0.70.3",
81 "react-test-renderer": "18.0.0"
82 },
83 "husky": {
84 "hooks": {
85 "pre-commit": "lint-staged",
86 "pre-push": "yarn build && yarn test"
87 }
88 },
89 "lint-staged": {
90 "src/**/*.{js,ts,tsx}": [
91 "eslint"
92 ]
93 },
94 "resolutions": {
95 "@types/react": "*"
96 },
97 "jest": {
98 "preset": "react-native",
99 "moduleFileExtensions": [
100 "ts",
101 "tsx",
102 "js",
103 "jsx",
104 "json",
105 "node"
106 ],
107 "setupFilesAfterEnv": [],
108 "modulePathIgnorePatterns": []
109 },
110 "eslintIgnore": [
111 "node_modules/",
112 "lib/"
113 ],
114 "commitlint": {
115 "extends": [
116 "@commitlint/config-conventional"
117 ]
118 }
119}