-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.6 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
{
"name": "react-native-chat-library",
"version": "1.0.1",
"description": "react native multi package workspaces.",
"repository": "https://github.com/easemob/easemob-uikit-reactnative",
"author": "[email protected]",
"license": "MIT",
"private": true,
"workspaces": [
"packages/react-native-chat-uikit",
"packages/react-native-chat-callkit",
"example",
"examples/callkit-example",
"examples/uikit-example"
],
"devDependencies": {
"@commitlint/config-conventional": "^17.0.2",
"@evilmartians/lefthook": "^1.2.2",
"commitlint": "^17.0.2",
"del-cli": "^5.0.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"jest": "^28.1.1",
"lerna": "^7.0.1",
"patch-package": "^7.0.1",
"pod-install": "^0.1.0",
"prettier": "^2.0.5",
"typescript": "^4.5.2"
},
"scripts": {
"yarn-lint": "yarn workspace react-native-chat-uikit lint && yarn workspace react-native-chat-callkit lint",
"lerna-lint": "lerna run lint",
"lint": "yarn run lerna-lint",
"yarn-prepack": "yarn sdk-version && yarn sdk-rename && yarn sdk-config && yarn example-env && yarn example-rename && yarn workspace react-native-chat-uikit prepack && yarn workspace react-native-chat-callkit prepack",
"uikit-prepack": "yarn sdk-version && yarn sdk-rename && yarn sdk-config && yarn example-env && yarn example-rename && yarn workspace react-native-chat-uikit prepack",
"callkit-prepack": "yarn sdk-version && yarn sdk-rename && yarn sdk-config && yarn example-env && yarn example-rename && yarn workspace react-native-chat-callkit prepack",
"lerna-prepack": "lerna run prepack --verbose",
"prepack": "yarn run lerna-prepack",
"clean": "lerna run clean --verbose",
"clean-module": "lerna run clean-module --verbose",
"bootstrap": "lerna run bootstrap --verbose",
"sdk-version": "node scripts/generate-version.js",
"sdk-rename": "node scripts/generate-rename.js",
"sdk-config": "yarn workspace react-native-chat-uikit gen-config",
"example-env": "lerna run gen-env --verbose",
"example-rename": "lerna run gen-rename --verbose",
"doctor": "lerna run doctor --verbose",
"postinstall": "patch-package"
},
"prettier": {
"quoteProps": "consistent",
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"trailingComma": "es5"
},
"eslintIgnore": [
"node_modules/",
"scripts/",
"babel.config.js"
],
"jest": {
"testEnvironment": "node",
"preset": "react-native",
"testRegex": "/__tests__/.*\\.(test|spec)\\.(js|jsx|ts|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"modulePathIgnorePatterns": [
"<rootDir>/packages/react-native-chat-uikit/lib/",
"<rootDir>/packages/react-native-chat-uikit/node_modules/",
"<rootDir>/packages/react-native-chat-callkit/lib/",
"<rootDir>/packages/react-native-chat-callkit/node_modules/"
]
},
"engines": {
"node": ">=18.16.0"
},
"packageManager": "[email protected]",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
"tag",
"example",
"test"
]
]
}
}
}