-
Notifications
You must be signed in to change notification settings - Fork 44
/
package.json
104 lines (104 loc) · 3.65 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
{
"repository": "[email protected]:sendbird/sendbird-uikit-react-native.git",
"private": true,
"workspaces": {
"packages": [
"packages/*",
"sample",
"docs-validation"
]
},
"packageManager": "[email protected]",
"scripts": {
"postinstall": "patch-package",
"prepare": "lerna run --stream --sort prepare",
"prepublishOnly": "yarn build",
"reset": "find . -type dir -name node_modules | xargs rm -rf",
"clean": "lerna run clean",
"build": "lerna run build",
"docs": "yarn build && typedoc --options typedoc.json && yarn clean",
"test": "jest --verbose",
"test:build": "yarn build --stream && yarn clean --stream",
"test:docs-validation": "yarn build && yarn workspace @sendbird/docs-validation run test && yarn clean",
"lint": "yarn lint:eslint && yarn lint:prettier",
"fix": "yarn fix:eslint && yarn fix:prettier",
"lint:eslint": "eslint packages/*/src --ext ts,tsx -c ./.eslintrc.js",
"lint:prettier": "prettier --check \"sample/src/**/*.{ts,tsx}\" \"packages/*/src/**/*.{ts,tsx}\"",
"fix:eslint": "eslint --fix packages/*/src --ext ts,tsx -c ./.eslintrc.js",
"fix:prettier": "prettier --write \"sample/src/**/*.{ts,tsx}\" \"packages/*/src/**/*.{ts,tsx}\"",
"sample:pod-install": "cd sample; npx pod-install",
"sample:ios": "cd sample; yarn ios",
"sample:android": "cd sample; yarn android",
"deploy:ios": "cd sample/ios && bundle exec fastlane deploy",
"deploy:android": "cd sample/android && bundle exec fastlane deploy",
"bump:major": "lerna version major --no-git-tag-version",
"bump:minor": "lerna version minor --no-git-tag-version",
"bump:patch": "lerna version patch --no-git-tag-version",
"deploy:npm": "lerna publish from-git",
"deploy:local": "lerna run build && lerna run publish:local",
"make:feat": "yarn workspace @sendbird/uikit-react-native create-domain"
},
"devDependencies": {
"@testing-library/react-native": "12.5.1",
"@trivago/prettier-plugin-sort-imports": "^4.2.1",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"babel-jest": "^29.4.3",
"chalk": "^4",
"concurrently": "^8.0.1",
"conventional-changelog-conventionalcommits": "^5.0.0",
"del-cli": "^4.0.1",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"jest": "^29.4.3",
"lerna": "^5.1.6",
"node-fetch": "2.x",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"prettier": "^2.8.8",
"react": "18.2.0",
"react-native": "0.74.3",
"react-native-builder-bob": "^0.18.2",
"react-native-fast-image": "^8.6.3",
"react-native-safe-area-context": "^4.10.8",
"react-test-renderer": "^18.3.1",
"typedoc": "^0.25.3",
"typescript": "5.2.2",
"yalc": "^1.0.0-pre.53"
},
"jest": {
"preset": "react-native",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"setupFiles": [
"<rootDir>/node_modules/react-native/jest/setup.js",
"<rootDir>/jest.setup.js"
],
"testRegex": "/__tests__/.*\\.(test|spec)\\.(js|tsx?)$",
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?@?react-native|@testing-library|@react-navigation|@sendbird/chat)"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"moduleNameMapper": {
"@sendbird/uikit-([^/]+)": "<rootDir>/packages/uikit-$1/src"
},
"collectCoverageFrom": [
"**/packages/*/src/**",
"!packages/uikit-testing-tools/**",
"!**/__mocks__/**",
"!**/__fixtures__/**"
]
},
"resolutions": {
"@sendbird/chat": "4.13.3",
"@types/react": "^18"
}
}