UNPKG

4.09 kBJSONView Raw
1{
2 "name": "react-native-elements",
3 "version": "3.4.3",
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 "docs": "cd website && yarn start"
29 },
30 "author": "Nader Dabit & Monte Thakkar",
31 "license": "MIT",
32 "bugs": {
33 "url": "https://github.com/react-native-elements/react-native-elements/issues"
34 },
35 "homepage": "https://reactnativeelements.com/",
36 "collective": {
37 "type": "opencollective",
38 "url": "https://opencollective.com/react-native-elements",
39 "logo": "https://opencollective.com/react-native-elements/logo.txt"
40 },
41 "dependencies": {
42 "@types/react-native-vector-icons": "^6.4.6",
43 "color": "^3.1.2",
44 "deepmerge": "^4.2.2",
45 "hoist-non-react-statics": "^3.3.2",
46 "lodash.isequal": "^4.5.0",
47 "opencollective-postinstall": "^2.0.3",
48 "react-native-ratings": "8.0.4",
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/color": "^3.0.1",
55 "@types/enzyme": "^3.10.8",
56 "@types/hoist-non-react-statics": "^3.3.1",
57 "@types/jest": "^26.0.23",
58 "@types/lodash.isequal": "^4.5.5",
59 "@types/react-native": "*",
60 "@types/react-test-renderer": "^17.0.0",
61 "auto-changelog": "^2.2.1",
62 "babel-jest": "^26.3.0",
63 "enzyme": "^3.11.0",
64 "enzyme-adapter-react-16": "^1.15.4",
65 "enzyme-to-json": "^3.5.0",
66 "eslint": "^7.9.0",
67 "husky": "^4.3.0",
68 "jest": "^26.4.2",
69 "jest-transform-stub": "^2.0.0",
70 "lint-staged": "^10.4.0",
71 "metro-react-native-babel-preset": "^0.63.0",
72 "react": "16.13.1",
73 "react-dom": "16.13.1",
74 "react-native": "0.63.2",
75 "react-native-safe-area-context": "^3.1.9",
76 "react-native-vector-icons": "^7.0.0",
77 "react-test-renderer": "^16.13.1",
78 "rimraf": "^3.0.2",
79 "typescript": "^4.1.3",
80 "utility-types": "^3.10.0"
81 },
82 "peerDependencies": {
83 "react-native-safe-area-context": ">= 3.0.0",
84 "react-native-vector-icons": ">7.0.0"
85 },
86 "jest": {
87 "preset": "react-native",
88 "timers": "fake",
89 "coverageDirectory": "./coverage/",
90 "testPathIgnorePatterns": [
91 "./src/searchbar/__tests__/common.tsx",
92 "<rootDir>/node_modules",
93 "<rootDir>/dist"
94 ],
95 "coveragePathIgnorePatterns": [
96 "./src/searchbar/__tests__/common.tsx"
97 ],
98 "collectCoverageFrom": [
99 "src/**/*.tsx",
100 "!src/index.tsx",
101 "!src/helpers/*.tsx"
102 ],
103 "collectCoverage": true,
104 "globals": {
105 "__DEV__": true
106 },
107 "setupFilesAfterEnv": [
108 "<rootDir>/.ci/setupTests.ts"
109 ],
110 "testRegex": "/__tests__/.*\\.(ts|tsx|js)$",
111 "transform": {
112 ".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
113 },
114 "moduleFileExtensions": [
115 "ts",
116 "tsx",
117 "js",
118 "jsx",
119 "json",
120 "node"
121 ]
122 },
123 "lint-staged": {
124 "src/**/*.{ts,tsx}": [
125 "eslint --fix",
126 "bash -c tsc",
127 "jest --bail --findRelatedTests"
128 ],
129 "src/**/*.{js,jsx}": [
130 "eslint --fix",
131 "jest --bail --findRelatedTests"
132 ],
133 "**/*.md": [
134 "prettier --single-quote --trailing-comma=es5 --write"
135 ]
136 },
137 "directories": {
138 "doc": "docs"
139 },
140 "repository": {
141 "type": "git",
142 "url": "git+https://github.com/react-native-elements/react-native-elements.git"
143 },
144 "husky": {
145 "hooks": {
146 "pre-commit": "lint-staged"
147 }
148 }
149}