UNPKG

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