UNPKG

3.71 kBJSONView Raw
1{
2 "name": "react-native-gifted-chat",
3 "version": "0.16.3",
4 "description": "The most complete chat UI for React Native",
5 "main": "lib/index.js",
6 "types": "lib/index.d.ts",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/FaridSafi/react-native-gifted-chat.git"
10 },
11 "keywords": [
12 "android",
13 "ios",
14 "react-native",
15 "react",
16 "react-component",
17 "messenger",
18 "message",
19 "chat"
20 ],
21 "author": "Farid Safi",
22 "license": "MIT",
23 "bugs": {
24 "url": "https://github.com/FaridSafi/react-native-gifted-chat/issues"
25 },
26 "homepage": "https://github.com/FaridSafi/react-native-gifted-chat#readme",
27 "scripts": {
28 "config:dev": "json -I -f package.json -e 'this.main=\"node_modules/expo/AppEntry.js\"'",
29 "config:npm": "json -I -f package.json -e 'this.main=\"lib/index.js\"'",
30 "lint": "tslint --project .",
31 "lint:fix": "./node_modules/.bin/tslint ./src/**/*.{ts,tsx} --fix",
32 "tsc": "node_modules/.bin/tsc --noEmit",
33 "start": "yarn config:dev && expo start",
34 "start:web": "yarn config:dev && expo start -w --dev",
35 "build": "rm -rf lib/ && node_modules/.bin/tsc && cp flow-typedefs/*.js.flow lib/",
36 "test": "TZ=Europe/Paris jest --no-watchman",
37 "test:watch": "TZ=Europe/Paris jest --watch",
38 "test:coverage": "TZ=Europe/Paris jest --coverage",
39 "prepublishOnly": "yarn lint && yarn build && yarn test && yarn config:npm",
40 "postpublish": "yarn config:dev",
41 "prettier": "./node_modules/.bin/prettier --write \"src/**/*.{ts,tsx}\""
42 },
43 "jest": {
44 "preset": "react-native",
45 "setupFiles": [
46 "./tests/setup.js"
47 ],
48 "moduleFileExtensions": [
49 "js",
50 "jsx",
51 "json",
52 "ts",
53 "tsx"
54 ],
55 "transform": {
56 "^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
57 },
58 "testMatch": [
59 "**/*.test.ts?(x)"
60 ],
61 "modulePathIgnorePatterns": [
62 "<rootDir>/example-expo",
63 "<rootDir>/example-slack-message"
64 ],
65 "coveragePathIgnorePatterns": [
66 "./src/__tests__/"
67 ]
68 },
69 "devDependencies": {
70 "@babel/core": "7.9.6",
71 "@babel/preset-typescript": "7.9.0",
72 "@types/jest": "25.2.1",
73 "@types/react": "^16.9.11",
74 "@types/react-native": "^0.60.22",
75 "@types/react-native-communications": "2.2.1",
76 "@types/react-test-renderer": "16.9.2",
77 "@types/uuid": "3.4.9",
78 "babel-core": "7.0.0-bridge.0",
79 "babel-jest": "25.5.1",
80 "babel-preset-expo": "^8.1.0",
81 "expo": "^37.0.0",
82 "expo-constants": "~9.0.0",
83 "expo-image-picker": "~8.1.0",
84 "expo-location": "~8.1.0",
85 "expo-permissions": "~8.1.0",
86 "flow-bin": "0.125.0",
87 "husky": "4.2.5",
88 "jest-expo": "^37.0.0",
89 "json": "9.0.6",
90 "prettier": "2.0.5",
91 "react": "16.9.0",
92 "react-dom": "16.9.0",
93 "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
94 "react-native-maps": "0.26.1",
95 "react-native-nav": "2.0.2",
96 "react-native-web-maps": "0.2.0",
97 "react-test-renderer": "16.9.0",
98 "react-native-web": "^0.11.7",
99 "tslint": "6.1.2",
100 "tslint-config-prettier": "1.18.0",
101 "typescript": "^3.8.3"
102 },
103 "dependencies": {
104 "@expo/react-native-action-sheet": "^3.6.0",
105 "dayjs": "^1.8.26",
106 "prop-types": "^15.7.2",
107 "react-native-communications": "^2.2.1",
108 "react-native-iphone-x-helper": "^1.2.1",
109 "react-native-lightbox": "^0.8.1",
110 "react-native-parsed-text": "0.0.22",
111 "react-native-typing-animation": "^0.1.7",
112 "uuid": "3.4.0"
113 },
114 "peerDependencies": {
115 "dayjs": "*",
116 "react": "*",
117 "react-native": "*"
118 },
119 "husky": {
120 "hooks": {
121 "pre-commit": "yarn lint:fix && yarn prettier && yarn tsc"
122 }
123 }
124}