forked from GetStream/stream-chat-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
141 lines (141 loc) · 5.39 KB
/
package.json
File metadata and controls
141 lines (141 loc) · 5.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
{
"name": "stream-chat-react-native-core",
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
"version": "3.4.0",
"author": {
"company": "Stream.io Inc",
"name": "Stream.io Inc"
},
"license": "SEE LICENSE IN LICENSE",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.ts",
"types": "lib/typescript/index.d.ts",
"files": [
"src",
"lib",
"package.json",
"README.md"
],
"scripts": {
"analyze": "yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json",
"build": "rm -rf lib && yarn run --silent build-translations && bob build && yarn run --silent copy-translations",
"build-translations": "rm -rf .tmpi18ncache || true && mkdir .tmpi18ncache && yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --out-dir '.tmpi18ncache/' && rm -rf .tmpi18ncache && prettier --write 'src/i18n/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc",
"copy-translations": "echo '\u001b[34mℹ\u001b[0m Copying translation files to \u001b[34mlib/typescript/i18n\u001b[0m' && cp -R -f ./src/i18n ./lib/typescript/i18n && echo '\u001b[32m✓\u001b[0m Done Copying Translations'",
"docs": "styleguidist build",
"docs-server": "styleguidist server",
"eslint": "eslint '**/*.{js,md,ts,jsx,tsx}' --max-warnings 0",
"lint": "prettier --list-different 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc && eslint 'src/**/*.{js,ts,tsx,md}' --max-warnings 0 && yarn run validate-translations",
"lint-fix": "prettier --write 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0",
"prepare": "yarn run build",
"prepare-distribution": "cd examples/SampleApp && npm version patch && react-native-version && git add ./ && git commit -m 'Bump build version' --no-verify",
"prettier": "prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc",
"prettier-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc .babelrc",
"test": "TZ=UTC jest",
"validate-translations": "node bin/validate-translations.js"
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
[
"commonjs",
{
"configFile": "./babel.config.js"
}
],
[
"module",
{
"configFile": "./babel.config.js"
}
],
"typescript"
]
},
"husky": {
"hooks": {
"pre-commit": "dotgit/hooks/pre-commit-format.sh && dotgit/hooks/pre-commit-reject-binaries.py"
}
},
"dependencies": {
"@babel/runtime": "7.12.13",
"@gorhom/bottom-sheet": "3.0.0-alpha.0",
"anchorme": "^1.1.2",
"dayjs": "1.10.4",
"file-loader": "6.2.0",
"i18next": "19.8.7",
"lodash-es": "4.17.20",
"metro-react-native-babel-preset": "0.65.0",
"mime-types": "2.1.28",
"path": "0.12.7",
"react-art": "^16.8.6",
"react-native-markdown-package": "1.8.1",
"stream-chat": "3.6.2"
},
"peerDependencies": {
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-native": "^0.60.0",
"react-native-gesture-handler": "^1.8.0",
"react-native-reanimated": "^2.0.0-rc.0",
"react-native-svg": "^12.1.0"
},
"devDependencies": {
"@babel/cli": "7.12.13",
"@babel/core": "7.12.13",
"@babel/plugin-proposal-object-rest-spread": "7.12.13",
"@babel/plugin-transform-runtime": "7.12.15",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.12.13",
"@babel/preset-typescript": "7.12.13",
"@react-native-community/bob": "0.17.1",
"@react-native-community/eslint-config": "2.0.0",
"@react-native-community/eslint-plugin": "1.1.0",
"@react-native-community/netinfo": "5.9.10",
"@testing-library/jest-native": "3.4.3",
"@testing-library/react-native": "7.1.0",
"@types/eslint": "7.2.6",
"@types/jest": "26.0.20",
"@types/lodash": "4.14.168",
"@types/mime-types": "2.1.0",
"@types/react": "16.9.56",
"@types/react-native": "0.63.48",
"@types/react-test-renderer": "16.9.3",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.6.3",
"babel-loader": "8.2.2",
"babel-plugin-i18next-extract": "0.8.2",
"babel-plugin-module-resolver": "4.1.0",
"babel-plugin-react-native-web": "0.14.13",
"eslint": "7.19.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-babel": "5.3.1",
"eslint-plugin-jest": "24.1.3",
"eslint-plugin-markdown": "1.0.2",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-sort-destructure-keys": "1.3.5",
"eslint-plugin-typescript-sort-keys": "1.5.0",
"husky": "4.3.8",
"jest": "26.6.3",
"moment": "2.29.1",
"prettier": "2.2.1",
"react": "16.13.1",
"react-docgen-typescript": "1.21.0",
"react-dom": "16.13.1",
"react-native": "0.63.4",
"react-native-gesture-handler": "1.9.0",
"react-native-reanimated": "2.0.0-rc.0",
"react-native-svg": "12.1.0",
"react-native-typescript-transformer": "1.2.13",
"react-native-web": "0.14.13",
"react-styleguidist": "11.1.5",
"react-test-renderer": "16.13.1",
"typescript": "4.1.4",
"uuid": "8.3.2",
"webpack": "4.44.2"
}
}