forked from invertase/notifee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 4.55 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
{
"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/typedoc.json docs/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 12'",
"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 && npx cavy-cli run-android --no-jetifier",
"tests_rn:ios:test": "cd tests_react_native && npx cavy-cli run-ios --scheme=Notifee --simulator 'iPhone 12'",
"tests_rn:ios:pod:install": "cd tests_react_native && cd ios && pod install --repo-update && cd .."
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.0.1",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"clang-format": "^1.5.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"google-java-format": "^1.0.1",
"lerna": "^4.0.0",
"prettier": "^2.3.1",
"rimraf": "^3.0.2",
"typedoc": "^0.19.2",
"typescript": "^4.4.3"
},
"resolutions": {
"@types/node": "^16.11.6"
},
"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/**"
]
},
"dependencies": {
"axios": "^0.24.0",
"shelljs": "^0.8.4"
}
}