react-native-everything-responsive 1.0.1 → 1.0.2

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 (3) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/README.md +12 -2
  3. package/package.json +43 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2
4
+
5
+ - Improved package description, keywords and README badges for discoverability. No code changes.
6
+
3
7
  ## 1.0.0
4
8
 
5
9
  Initial release.
package/README.md CHANGED
@@ -1,9 +1,19 @@
1
1
  # ReactNativeEverythingResponsive
2
2
 
3
- `npm install react-native-everything-responsive`
3
+ [![npm version](https://img.shields.io/npm/v/react-native-everything-responsive?color=2563eb&label=npm)](https://www.npmjs.com/package/react-native-everything-responsive)
4
+ [![npm downloads](https://img.shields.io/npm/dm/react-native-everything-responsive?color=16a34a)](https://www.npmjs.com/package/react-native-everything-responsive)
5
+ [![dependencies](https://img.shields.io/badge/dependencies-0-16a34a)](#7-compatibility)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-ready-3178c6?logo=typescript&logoColor=white)](docs/API.md)
7
+ [![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20Android%20%7C%20Web%20%7C%20Desktop-6b7280)](#7-compatibility)
8
+ [![Expo](https://img.shields.io/badge/Expo-compatible-000020?logo=expo&logoColor=white)](#7-compatibility)
9
+ [![license](https://img.shields.io/npm/l/react-native-everything-responsive?color=6b7280)](LICENSE)
10
+
11
+ ```bash
12
+ npm install react-native-everything-responsive
13
+ ```
4
14
 
5
15
  **Zero-dependency responsive design for React Native.**
6
- One small toolkit that makes the same UI work on small phones, large phones, foldables, tablets, split-screen, desktops and the web.
16
+ Breakpoints, container queries, responsive styles, a responsive grid, device detection and accessible font scaling, so the same UI works on small phones, large phones, foldables, tablets, split-screen, desktops and the web.
7
17
 
8
18
  - **0 dependencies.** It only needs `react` and `react-native`, which your app already has.
9
19
  - **Container queries.** Components adapt to the space they are given, not just to the screen.
package/package.json CHANGED
@@ -1,7 +1,42 @@
1
1
  {
2
2
  "name": "react-native-everything-responsive",
3
- "version": "1.0.1",
4
- "description": "Zero-dependency responsive design toolkit for React Native: breakpoints, container queries, device detection, safe scaling and accessible font sizing for phones, tablets, foldables, desktops and web.",
3
+ "version": "1.0.2",
4
+ "description": "Make React Native apps responsive on every phone, tablet, foldable, iPad split view, laptop and web. Zero-dependency breakpoints, container queries, responsive styles, responsive grid, device detection, safe scaling and accessible font sizes. TypeScript, Expo and react-native-web ready.",
5
+ "keywords": [
6
+ "react-native",
7
+ "responsive",
8
+ "responsive-design",
9
+ "react-native-responsive",
10
+ "responsive-ui",
11
+ "responsive-layout",
12
+ "adaptive-layout",
13
+ "breakpoints",
14
+ "media-query",
15
+ "media-queries",
16
+ "container-queries",
17
+ "responsive-styles",
18
+ "responsive-grid",
19
+ "grid",
20
+ "tablet",
21
+ "ipad",
22
+ "foldable",
23
+ "split-screen",
24
+ "orientation",
25
+ "device-detection",
26
+ "scaling",
27
+ "responsive-font",
28
+ "font-scaling",
29
+ "accessibility",
30
+ "react-native-web",
31
+ "expo",
32
+ "typescript",
33
+ "hooks",
34
+ "zero-dependency",
35
+ "mobile",
36
+ "desktop"
37
+ ],
38
+ "homepage": "https://www.npmjs.com/package/react-native-everything-responsive",
39
+ "license": "MIT",
5
40
  "main": "lib/index.js",
6
41
  "types": "lib/index.d.ts",
7
42
  "react-native": "src/index.ts",
@@ -15,26 +50,18 @@
15
50
  "CHANGELOG.md"
16
51
  ],
17
52
  "sideEffects": false,
53
+ "engines": {
54
+ "node": ">=18"
55
+ },
56
+ "publishConfig": {
57
+ "access": "public"
58
+ },
18
59
  "scripts": {
19
60
  "build": "rm -rf lib && tsc -p tsconfig.build.json",
20
61
  "typecheck": "tsc -p tsconfig.json --noEmit",
21
62
  "test": "npm run build && node --test tests/*.test.js",
22
63
  "prepublishOnly": "npm run typecheck && npm test"
23
64
  },
24
- "keywords": [
25
- "breakpoints",
26
- "container-queries",
27
- "everything-responsive",
28
- "foldable",
29
- "media-query",
30
- "react-native",
31
- "react-native-web",
32
- "responsive",
33
- "scaling",
34
- "tablet",
35
- "zero-dependency"
36
- ],
37
- "license": "MIT",
38
65
  "peerDependencies": {
39
66
  "react": ">=18.0.0",
40
67
  "react-native": ">=0.70.0"
@@ -45,8 +72,5 @@
45
72
  "react-native": "0.76.5",
46
73
  "react-test-renderer": "18.3.1",
47
74
  "typescript": "^5.6.0"
48
- },
49
- "publishConfig": {
50
- "access": "public"
51
75
  }
52
76
  }