1 | {
|
2 | "name": "react-native-paper",
|
3 | "version": "5.12.3",
|
4 | "description": "Material design for React Native",
|
5 | "main": "lib/commonjs/index.js",
|
6 | "module": "lib/module/index.js",
|
7 | "react-native": "src/index.tsx",
|
8 | "source": "src/index.tsx",
|
9 | "types": "lib/typescript/index.d.ts",
|
10 | "files": [
|
11 | "src",
|
12 | "lib",
|
13 | "react-navigation",
|
14 | "babel.js"
|
15 | ],
|
16 | "sideEffects": false,
|
17 | "repository": {
|
18 | "type": "git",
|
19 | "url": "https://github.com/callstack/react-native-paper.git"
|
20 | },
|
21 | "author": "",
|
22 | "license": "MIT",
|
23 | "bugs": {
|
24 | "url": "https://github.com/callstack/react-native-paper/issues"
|
25 | },
|
26 | "homepage": "https://callstack.github.io/react-native-paper",
|
27 | "keywords": [
|
28 | "android",
|
29 | "ios",
|
30 | "react native",
|
31 | "component library",
|
32 | "ui kit",
|
33 | "material design",
|
34 | "bootstrap"
|
35 | ],
|
36 | "scripts": {
|
37 | "typescript": "tsc --noEmit",
|
38 | "lint": "yarn lint-no-fix --fix",
|
39 | "lint-no-fix": "eslint --ext '.js,.ts,.tsx' .",
|
40 | "test": "jest",
|
41 | "prepack": "bob build && node ./scripts/generate-mappings.js",
|
42 | "release": "release-it",
|
43 | "bootstrap": "yarn --cwd example && yarn --cwd docs && yarn",
|
44 | "docs": "yarn --cwd docs",
|
45 | "example": "yarn --cwd example"
|
46 | },
|
47 | "publishConfig": {
|
48 | "registry": "https://registry.npmjs.org/"
|
49 | },
|
50 | "dependencies": {
|
51 | "@callstack/react-theme-provider": "^3.0.9",
|
52 | "color": "^3.1.2",
|
53 | "use-latest-callback": "^0.1.5"
|
54 | },
|
55 | "devDependencies": {
|
56 | "@babel/core": "^7.20.7",
|
57 | "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
|
58 | "@babel/runtime": "^7.20.7",
|
59 | "@callstack/eslint-config": "^13.0.2",
|
60 | "@commitlint/config-conventional": "^8.3.4",
|
61 | "@react-navigation/native": "^6.1.2",
|
62 | "@release-it/conventional-changelog": "^1.1.0",
|
63 | "@testing-library/jest-native": "^5.4.1",
|
64 | "@testing-library/react-native": "11.5.0",
|
65 | "@types/color": "^3.0.0",
|
66 | "@types/jest": "^29.2.1",
|
67 | "@types/node": "^13.1.0",
|
68 | "@types/react-dom": "^18.0.8",
|
69 | "@types/react-native-vector-icons": "^6.4.1",
|
70 | "@types/react-test-renderer": "^18.0.0",
|
71 | "@typescript-eslint/eslint-plugin": "^5.41.0",
|
72 | "@typescript-eslint/parser": "^5.41.0",
|
73 | "all-contributors-cli": "^6.24.0",
|
74 | "babel-cli": "^6.26.0",
|
75 | "babel-core": "^7.0.0-bridge.0",
|
76 | "babel-jest": "^26.1.0",
|
77 | "babel-loader": "^8.2.3",
|
78 | "babel-test": "^0.1.1",
|
79 | "chalk": "^4.0.0",
|
80 | "commitlint": "^8.3.4",
|
81 | "conventional-changelog-cli": "^2.0.11",
|
82 | "dedent": "^0.7.0",
|
83 | "eslint": "8.31.0",
|
84 | "eslint-plugin-flowtype": "^8.0.3",
|
85 | "eslint-plugin-local-rules": "^1.3.2",
|
86 | "expo-constants": "^9.3.5",
|
87 | "glob": "^7.1.3",
|
88 | "husky": "^1.3.1",
|
89 | "jest": "^29.2.1",
|
90 | "jest-file-snapshot": "^0.3.2",
|
91 | "metro-react-native-babel-preset": "0.73.9",
|
92 | "react": "18.2.0",
|
93 | "react-dom": "18.2.0",
|
94 | "react-native": "0.71.6",
|
95 | "react-native-builder-bob": "^0.21.3",
|
96 | "react-native-safe-area-context": "^4.5.0",
|
97 | "react-native-vector-icons": "9.2.0",
|
98 | "react-test-renderer": "18.2.0",
|
99 | "release-it": "^13.4.0",
|
100 | "rimraf": "^3.0.2",
|
101 | "typescript": "4.8.4"
|
102 | },
|
103 | "peerDependencies": {
|
104 | "react": "*",
|
105 | "react-native": "*",
|
106 | "react-native-safe-area-context": "*",
|
107 | "react-native-vector-icons": "*"
|
108 | },
|
109 | "husky": {
|
110 | "hooks": {
|
111 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
112 | "pre-commit": "yarn lint-no-fix && yarn typescript && yarn test"
|
113 | }
|
114 | },
|
115 | "jest": {
|
116 | "preset": "react-native",
|
117 | "setupFiles": [
|
118 | "<rootDir>/testSetup.js"
|
119 | ],
|
120 | "setupFilesAfterEnv": [
|
121 | "@testing-library/jest-native/extend-expect"
|
122 | ],
|
123 | "cacheDirectory": "./cache/jest",
|
124 | "testPathIgnorePatterns": [
|
125 | "\\.d\\.ts$"
|
126 | ],
|
127 | "modulePathIgnorePatterns": [
|
128 | "<rootDir>/example/node_modules",
|
129 | "<rootDir>/lib/"
|
130 | ],
|
131 | "watchPathIgnorePatterns": [
|
132 | "__fixtures__\\/[^/]+\\/(output|error)\\.js"
|
133 | ],
|
134 | "transformIgnorePatterns": [
|
135 | "node_modules/(?!(@react-native|react-native(-.*)?)/)"
|
136 | ]
|
137 | },
|
138 | "greenkeeper": {
|
139 | "ignore": [
|
140 | "expo",
|
141 | "react",
|
142 | "react-dom",
|
143 | "react-native",
|
144 | "react-test-renderer",
|
145 | "@types/react-native",
|
146 | "@types/jest",
|
147 | "husky",
|
148 | "eslint"
|
149 | ]
|
150 | },
|
151 | "react-native-builder-bob": {
|
152 | "source": "src",
|
153 | "output": "lib",
|
154 | "targets": [
|
155 | "commonjs",
|
156 | "module",
|
157 | [
|
158 | "typescript",
|
159 | {
|
160 | "project": "tsconfig.build.json"
|
161 | }
|
162 | ]
|
163 | ]
|
164 | }
|
165 | }
|