@mappedin/dynamic-focus 6.0.1-beta.55 → 6.0.1-beta.57

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.
package/package.json CHANGED
@@ -1,12 +1,33 @@
1
1
  {
2
2
  "name": "@mappedin/dynamic-focus",
3
- "version": "6.0.1-beta.55",
3
+ "version": "6.0.1-beta.57",
4
4
  "homepage": "https://developer.mappedin.com/",
5
5
  "private": false,
6
6
  "main": "lib/esm/index.js",
7
7
  "module": "lib/esm/index.js",
8
8
  "browser": "lib/esm/index.js",
9
9
  "types": "lib/esm/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./lib/esm/index.js",
13
+ "types": "./lib/esm/index.d.ts"
14
+ },
15
+ "./react": {
16
+ "import": "./lib/esm/react/index.js",
17
+ "types": "./lib/esm/react/index.d.ts"
18
+ },
19
+ "./rn": {
20
+ "import": "./lib/rn/index-rn.js",
21
+ "types": "./lib/rn/index-rn.d.ts"
22
+ }
23
+ },
24
+ "typesVersions": {
25
+ "*": {
26
+ "rn": [
27
+ "lib/rn/index-rn.d.ts"
28
+ ]
29
+ }
30
+ },
10
31
  "files": [
11
32
  "lib",
12
33
  "README.md",
@@ -14,21 +35,37 @@
14
35
  "THIRD_PARTY_LICENSES.txt"
15
36
  ],
16
37
  "license": "SEE LICENSE IN LICENSE.txt",
38
+ "peerDependencies": {
39
+ "react": ">=16.8.0",
40
+ "@mappedin/mappedin-js": "^6.0.0-rc.4",
41
+ "@mappedin/react-native-sdk": "^6.0.0-beta.1",
42
+ "@mappedin/react-sdk": "^6.0.0-rc.4"
43
+ },
44
+ "peerDependenciesMeta": {
45
+ "@mappedin/react-sdk": {
46
+ "optional": true
47
+ },
48
+ "@mappedin/react-native-sdk": {
49
+ "optional": true
50
+ },
51
+ "react": {
52
+ "optional": true
53
+ }
54
+ },
55
+ "devDependencies": {},
56
+ "volta": {
57
+ "extends": "../../package.json"
58
+ },
17
59
  "scripts": {
18
60
  "start": "pnpm build && concurrently \"node scripts/build.mjs --watchChanges\" \"node scripts/start.mjs\"",
19
61
  "build": "pnpm clean && tsc -b && node scripts/build.mjs",
20
- "build:prod": "cross-env NODE_ENV=production pnpm build",
62
+ "build:prod": "cross-env NODE_ENV=production pnpm build && pnpm build:rn",
63
+ "build:rn": "cross-env RN_BUILD=true pnpm build",
21
64
  "types": "tsc -b",
22
- "test": "NODE_ENV=test jest",
65
+ "test": "pnpm -w test dynamic-focus",
23
66
  "test:cov": "NODE_ENV=test jest --coverage",
67
+ "version:ci": "pnpm version --no-commit-hooks --no-git-tag-version",
24
68
  "clean": "rm -rf lib/** && rm -rf examples/dist/**",
25
69
  "docs": "pnpm build && typedoc"
26
- },
27
- "peerDependencies": {
28
- "@mappedin/mappedin-js": ">=6.0.1-rc.0"
29
- },
30
- "volta": {
31
- "extends": "../../package.json"
32
- },
33
- "gitHead": "6f653df01e872470753a4ddfeb213b6e28c50f93"
34
- }
70
+ }
71
+ }