UNPKG

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