@configdirector/react-native-sdk 0.1.0

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 ADDED
@@ -0,0 +1,118 @@
1
+ {
2
+ "name": "@configdirector/react-native-sdk",
3
+ "version": "0.1.0",
4
+ "description": "React Native client SDK for ConfigDirector. ConfigDirector is a remote configuration and feature flag service.",
5
+ "license": "MIT",
6
+ "author": "ConfigDirector",
7
+ "keywords": [
8
+ "configdirector",
9
+ "configdirector react native",
10
+ "config",
11
+ "configuration",
12
+ "remote config",
13
+ "remote configuration",
14
+ "feature flag",
15
+ "feature toggle",
16
+ "feature switch",
17
+ "react-native",
18
+ "ios",
19
+ "android"
20
+ ],
21
+ "homepage": "https://www.configdirector.com",
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/ConfigDirector/js-sdks"
25
+ },
26
+ "main": "./dist/configdirector-react-native.mjs",
27
+ "types": "./dist/configdirector-react-native.d.mts",
28
+ "exports": {
29
+ ".": {
30
+ "source": "./src/index.tsx",
31
+ "react-native": "./dist/configdirector-react-native.mjs",
32
+ "types": "./dist/configdirector-react-native.d.mts",
33
+ "default": "./dist/configdirector-react-native.mjs"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "files": [
38
+ "dist"
39
+ ],
40
+ "scripts": {
41
+ "example": "yarn workspace @configdirector/react-native-sdk-example",
42
+ "clean": "del-cli dist",
43
+ "build": "tsdown",
44
+ "prepare": "yarn build",
45
+ "typecheck": "tsc",
46
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
47
+ "test": "jest --watchAll",
48
+ "ci:test": "jest --ci",
49
+ "coverage": "jest --ci --coverage",
50
+ "release": "yarn clean && yarn lint && yarn ci:test && yarn build && npm publish --access public"
51
+ },
52
+ "publishConfig": {
53
+ "registry": "https://registry.npmjs.org/"
54
+ },
55
+ "devDependencies": {
56
+ "@babel/core": "^7.29.0",
57
+ "@eslint/js": "^10.0.1",
58
+ "@react-native/babel-preset": "^0.85.0",
59
+ "@rollup/plugin-replace": "^6.0.3",
60
+ "@testing-library/react-native": "^13.3.3",
61
+ "@types/babel__core": "^7",
62
+ "@types/jest": "^30.0.0",
63
+ "@types/react": "^19.2.0",
64
+ "@types/react-test-renderer": "^19",
65
+ "@types/wtfnode": "^0",
66
+ "babel-jest": "^30.3.0",
67
+ "del-cli": "^7.0.0",
68
+ "eslint": "^10.2.0",
69
+ "jest": "^30.3.0",
70
+ "prettier": "^3.8.2",
71
+ "react": "19.1.0",
72
+ "react-native": "0.81.5",
73
+ "react-test-renderer": "19.1.0",
74
+ "tsdown": "^0.21.7",
75
+ "turbo": "^2.8.21",
76
+ "typescript": "^5.9.3",
77
+ "typescript-eslint": "^8.58.1",
78
+ "wtfnode": "^0.10.1"
79
+ },
80
+ "peerDependencies": {
81
+ "expo": ">=48",
82
+ "react": "*",
83
+ "react-native": ">=0.71"
84
+ },
85
+ "peerDependenciesMeta": {
86
+ "expo": {
87
+ "optional": true
88
+ }
89
+ },
90
+ "workspaces": [
91
+ "example"
92
+ ],
93
+ "create-react-native-library": {
94
+ "type": "library",
95
+ "languages": "js",
96
+ "tools": [
97
+ "eslint"
98
+ ],
99
+ "version": "0.61.0"
100
+ },
101
+ "jest": {
102
+ "preset": "react-native",
103
+ "testMatch": [
104
+ "<rootDir>/test/**/*.spec.{ts,tsx}"
105
+ ],
106
+ "setupFilesAfterEnv": [
107
+ "<rootDir>/test/setup.ts"
108
+ ],
109
+ "moduleNameMapper": {
110
+ "^@js-client-core/(.*)$": "<rootDir>/../js-client-core/src/$1",
111
+ "^@shared/(.*)$": "<rootDir>/../shared/src/$1",
112
+ "^@eventsource/(.*)$": "<rootDir>/../eventsource/src/$1"
113
+ },
114
+ "transformIgnorePatterns": [
115
+ "node_modules/(?!((jest-)?react-native|@react-native(-community)?)/)"
116
+ ]
117
+ }
118
+ }