forked from react-native-elements/react-native-elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
146 lines (146 loc) · 3.88 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
142
143
144
145
146
{
"name": "react-native-elements",
"version": "3.3.2",
"description": "React Native Elements & UI Toolkit",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"prepublish": "tsc",
"files": [
"dist"
],
"keywords": [
"react-native",
"reactjs",
"reactnative",
"bootstrap"
],
"scripts": {
"build": "tsc",
"test": "jest",
"test:update": "jest -u",
"test:ci": "jest --runInBand",
"test:watch": "jest --watch",
"postinstall": "opencollective-postinstall || exit 0",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"prettify": "prettier --single-quote --trailing-comma=es5 --write './**/*.md'",
"clean-install": "rimraf node_modules && yarn",
"changelog": "auto-changelog -p"
},
"author": "Nader Dabit & Monte Thakkar",
"license": "MIT",
"bugs": {
"url": "https://github.com/react-native-elements/react-native-elements/issues"
},
"homepage": "https://reactnativeelements.com/",
"collective": {
"type": "opencollective",
"url": "https://opencollective.com/react-native-elements",
"logo": "https://opencollective.com/react-native-elements/logo.txt"
},
"dependencies": {
"@types/react-native-vector-icons": "^6.4.6",
"color": "^3.1.2",
"deepmerge": "^4.2.2",
"hoist-non-react-statics": "^3.3.2",
"lodash.isequal": "^4.5.0",
"opencollective-postinstall": "^2.0.3",
"react-native-ratings": "^7.3.0",
"react-native-size-matters": "^0.3.1"
},
"devDependencies": {
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/react-native": "^7.0.2",
"@types/color": "^3.0.1",
"@types/enzyme": "^3.10.8",
"@types/hoist-non-react-statics": "^3.3.1",
"@types/lodash.isequal": "^4.5.5",
"@types/react-native": "*",
"@types/react-test-renderer": "^17.0.0",
"auto-changelog": "^2.2.1",
"babel-jest": "^26.3.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.4",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.9.0",
"husky": "^4.3.0",
"jest": "^26.4.2",
"jest-transform-stub": "^2.0.0",
"lint-staged": "^10.4.0",
"metro-react-native-babel-preset": "^0.63.0",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-native": "0.63.2",
"react-native-safe-area-context": "^3.1.9",
"react-native-vector-icons": "^7.0.0",
"react-test-renderer": "^16.13.1",
"rimraf": "^3.0.2",
"typescript": "^4.1.3",
"utility-types": "^3.10.0"
},
"peerDependencies": {
"react-native-safe-area-context": "^3.1.9",
"react-native-vector-icons": ">7.0.0"
},
"jest": {
"preset": "react-native",
"timers": "fake",
"coverageDirectory": "./coverage/",
"testPathIgnorePatterns": [
"./src/searchbar/__tests__/common.js",
"<rootDir>/node_modules",
"<rootDir>/dist"
],
"coveragePathIgnorePatterns": [
"./src/searchbar/__tests__/common.js"
],
"collectCoverageFrom": [
"src/**/*.tsx",
"!src/index.tsx",
"!src/helpers/*.tsx"
],
"collectCoverage": true,
"globals": {
"__DEV__": true
},
"setupFilesAfterEnv": [
"<rootDir>/.ci/setupTests.js"
],
"transform": {
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix",
"bash -c tsc",
"jest --bail --findRelatedTests"
],
"src/**/*.{js,jsx}": [
"eslint --fix",
"jest --bail --findRelatedTests"
],
"**/*.md": [
"prettier --single-quote --trailing-comma=es5 --write"
]
},
"directories": {
"doc": "docs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/react-native-elements/react-native-elements.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}