@nanoflags/sdk 0.0.0-stage → 0.3.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 CHANGED
@@ -1,6 +1,101 @@
1
1
  {
2
2
  "name": "@nanoflags/sdk",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.3.0",
4
+ "description": "NanoFlags JavaScript/TypeScript SDK: local, synchronous flag evaluation with background updates (Node, browsers, edge runtimes, React).",
5
+ "keywords": [
6
+ "feature-flags",
7
+ "feature-toggles",
8
+ "nanoflags",
9
+ "sdk",
10
+ "react",
11
+ "rollout",
12
+ "experimentation",
13
+ "openfeature"
14
+ ],
15
+ "license": "Apache-2.0",
16
+ "homepage": "https://nanoflags.io/docs",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "git+https://github.com/motazalmaroai/nanoflags-sdk.git",
20
+ "directory": "packages/sdk"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/motazalmaroai/nanoflags-sdk/issues"
24
+ },
25
+ "type": "module",
26
+ "sideEffects": false,
27
+ "main": "./dist/index.cjs",
28
+ "module": "./dist/index.js",
29
+ "types": "./dist/index.d.cts",
30
+ "exports": {
31
+ ".": {
32
+ "import": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./dist/index.js"
35
+ },
36
+ "require": {
37
+ "types": "./dist/index.d.cts",
38
+ "default": "./dist/index.cjs"
39
+ }
40
+ },
41
+ "./react": {
42
+ "import": {
43
+ "types": "./dist/react.d.ts",
44
+ "default": "./dist/react.js"
45
+ },
46
+ "require": {
47
+ "types": "./dist/react.d.cts",
48
+ "default": "./dist/react.cjs"
49
+ }
50
+ },
51
+ "./node": {
52
+ "import": {
53
+ "types": "./dist/node.d.ts",
54
+ "default": "./dist/node.js"
55
+ },
56
+ "require": {
57
+ "types": "./dist/node.d.cts",
58
+ "default": "./dist/node.cjs"
59
+ }
60
+ },
61
+ "./package.json": "./package.json"
62
+ },
63
+ "files": [
64
+ "dist",
65
+ "README.md",
66
+ "LICENSE",
67
+ "NOTICE"
68
+ ],
69
+ "engines": {
70
+ "node": ">=18"
71
+ },
72
+ "publishConfig": {
73
+ "access": "public"
74
+ },
75
+ "peerDependencies": {
76
+ "react": ">=18"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "react": {
80
+ "optional": true
81
+ }
82
+ },
83
+ "devDependencies": {
84
+ "@types/node": "^22.20.5",
85
+ "@types/react": "^19.3.0",
86
+ "@types/react-dom": "^19.3.0",
87
+ "react": "^19.3.1",
88
+ "react-dom": "^19.3.1",
89
+ "tsdown": "^0.23.7",
90
+ "typescript": "^7.0.2",
91
+ "vitest": "^4.1.12",
92
+ "@nanoflags/engine": "0.1.0"
93
+ },
94
+ "author": "Alibtekarat Althkiya Company for Trading & Marketing (Intinovate) <support@nanoflags.io>",
95
+ "scripts": {
96
+ "build": "tsdown",
97
+ "test": "vitest run",
98
+ "typecheck": "tsc --noEmit",
99
+ "smoke": "pnpm build && node scripts/smoke.mjs"
100
+ }
6
101
  }