forked from GetStream/stream-chat-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
139 lines (139 loc) · 4.56 KB
/
package.json
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
{
"name": "stream-chat-react-native-core",
"version": "0.10.0",
"author": {
"company": "Stream.io Inc"
},
"main": "dist/index.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"typings": "types/index.d.ts",
"files": [
"dist",
"README.md",
"/types"
],
"jest": {
"verbose": true,
"maxConcurrency": 1,
"transformIgnorePatterns": [
"/node_modules"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/examples/"
]
},
"scripts": {
"start": "rm -rf dist && yarn build-translations && rollup -c -w",
"build": "rm -rf dist && yarn build-translations && rollup -c",
"docs": "styleguidist build",
"test": "jest",
"docs-server": "styleguidist server",
"build-translations": "yarn run babel --config-file ./babel.i18next-extract.json 'src/**/*.{js,jsx,ts,tsx}' --quiet && yarn lint-fix",
"prettier": "prettier --list-different '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc",
"prettier-fix": "prettier --write '**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc",
"eslint": "eslint '**/*.{js,md}' --max-warnings 0",
"analyze": "yarn build -- --stats && webpack-bundle-analyzer build/bundle-stats.json",
"validate-translations": "node bin/validate-translations.js",
"lint": "prettier --list-different 'src/**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc && eslint 'src/**/*.{js,md}' --max-warnings 0 && stylelint 'src/**/*.js' && yarn run validate-translations",
"lint-fix": "prettier --write 'src/**/*.{js,ts,md,json}' .eslintrc.json .prettierrc .babelrc && eslint --fix 'src/**/*.{js,md}' --max-warnings 0 && stylelint --fix 'src/**/*.js'",
"prepare": "yarn run build"
},
"husky": {
"hooks": {
"pre-commit": "dotgit/hooks/pre-commit-format.sh && dotgit/hooks/pre-commit-reject-binaries.py"
}
},
"stylelint": {
"processors": [
"stylelint-processor-styled-components"
],
"extends": [
"stylelint-config-recommended",
"stylelint-config-styled-components"
],
"rules": {
"property-no-unknown": [
true,
{
"ignoreProperties": [
"shadow-color",
"shadow-opacity",
"shadow-offset"
]
}
]
}
},
"dependencies": {
"@babel/runtime": "^7.1.2",
"@stream-io/react-native-simple-markdown": "^1.1.1",
"@stream-io/styled-components": "^4.2.1",
"anchorme": "^1.1.2",
"babel-plugin-macros": "^2.5.1",
"dayjs": "^1.8.23",
"deep-equal": "^1.0.1",
"deepmerge": "^3.2.0",
"file-loader": "^3.0.1",
"i18next": "^19.3.1",
"lodash-es": "^4.17.11",
"metro-react-native-babel-preset": "^0.53.1",
"mime-types": "^2.1.24",
"path": "^0.12.7",
"react-art": "^16.8.6",
"react-native-actionsheet": "^2.4.2",
"react-native-image-zoom-viewer": "^2.2.25",
"seamless-immutable": "^7.1.4",
"stream-chat": "^1.7.0",
"uuid": "^3.3.2"
},
"peerDependencies": {
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
"react-native": "^0.57.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.4.3",
"@babel/preset-react": "^7.0.0",
"@types/react": "^16.8.23",
"@types/react-native": "^0.57.0",
"ast-pretty-print": "^2.0.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-i18next-extract": "^0.6.1",
"babel-plugin-preval": "^3.0.1",
"babel-plugin-react-native-web": "^0.11.2",
"babel-preset-expo": "^5.0.0",
"eslint": "^5.16.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-jest": "^22.5.1",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-react": "^7.12.4",
"husky": "^2.1.0",
"jest": "^25.1.0",
"prettier": "^1.16.4",
"react": "^16.5.0",
"react-dom": "^16.8.6",
"react-native-web": "^0.11.4",
"react-styleguidist": "^8.0.6",
"rollup": "^0.68.2",
"rollup-plugin-babel": "^4.0.3",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-replace": "^2.1.0",
"stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.8.0",
"webpack": "4.19.1"
}
}