-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 5.8 KB
/
package.json
File metadata and controls
149 lines (149 loc) · 5.8 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
142
143
144
145
146
147
148
149
{
"packageManager": "yarn@4.9.1",
"name": "react-native-chat-library",
"version": "2.0.0",
"description": "react native multi package workspaces.",
"repository": "https://github.com/easemob/easemob-uikit-reactnative",
"author": "asteriskzuo@hotmail.com",
"license": "MIT",
"private": true,
"workspaces": [
"packages/react-native-chat-uikit",
"packages/react-native-chat-callkit",
"packages/react-native-chat-room",
"examples/callkit-example",
"examples/uikit-example",
"examples/room-example",
"examples/product-uikit-demo",
"examples/product-room-demo"
],
"devDependencies": {
"@babel/core": "^7.25.2",
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.5.0",
"@react-native-community/cli": "15.0.1",
"@react-native/babel-preset": "0.76.9",
"@react-native/eslint-config": "0.76.9",
"@react-native/metro-config": "0.76.9",
"@react-native/typescript-config": "0.76.9",
"commitlint": "^17.0.2",
"del-cli": "^5.1.0",
"eas-cli": "^15.0.15",
"eslint": "^8.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.2.5",
"eslint-plugin-simple-import-sort": "^12.1.1",
"prettier": "^3.5.3",
"turbo": "^1.10.7",
"typescript": "^5.2.2"
},
"scripts": {
"postinstall": "echo 'postinstall'",
"doctor": "echo 'doctor'",
"test": "echo 'test'",
"lint": "yarn echo:start 'lint' && yarn uikit lint && yarn callkit lint && yarn room lint && yarn product-uikit-demo lint && yarn product-room-demo lint && yarn uikit-example lint && yarn room-example lint && yarn callkit-example lint && yarn echo:end 'lint'",
"typecheck": "yarn echo:start 'typecheck' && yarn uikit typecheck && yarn callkit typecheck && yarn room typecheck && yarn product-uikit-demo typecheck && yarn product-room-demo typecheck && yarn uikit-example typecheck && yarn room-example typecheck && yarn callkit-example typecheck && yarn echo:end 'typecheck'",
"prepack": "yarn clean && yarn prepare",
"prepare": "yarn echo:start 'prepare' && yarn uikit prepare && yarn callkit prepare && yarn room prepare && yarn product-uikit-demo prepare && yarn product-room-demo prepare && yarn uikit-example prepare && yarn room-example prepare && yarn callkit-example prepare && yarn echo:end 'prepare'",
"format": "yarn echo:start 'format' && prettier --write . && yarn echo:end 'format'",
"format:check": "yarn echo:start 'format:check' && prettier --check . && yarn echo:end 'format:check'",
"build": "echo 'build'",
"clean": "yarn echo:start 'clean' && yarn uikit clean && yarn callkit clean && yarn room clean && yarn product-uikit-demo clean && yarn product-room-demo clean && yarn uikit-example clean && yarn room-example clean && yarn callkit-example clean && yarn echo:end 'clean'",
"clean:node_modules": "yarn echo:start 'clean:node_modules' && yarn uikit clean:node_modules && yarn callkit clean:node_modules && yarn room clean:node_modules && yarn product-uikit-demo clean:node_modules && yarn product-room-demo clean:node_modules && yarn uikit-example clean:node_modules && yarn room-example clean:node_modules && yarn callkit-example clean:node_modules && yarn echo:end 'clean:node_modules'",
"uikit": "yarn workspace react-native-chat-uikit",
"callkit": "yarn workspace react-native-chat-callkit",
"room": "yarn workspace react-native-chat-room",
"uikit-example": "yarn workspace ChatUikitExample",
"room-example": "yarn workspace ChatRoomExample",
"product-uikit-demo": "yarn workspace ChatUikitFullExample",
"callkit-example": "yarn workspace ChatCallkitExample",
"product-room-demo": "yarn workspace ChatRoomFullExample",
"turbo:build:callkit:android": "turbo run build:callkit:android",
"turbo:build:callkit:ios": "turbo run build:callkit:ios",
"turbo:build:room:android": "turbo run build:room:android",
"turbo:build:room:ios": "turbo run build:room:ios",
"turbo:build:uikit:android": "turbo run build:uikit:android",
"turbo:build:uikit:ios": "turbo run build:uikit:ios",
"turbo:build:room-demo:android": "turbo run build:room-demo:android",
"turbo:build:room-demo:ios": "turbo run build:room-demo:ios",
"turbo:build:uikit-demo:android": "turbo run build:uikit-demo:android",
"turbo:build:uikit-demo:ios": "turbo run build:uikit-demo:ios",
"echo:start": "echo $* 'start...'",
"echo:end": "echo $* 'end...'"
},
"prettier": {
"quoteProps": "consistent",
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"trailingComma": "es5"
},
"engines": {
"node": ">=20.18.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"tag",
"example",
"test"
]
]
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"plugins": [
"simple-import-sort"
],
"rules": {
"jest/*": 0,
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"react-native/no-inline-styles": 0,
"@typescript-eslint/no-shadow": "off",
"prettier/prettier": [
"error",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"babel.config.js",
"index.js",
"jest.config.js",
"metro.config.js",
"react-native.config.js",
"scripts/",
"packages/scripts",
"examples/scripts"
]
}