UNPKG

3.98 kBJSONView Raw
1{
2 "name": "react-native-elements",
3 "version": "3.3.1",
4 "description": "React Native Elements & UI Toolkit",
5 "main": "dist/index.js",
6 "types": "dist/index.d.ts",
7 "prepublish": "tsc",
8 "files": [
9 "dist"
10 ],
11 "keywords": [
12 "react-native",
13 "reactjs",
14 "reactnative",
15 "bootstrap"
16 ],
17 "scripts": {
18 "build": "tsc",
19 "test": "jest",
20 "test:update": "jest -u",
21 "test:ci": "jest --runInBand",
22 "test:watch": "jest --watch",
23 "postinstall": "opencollective-postinstall || exit 0",
24 "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
25 "prettify": "prettier --single-quote --trailing-comma=es5 --write './**/*.md'",
26 "clean-install": "rimraf node_modules && yarn",
27 "changelog": "auto-changelog -p"
28 },
29 "author": "Nader Dabit & Monte Thakkar",
30 "license": "MIT",
31 "bugs": {
32 "url": "https://github.com/react-native-elements/react-native-elements/issues"
33 },
34 "homepage": "https://reactnativeelements.com/",
35 "collective": {
36 "type": "opencollective",
37 "url": "https://opencollective.com/react-native-elements",
38 "logo": "https://opencollective.com/react-native-elements/logo.txt"
39 },
40 "dependencies": {
41 "@types/react-native-vector-icons": "^6.4.6",
42 "color": "^3.1.2",
43 "deepmerge": "^4.2.2",
44 "hoist-non-react-statics": "^3.3.2",
45 "lodash.isequal": "^4.5.0",
46 "opencollective-postinstall": "^2.0.3",
47 "react-native-ratings": "^7.3.0",
48 "react-native-size-matters": "^0.3.1"
49 },
50 "devDependencies": {
51 "@react-native-community/eslint-config": "^2.0.0",
52 "@testing-library/react-native": "^7.0.2",
53 "@types/color": "^3.0.1",
54 "@types/enzyme": "^3.10.8",
55 "@types/hoist-non-react-statics": "^3.3.1",
56 "@types/lodash.isequal": "^4.5.5",
57 "@types/react-native": "^0.63.48",
58 "@types/react-test-renderer": "^17.0.0",
59 "auto-changelog": "^2.2.1",
60 "babel-jest": "^26.3.0",
61 "enzyme": "^3.11.0",
62 "enzyme-adapter-react-16": "^1.15.4",
63 "enzyme-to-json": "^3.5.0",
64 "eslint": "^7.9.0",
65 "husky": "^4.3.0",
66 "jest": "^26.4.2",
67 "jest-transform-stub": "^2.0.0",
68 "lint-staged": "^10.4.0",
69 "metro-react-native-babel-preset": "^0.63.0",
70 "react": "16.13.1",
71 "react-dom": "16.13.1",
72 "react-native": "0.63.2",
73 "react-native-safe-area-context": "^3.1.9",
74 "react-native-vector-icons": "^7.0.0",
75 "react-test-renderer": "^16.13.1",
76 "rimraf": "^3.0.2",
77 "typescript": "^4.1.3",
78 "utility-types": "^3.10.0"
79 },
80 "peerDependencies": {
81 "react-native-safe-area-context": "^3.1.9",
82 "react-native-vector-icons": ">7.0.0"
83 },
84 "jest": {
85 "preset": "react-native",
86 "timers": "fake",
87 "coverageDirectory": "./coverage/",
88 "testPathIgnorePatterns": [
89 "./src/searchbar/__tests__/common.js",
90 "<rootDir>/node_modules",
91 "<rootDir>/dist"
92 ],
93 "coveragePathIgnorePatterns": [
94 "./src/searchbar/__tests__/common.js"
95 ],
96 "collectCoverageFrom": [
97 "src/**/*.tsx",
98 "!src/index.tsx",
99 "!src/helpers/*.tsx"
100 ],
101 "collectCoverage": true,
102 "globals": {
103 "__DEV__": true
104 },
105 "setupFilesAfterEnv": [
106 "<rootDir>/.ci/setupTests.js"
107 ],
108 "transform": {
109 ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
110 },
111 "moduleFileExtensions": [
112 "ts",
113 "tsx",
114 "js",
115 "jsx",
116 "json",
117 "node"
118 ]
119 },
120 "lint-staged": {
121 "src/**/*.{ts,tsx}": [
122 "eslint --fix",
123 "bash -c tsc",
124 "jest --bail --findRelatedTests"
125 ],
126 "src/**/*.{js,jsx}": [
127 "eslint --fix",
128 "jest --bail --findRelatedTests"
129 ],
130 "**/*.md": [
131 "prettier --single-quote --trailing-comma=es5 --write"
132 ]
133 },
134 "directories": {
135 "doc": "docs"
136 },
137 "repository": {
138 "type": "git",
139 "url": "git+https://github.com/react-native-elements/react-native-elements.git"
140 },
141 "husky": {
142 "hooks": {
143 "pre-commit": "lint-staged"
144 }
145 }
146}