@originallyus/feedback-rn-sdk 3.0.6 → 3.0.7-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +119 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@originallyus/feedback-rn-sdk",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-beta.1",
4
4
  "description": "A cross-platform Feedback component for React Native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "react-native": "lib/commonjs/index",
@@ -9,32 +9,139 @@
9
9
  "lib",
10
10
  "fonts"
11
11
  ],
12
+ "scripts": {
13
+ "example": "yarn workspace @originallyus/feedback-rn-sdk-example",
14
+ "test": "jest",
15
+ "typecheck": "tsc --noEmit",
16
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
17
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
18
+ "prepare": "bob build",
19
+ "build": "sh build.sh",
20
+ "release": "release-it"
21
+ },
22
+ "keywords": [
23
+ "react-native",
24
+ "ios",
25
+ "android"
26
+ ],
12
27
  "author": "Originally US <hello@originallyus.us>",
13
- "license": "MIT",
14
28
  "bugs": {
15
29
  "email": "hello@originallyus.us"
16
30
  },
17
- "scripts": {
18
- "prepublishOnly": "sh pre_publish.sh"
31
+ "homepage": null,
32
+ "publishConfig": {
33
+ "registry": "https://registry.npmjs.org/"
19
34
  },
20
35
  "devDependencies": {
21
- "@babel/runtime": "^7.24.0",
22
- "babel-preset-react-native": "^4.0.0",
23
- "react": "^16.2.0",
24
- "react-native": "^0.53.0"
36
+ "@commitlint/config-conventional": "^17.0.2",
37
+ "@evilmartians/lefthook": "^1.5.0",
38
+ "@react-native/eslint-config": "^0.72.2",
39
+ "@release-it/conventional-changelog": "^5.0.0",
40
+ "@types/jest": "^28.1.2",
41
+ "@types/react": "~17.0.21",
42
+ "@types/react-native": "0.70.0",
43
+ "commitlint": "^17.0.2",
44
+ "del-cli": "^5.0.0",
45
+ "eslint": "^8.4.1",
46
+ "eslint-config-prettier": "^8.5.0",
47
+ "eslint-plugin-prettier": "^4.0.0",
48
+ "jest": "^28.1.1",
49
+ "pod-install": "^0.1.0",
50
+ "prettier": "^2.0.5",
51
+ "react": "18.2.0",
52
+ "react-native": "0.73.2",
53
+ "react-native-builder-bob": "^0.20.0",
54
+ "release-it": "^15.0.0",
55
+ "turbo": "^1.10.7",
56
+ "typescript": "^5.0.2"
57
+ },
58
+ "resolutions": {
59
+ "@types/react": "17.0.21"
60
+ },
61
+ "workspaces": [
62
+ "example"
63
+ ],
64
+ "packageManager": "yarn@3.6.1",
65
+ "engines": {
66
+ "node": ">= 18.0.0"
67
+ },
68
+ "jest": {
69
+ "preset": "react-native",
70
+ "modulePathIgnorePatterns": [
71
+ "<rootDir>/example/node_modules",
72
+ "<rootDir>/lib/"
73
+ ]
74
+ },
75
+ "release-it": {
76
+ "git": {
77
+ "commitMessage": "chore: release ${version}",
78
+ "tagName": "v${version}"
79
+ },
80
+ "npm": {
81
+ "publish": true
82
+ },
83
+ "github": {
84
+ "release": false
85
+ },
86
+ "plugins": {
87
+ "@release-it/conventional-changelog": {
88
+ "preset": "angular"
89
+ }
90
+ }
91
+ },
92
+ "eslintConfig": {
93
+ "root": true,
94
+ "extends": [
95
+ "@react-native",
96
+ "prettier"
97
+ ],
98
+ "rules": {
99
+ "prettier/prettier": [
100
+ "error",
101
+ {
102
+ "quoteProps": "consistent",
103
+ "singleQuote": true,
104
+ "tabWidth": 2,
105
+ "trailingComma": "es5",
106
+ "useTabs": false
107
+ }
108
+ ]
109
+ }
110
+ },
111
+ "eslintIgnore": [
112
+ "node_modules/",
113
+ "lib/"
114
+ ],
115
+ "prettier": {
116
+ "quoteProps": "consistent",
117
+ "singleQuote": true,
118
+ "tabWidth": 2,
119
+ "trailingComma": "es5",
120
+ "useTabs": false
121
+ },
122
+ "react-native-builder-bob": {
123
+ "source": "src_uglifyjs",
124
+ "output": "lib",
125
+ "targets": [
126
+ [
127
+ "commonjs",
128
+ {
129
+ "sourceMaps": false,
130
+ "configFile": true
131
+ }
132
+ ]
133
+ ]
25
134
  },
26
135
  "peerDependencies": {
27
136
  "axios": "*",
28
137
  "crypto-js": "*",
29
138
  "react": "*",
30
139
  "react-native": "*",
31
- "react-native-android-keyboard-adjust-originallyus": ">=2.0.3",
32
140
  "react-native-device-info": "*",
33
141
  "react-native-encrypted-storage": "*",
34
142
  "react-native-rate": "*"
35
143
  },
36
144
  "dependencies": {
37
- "react-native-android-keyboard-adjust-originallyus": ">=2.0.3"
38
- },
39
- "packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
145
+ "react-native-android-keyboard-adjust-originallyus": "*"
146
+ }
40
147
  }