-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
109 lines (109 loc) · 2.76 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
{
"name": "react-native-photos-gallery",
"version": "0.0.1",
"description": "A React Native animated custom photo gallery component",
"main": "lib/index",
"types": "lib/index.d.ts",
"contributors": [],
"author": "Simform Solutions",
"repository": {
"type": "git",
"url": "https://github.com/SimformSolutionsPvtLtd/react-native-photos-gallery"
},
"homepage": "https://github.com/SimformSolutionsPvtLtd/react-native-photos-gallery#readme",
"keywords": [
"react",
"react-native",
"typescript",
"rn",
"photo-gallery",
"gallery",
"photo",
"reanimated",
"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.9.0",
"react-native-reanimated": "^3.0.0"
},
"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",
"@tsconfig/react-native": "^2.0.2",
"@types/jest": "^27.4.0",
"@types/react-native": "^0.69.5",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-jest": "^27.4.6",
"eslint": "^7.32.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"react-native-gesture-handler": "^2.9.0",
"react-native-reanimated": "^3.0.0",
"husky": "^8.0.1",
"jest": "^27.4.7",
"lint-staged": "^11.1.2",
"metro-react-native-babel-preset": "^0.70.3",
"prettier": "^2.7.1",
"react": "18.0.0",
"react-native": "0.69.5",
"react-test-renderer": "18.0.0",
"typescript": "4.7.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn build && yarn test"
}
},
"lint-staged": {
"src/**/*.{js,ts,tsx}": [
"eslint"
]
},
"resolutions": {
"@types/react": "*"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"setupFilesAfterEnv": [],
"modulePathIgnorePatterns": []
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}