-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
145 lines (145 loc) · 4.57 KB
/
package.json
File metadata and controls
145 lines (145 loc) · 4.57 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
{
"name": "@react-native-oh-tpl/react-native-safe-area-context",
"version": "4.7.4-0.1.6",
"description": "A flexible way to handle safe area, also works on Android and web.",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.tsx",
"types": "lib/typescript/index.d.ts",
"harmony": {
"alias": "react-native-safe-area-context"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"source": "src/index.tsx",
"sideEffects": false,
"files": [
"src",
"lib",
"jest",
"*.podspec",
"react-native.config.js",
"!**/__tests__",
"!example",
"harmony"
],
"author": "Janic Duplessis <janicduplessis@gmail.com>",
"contributors": [
"Evan Bacon <bacon@expo.io> (https://github.com/evanbacon)"
],
"homepage": "https://github.com/th3rdwave/react-native-safe-area-context#readme",
"license": "MIT",
"scripts": {
"start": "react-native start",
"test": "yarn format:check && yarn validate:eslint && yarn validate:typescript && yarn validate:jest",
"validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
"validate:typescript": "tsc --project ./ --noEmit",
"validate:jest": "jest",
"format:prettier:check": "prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check",
"format:prettier:write": "yarn format:prettier:check --write",
"format:clang:check": "clang-format --dry-run --Werror --glob='{ios,android,common}/**/*.{h,cpp,m,mm}'",
"format:clang:write": "clang-format -i --glob='{ios,android,common}/**/*.{h,hpp,cpp,m,mm}'",
"format:spotless:check": "cd android && ./gradlew spotlessCheck",
"format:spotless:write": "cd android && ./gradlew spotlessApply",
"format:check": "yarn format:prettier:check && yarn format:clang:check && yarn format:spotless:check",
"format:write": "yarn format:prettier:write && yarn format:clang:write && yarn format:spotless:write",
"release": "release-it",
"prepare": "bob build",
"build": "tsc",
"pack:prod": "npm pack",
"prepack": "npm run build",
"prepublishOnly": "npm run prepack && react-native verify-package-harmony --package-path . --skip-checks oh_package_name_is_derived_from_npm_package_name;harmony_directory_contains_only_one_har_file",
"update_version": "node ./scripts/update-version.js",
"deploy": "node ./scripts/deploy.js"
},
"keywords": [
"react-native",
"react native",
"react-native-web",
"expo-web",
"safe area",
"view"
],
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.6.1",
"@react-native-community/eslint-config": "^3.2.0",
"@react-native/eslint-plugin-specs": "^0.73.0",
"@release-it/conventional-changelog": "^5.1.1",
"@types/jest": "^29.5.1",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.1",
"@types/react-test-renderer": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"babel-plugin-module-resolver": "^5.0.0",
"clang-format": "^1.8.0",
"commitlint": "^17.6.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"metro-react-native-babel-preset": "0.76.5",
"prettier": "^2.8.8",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native": "0.72.1",
"react-native-builder-bob": "^0.20.4",
"react-test-renderer": "^18.2.0",
"release-it": "^15.10.1",
"typescript": "^5.0.4"
},
"dependencies": {
"react-native-safe-area-context": "4.7.4",
"react-native-harmony-cli": "file:rnoh-react-native-harmony-cli-0.0.26.tgz"
},
"repository": {
"type": "git",
"url": "https://github.com/react-native-oh-library/react-native-safe-area-context.git"
},
"jest": {
"preset": "react-native",
"testEnvironment": "node",
"clearMocks": true,
"modulePathIgnorePatterns": [
"<rootDir>/lib/"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
}
}