@chem-po/react-native 0.0.13 → 0.0.14

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 +10 -30
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@chem-po/react-native",
3
- "version": "0.0.13",
4
- "main": "lib/module/index.js",
3
+ "version": "0.0.14",
4
+ "main": "lib/commonjs/index.js",
5
5
  "types": "lib/typescript/index.d.ts",
6
+ "source": "src/index.ts",
6
7
  "publishConfig": {
7
- "access": "public"
8
+ "access": "public",
9
+ "react-native": "src/index.ts"
8
10
  },
9
11
  "sideEffects": false,
10
12
  "license": "MIT",
@@ -45,8 +47,8 @@
45
47
  "react-native-paper-dates": "^0.22.42",
46
48
  "react-native-svg": "15.11.2",
47
49
  "zustand": "^4.3.3",
48
- "@chem-po/core": "0.0.13",
49
- "@chem-po/react": "0.0.13"
50
+ "@chem-po/core": "0.0.14",
51
+ "@chem-po/react": "0.0.14"
50
52
  },
51
53
  "devDependencies": {
52
54
  "@babel/core": "^7.26.0",
@@ -81,18 +83,8 @@
81
83
  "source": "src",
82
84
  "output": "lib",
83
85
  "targets": [
84
- [
85
- "commonjs",
86
- {
87
- "esm": true
88
- }
89
- ],
90
- [
91
- "module",
92
- {
93
- "esm": true
94
- }
95
- ],
86
+ "commonjs",
87
+ "module",
96
88
  [
97
89
  "typescript",
98
90
  {
@@ -111,17 +103,5 @@
111
103
  "watch": "bob build --watch",
112
104
  "clean": "rm -rf lib"
113
105
  },
114
- "exports": {
115
- "import": {
116
- "types": "./lib/typescript/module/index.d.ts",
117
- "default": "./lib/module/index.js",
118
- "source": "./src/index.ts"
119
- },
120
- "require": {
121
- "types": "./lib/typescript/commonjs/index.d.ts",
122
- "default": "./lib/commonjs/index.js",
123
- "source": "./src/index.ts"
124
- },
125
- "./package.json": "./package.json"
126
- }
106
+ "module": "lib/module/index.js"
127
107
  }