@luwiostack/cookie-consent 0.0.0-stage → 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 CHANGED
@@ -1,6 +1,93 @@
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.1.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, Google Consent Mode v2, 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
+ "google-consent-mode",
14
+ "react",
15
+ "luwio"
16
+ ],
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/Tactics/LuwioStack.git",
21
+ "directory": "packages/cookie-consent"
22
+ },
23
+ "type": "module",
24
+ "sideEffects": false,
25
+ "files": [
26
+ "dist"
27
+ ],
28
+ "main": "./dist/index.cjs",
29
+ "module": "./dist/index.mjs",
30
+ "types": "./dist/index.d.cts",
31
+ "exports": {
32
+ ".": {
33
+ "import": {
34
+ "types": "./dist/index.d.mts",
35
+ "default": "./dist/index.mjs"
36
+ },
37
+ "require": {
38
+ "types": "./dist/index.d.cts",
39
+ "default": "./dist/index.cjs"
40
+ }
41
+ },
42
+ "./react": {
43
+ "import": {
44
+ "types": "./dist/react.d.mts",
45
+ "default": "./dist/react.mjs"
46
+ },
47
+ "require": {
48
+ "types": "./dist/react.d.cts",
49
+ "default": "./dist/react.cjs"
50
+ }
51
+ },
52
+ "./vendors": {
53
+ "import": {
54
+ "types": "./dist/vendors.d.mts",
55
+ "default": "./dist/vendors.mjs"
56
+ },
57
+ "require": {
58
+ "types": "./dist/vendors.d.cts",
59
+ "default": "./dist/vendors.cjs"
60
+ }
61
+ }
62
+ },
63
+ "publishConfig": {
64
+ "access": "public",
65
+ "provenance": true
66
+ },
67
+ "dependencies": {
68
+ "@luwiostack/storage": "0.1.0"
69
+ },
70
+ "peerDependencies": {
71
+ "react": ">=18"
72
+ },
73
+ "peerDependenciesMeta": {
74
+ "react": {
75
+ "optional": true
76
+ }
77
+ },
78
+ "devDependencies": {
79
+ "@testing-library/react": "^16.3.2",
80
+ "@types/react": "^19.2.18",
81
+ "@types/react-dom": "^19.2.4",
82
+ "happy-dom": "^20.11.2",
83
+ "react": "^19.2.8",
84
+ "react-dom": "^19.2.8"
85
+ },
86
+ "scripts": {
87
+ "build": "tsdown",
88
+ "dev": "tsdown --watch --no-clean",
89
+ "test": "vitest run",
90
+ "lint": "biome check .",
91
+ "typecheck": "tsc --noEmit"
92
+ }
6
93
  }