forked from invertase/notifee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.95 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
{
"name": "@notifications/root",
"private": true,
"license": "Apache-2.0",
"scripts": {
"prepare": "yarn lerna:link && lerna run prepare && yarn build:core:ios && (yarn tests_rn:ios:pod:install || true)",
"precommit": "yarn build:all:clean && yarn prepare && yarn build:all && yarn gen:reference && yarn validate:all && yarn test:all",
"build:all": "yarn build:core && yarn build:rn",
"build:core": "yarn build:core:android && yarn build:core:ios",
"build:core:android": "cd ./android && ./gradlew assembleRelease compileDebugJavaWithJavac compileDebugUnitTestJavaWithJavac publish",
"build:all:clean": "rimraf android/build && rimraf packages/react-native/android/libs && rimraf android/.gradle && rimraf ios/build && lerna run build:clean",
"build:rn": "cd packages/react-native && yarn build",
"build:rn:watch": "cd packages/react-native && yarn build:watch",
"build:core:ios": "./build_ios_core.sh",
"format:all": "yarn format:core && yarn format:rn",
"format:rn": "yarn format:rn:android && yarn format:rn:ios",
"format:rn:android": "cd packages/react-native/android && yarn format:android",
"format:rn:ios": "cd packages/react-native/ios && yarn format:ios",
"format:core": "yarn format:core:android && yarn format:core:ios",
"format:core:android": "cd android && yarn format:android",
"format:core:ios": "cd ios && yarn format:ios",
"format:android": "yarn google-java-format --replace -i $(find . -type f -name \"*.java\")",
"format:ios": "yarn clang-format -i --glob=\"*/**/*.{h,cpp,m,mm}\" --style=Google",
"validate:all": "yarn validate:all:js && yarn validate:all:ts && yarn gen:reference",
"validate:all:js": "eslint . --ext .js,.jsx,.ts,.tsx --resolve-plugins-relative-to .",
"validate:all:ts": "tsc --project ./",
"lerna:bootstrap": "lerna bootstrap",
"lerna:link": "lerna link && lerna exec -- yarn link",
"lerna:clean": "lerna clean",
"gen:reference": "rimraf docs-react-native/typedoc.json docs-react-native/typedoc.min.json && node scripts/generate-typedoc.js",
"test:all": "yarn test:core:android && yarn tests_rn:test && yarn tests_rn:android:test && yarn tests_rn:ios:test",
"test:core:android": "cd android && ./gradlew testDebugUnit",
"tests_rn:packager": "cd tests_react_native && npx react-native start",
"tests_rn:packager:reset-cache": "cd tests_react_native && npx react-native start --reset-cache",
"run:android": "cd tests_react_native && npx react-native run-android --variant 'debug'",
"run:ios": "cd tests_react_native && npx react-native run-ios --scheme=Notifee --simulator 'iPhone 14'",
"tests_rn:test": "cd tests_react_native && jest",
"tests_rn:test-watch": "cd tests_react_native && jest --watch",
"tests_rn:test-coverage": "cd tests_react_native && jest --coverage",
"tests_rn:android:build": "cd tests_react_native/android && ./gradlew assembleDebug -DtestBuildType=debug",
"tests_rn:android:test": "cd tests_react_native && npm_config_yes=true npx cavy-cli run-android --no-jetifier",
"tests_rn:ios:test": "cd tests_react_native && npm_config_yes=true npx cavy-cli run-ios --scheme=Notifee --simulator 'iPhone 14'",
"tests_rn:ios:pod:install": "cd tests_react_native && npm_config_yes=true npx pod-install && cd .."
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.0.1",
"@react-native-community/eslint-plugin": "^1.3.0",
"@types/node": "^17.0.21",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"clang-format": "^1.6.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-ft-flow": "^3.0.1",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-native": "^4.1.0",
"google-java-format": "^1.0.1",
"lerna": "^4.0.0",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"typedoc": "^0.19.2",
"typescript": "^4.6.2"
},
"resolutions": {
"@types/node": "^17.0.21"
},
"lint-staged": {
"packages/**/*.js": [
"eslint --fix",
"git add"
],
"tests/**/*.js": [
"eslint --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"workspaces": {
"packages": [
"packages/*",
"tests_react_native"
],
"nohoist": [
"**/chai",
"**/chai/**",
"**/cavy",
"**/cavy/**",
"**/cavy-native-reporter",
"**/cavy-native-reporter/**",
"**/chalk/",
"**/chalk/**",
"**/prop-types",
"**/prop-types/**",
"**/patch-package",
"**/patch-package/**",
"**/react",
"**/react/**",
"**/react-native",
"**/react-native/**",
"**/@react-native-community",
"**/@react-native-community/**"
]
},
"dependencies": {
"axios": "^0.26.0",
"shelljs": "^0.8.5"
}
}