UNPKG

3.56 kBJSONView Raw
1{
2 "name": "react-native-story-view",
3 "version": "1.0.0",
4 "description": "React Native component to provide status/stories feature.",
5 "main": "lib/index",
6 "types": "lib/index.d.ts",
7 "homepage": "https://github.com/SimformSolutionsPvtLtd/react-native-story-view#readme",
8 "contributors": [],
9 "author": "Simform Solutions",
10 "repository": {
11 "type": "git",
12 "url": "https://github.com/SimformSolutionsPvtLtd/react-native-story-view"
13 },
14 "keywords": [
15 "react",
16 "react-native",
17 "typescript",
18 "story-view",
19 "status-view",
20 "rn",
21 "rn-story-view",
22 "story",
23 "status",
24 "animated-story",
25 "animated-status",
26 "react-native-story-view",
27 "react-native-status-view",
28 "react-native-story",
29 "react-native-status",
30 "react-native-animated-story",
31 "react-native-animated-status",
32 "gesture-story",
33 "component",
34 "react-native-component",
35 "android",
36 "ios",
37 "animation",
38 "react-reaction",
39 "react-component"
40 ],
41 "license": "MIT",
42 "files": [
43 "/lib"
44 ],
45 "scripts": {
46 "prepare": "husky install && yarn build",
47 "clean": "rm -rf node_modules",
48 "build": "rm -rf lib && tsc -p . && cp -R ./src/assets ./lib/ ",
49 "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
50 "lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' -c .eslintrc --fix ",
51 "build_local": "yarn build && yarn pack",
52 "test": "jest",
53 "example": "yarn --cwd example"
54 },
55 "peerDependencies": {
56 "react": "*",
57 "react-native": ">=0.62",
58 "react-native-gesture-handler": ">=2.5.0",
59 "react-native-reanimated": ">=3.0.0",
60 "react-native-video": ">=5",
61 "react-native-video-cache-control": "*"
62 },
63 "devDependencies": {
64 "@babel/core": "^7.12.9",
65 "@babel/runtime": "^7.12.5",
66 "@commitlint/cli": "^16.1.0",
67 "@commitlint/config-conventional": "^16.0.0",
68 "@react-native-community/eslint-config": "^3.0.1",
69 "@testing-library/react-native": "^9.0.0",
70 "@types/jest": "^27.4.0",
71 "@types/react-native": "^0.66.15",
72 "@types/react-native-video": "^5.0.13",
73 "@types/react-test-renderer": "^17.0.1",
74 "babel-jest": "^27.4.6",
75 "eslint": "^7.32.0",
76 "eslint-plugin-simple-import-sort": "^7.0.0",
77 "husky": "^7.0.4",
78 "jest": "^27.4.7",
79 "lint-staged": "^11.1.2",
80 "metro-react-native-babel-preset": "^0.67.0",
81 "patch-package": "^6.4.7",
82 "postinstall-postinstall": "^2.1.0",
83 "prettier": "^2.7.1",
84 "react": "17.0.2",
85 "react-native": "0.68.2",
86 "react-native-gesture-handler": "^2.5.0",
87 "react-native-reanimated": "^3.2.0",
88 "react-native-video": "^5",
89 "react-native-video-cache-control": "^1.1.1",
90 "react-test-renderer": "17.0.2",
91 "typescript": "4.7.4"
92 },
93 "resolutions": {
94 "@types/react": "*"
95 },
96 "jest": {
97 "preset": "react-native",
98 "moduleFileExtensions": [
99 "ts",
100 "tsx",
101 "js",
102 "jsx",
103 "json",
104 "node"
105 ],
106 "setupFilesAfterEnv": [
107 "./node_modules/react-native-gesture-handler/jestSetup.js",
108 "./jest-setup.js"
109 ],
110 "modulePathIgnorePatterns": [
111 "./src/components/MultiStoryContainer/__tests__",
112 "./src/components/StoryAvatar/__tests__"
113 ]
114 },
115 "lint-staged": {
116 "src/**/*.{js,ts,tsx}": [
117 "eslint"
118 ]
119 },
120 "eslintIgnore": [
121 "node_modules/",
122 "lib/"
123 ],
124 "husky": {
125 "hooks": {
126 "pre-commit": "lint-staged",
127 "pre-push": "yarn build && yarn test"
128 }
129 },
130 "commitlint": {
131 "extends": [
132 "@commitlint/config-conventional"
133 ]
134 }
135}
\No newline at end of file