@luwiostack/cookie-consent 0.0.0-stage → 0.2.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,92 @@
1
1
  {
2
2
  "name": "@luwiostack/cookie-consent",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "version": "0.2.0",
4
+ "description": "Cookie consent — typed, app-defined categories with vendor cookie declarations (plus ready-made presets), persisted to localStorage with policy-version and expiry re-consent, script unblocking and removal of a withdrawn category's cookies. React-free core plus a provider, useConsent and a gating component; no UI — apps build their own banner.",
5
+ "keywords": [
6
+ "consent",
7
+ "cookie-consent",
8
+ "cookies",
9
+ "gdpr",
10
+ "eprivacy",
11
+ "cookie-banner",
12
+ "cookie-removal",
13
+ "react",
14
+ "luwio"
15
+ ],
16
+ "license": "MIT",
17
+ "repository": {
18
+ "type": "git",
19
+ "url": "https://github.com/Tactics/LuwioStack.git",
20
+ "directory": "packages/cookie-consent"
21
+ },
22
+ "type": "module",
23
+ "sideEffects": false,
24
+ "files": [
25
+ "dist"
26
+ ],
27
+ "main": "./dist/index.cjs",
28
+ "module": "./dist/index.mjs",
29
+ "types": "./dist/index.d.cts",
30
+ "exports": {
31
+ ".": {
32
+ "import": {
33
+ "types": "./dist/index.d.mts",
34
+ "default": "./dist/index.mjs"
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.mts",
44
+ "default": "./dist/react.mjs"
45
+ },
46
+ "require": {
47
+ "types": "./dist/react.d.cts",
48
+ "default": "./dist/react.cjs"
49
+ }
50
+ },
51
+ "./vendors": {
52
+ "import": {
53
+ "types": "./dist/vendors.d.mts",
54
+ "default": "./dist/vendors.mjs"
55
+ },
56
+ "require": {
57
+ "types": "./dist/vendors.d.cts",
58
+ "default": "./dist/vendors.cjs"
59
+ }
60
+ }
61
+ },
62
+ "publishConfig": {
63
+ "access": "public",
64
+ "provenance": true
65
+ },
66
+ "dependencies": {
67
+ "@luwiostack/storage": "0.1.1"
68
+ },
69
+ "peerDependencies": {
70
+ "react": ">=18"
71
+ },
72
+ "peerDependenciesMeta": {
73
+ "react": {
74
+ "optional": true
75
+ }
76
+ },
77
+ "devDependencies": {
78
+ "@testing-library/react": "^16.3.2",
79
+ "@types/react": "^19.2.18",
80
+ "@types/react-dom": "^19.2.4",
81
+ "happy-dom": "^20.11.2",
82
+ "react": "^19.2.8",
83
+ "react-dom": "^19.2.8"
84
+ },
85
+ "scripts": {
86
+ "build": "tsdown",
87
+ "dev": "tsdown --watch --no-clean",
88
+ "test": "vitest run",
89
+ "lint": "biome check .",
90
+ "typecheck": "tsc --noEmit"
91
+ }
6
92
  }