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