@oxyhq/services 5.4.6 → 5.4.7
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 +15 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oxyhq/services",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.7",
|
|
4
4
|
"description": "Reusable OxyHQ module to handle authentication, user management, karma system, device-based session management and more 🚀",
|
|
5
5
|
"main": "lib/commonjs/node/index.js",
|
|
6
6
|
"module": "lib/module/node/index.js",
|
|
@@ -9,24 +9,24 @@
|
|
|
9
9
|
"source": "src/index.ts",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
+
"types": "./lib/typescript/index.d.ts",
|
|
12
13
|
"import": "./lib/module/index.js",
|
|
13
|
-
"require": "./lib/commonjs/index.js"
|
|
14
|
-
"types": "./lib/typescript/index.d.ts"
|
|
14
|
+
"require": "./lib/commonjs/index.js"
|
|
15
15
|
},
|
|
16
16
|
"./core": {
|
|
17
|
+
"types": "./lib/typescript/node/index.d.ts",
|
|
17
18
|
"import": "./lib/module/node/index.js",
|
|
18
|
-
"require": "./lib/commonjs/node/index.js"
|
|
19
|
-
"types": "./lib/typescript/node/index.d.ts"
|
|
19
|
+
"require": "./lib/commonjs/node/index.js"
|
|
20
20
|
},
|
|
21
21
|
"./ui": {
|
|
22
|
+
"types": "./lib/typescript/ui/index.d.ts",
|
|
22
23
|
"import": "./lib/module/ui/index.js",
|
|
23
|
-
"require": "./lib/commonjs/ui/index.js"
|
|
24
|
-
"types": "./lib/typescript/ui/index.d.ts"
|
|
24
|
+
"require": "./lib/commonjs/ui/index.js"
|
|
25
25
|
},
|
|
26
26
|
"./full": {
|
|
27
|
+
"types": "./lib/typescript/index.d.ts",
|
|
27
28
|
"import": "./lib/module/index.js",
|
|
28
|
-
"require": "./lib/commonjs/index.js"
|
|
29
|
-
"types": "./lib/typescript/index.d.ts"
|
|
29
|
+
"require": "./lib/commonjs/index.js"
|
|
30
30
|
},
|
|
31
31
|
"./package.json": "./package.json"
|
|
32
32
|
},
|
|
@@ -57,15 +57,16 @@
|
|
|
57
57
|
"homepage": "https://oxy.so",
|
|
58
58
|
"scripts": {
|
|
59
59
|
"typescript": "tsc --skipLibCheck --noEmit",
|
|
60
|
+
"tsc": "./node_modules/.bin/tsc",
|
|
60
61
|
"lint": "biome lint --error-on-warnings ./src",
|
|
61
|
-
"build": "bob build &&
|
|
62
|
+
"build": "PATH=\"$PATH:./node_modules/.bin\" bob build && npm run copy-assets && npm run copy-dts && npm run delete-dts.js && npm run delete-debug-view",
|
|
62
63
|
"copy-assets": "copyfiles -u 1 \"src/assets/**/*\" lib/commonjs/assets && copyfiles -u 1 \"src/assets/**/*\" lib/module/assets",
|
|
63
64
|
"copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" lib/typescript",
|
|
64
65
|
"delete-debug-view": "rm -rf ./lib/commonjs/components/bottomSheetDebugView ./lib/module/components/bottomSheetDebugView ./lib/typescript/components/bottomSheetDebugView || true",
|
|
65
66
|
"delete-dts.js": "find ./lib/commonjs -name '*.d.js*' -delete && find ./lib/module -name '*.d.js*' -delete",
|
|
66
|
-
"release": "rm -rf lib &&
|
|
67
|
-
"example": "
|
|
68
|
-
"bootstrap": "
|
|
67
|
+
"release": "rm -rf lib && npm run build && release-it",
|
|
68
|
+
"example": "npm --prefix example",
|
|
69
|
+
"bootstrap": "npm install && npm run example"
|
|
69
70
|
},
|
|
70
71
|
"dependencies": {
|
|
71
72
|
"@gorhom/bottom-sheet": "^5.1.6",
|
|
@@ -110,7 +111,7 @@
|
|
|
110
111
|
"react-test-renderer": "^18.3.1",
|
|
111
112
|
"release-it": "^17.6.0",
|
|
112
113
|
"ts-jest": "^29.4.0",
|
|
113
|
-
"typescript": "^5.
|
|
114
|
+
"typescript": "^5.0.0"
|
|
114
115
|
},
|
|
115
116
|
"peerDependencies": {
|
|
116
117
|
"@expo/vector-icons": "^14.1.0",
|