@react-lgpd-consent/core 0.5.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,77 @@
1
+ {
2
+ "name": "@react-lgpd-consent/core",
3
+ "version": "0.5.0",
4
+ "description": "Núcleo da biblioteca de consentimento LGPD para React - Estado, hooks e utilitários sem dependências de UI",
5
+ "keywords": [
6
+ "lgpd",
7
+ "anpd",
8
+ "consent",
9
+ "cookies",
10
+ "react",
11
+ "typescript",
12
+ "privacy",
13
+ "gdpr",
14
+ "headless",
15
+ "core",
16
+ "hooks",
17
+ "acessibilidade"
18
+ ],
19
+ "author": {
20
+ "name": "Luciano Édipo",
21
+ "email": "luciano.psilva@anpd.gov.br",
22
+ "url": "https://github.com/lucianoedipo"
23
+ },
24
+ "license": "MIT",
25
+ "type": "module",
26
+ "main": "dist/index.cjs",
27
+ "module": "dist/index.js",
28
+ "types": "dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "types": "./dist/index.d.ts",
32
+ "import": "./dist/index.js",
33
+ "require": "./dist/index.cjs"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "sideEffects": false,
38
+ "files": [
39
+ "dist",
40
+ "README.md",
41
+ "CHANGELOG.md",
42
+ "LICENSE"
43
+ ],
44
+ "publishConfig": {
45
+ "access": "public"
46
+ },
47
+ "engines": {
48
+ "node": ">=20.0.0"
49
+ },
50
+ "peerDependencies": {
51
+ "react": "^18.2.0 || ^19.0.0",
52
+ "react-dom": "^18.2.0 || ^19.0.0"
53
+ },
54
+ "dependencies": {
55
+ "js-cookie": "^3.0.5",
56
+ "zod": "^4.1.12"
57
+ },
58
+ "repository": {
59
+ "type": "git",
60
+ "url": "git+https://github.com/lucianoedipo/react-lgpd-consent.git"
61
+ },
62
+ "bugs": {
63
+ "url": "https://github.com/lucianoedipo/react-lgpd-consent/issues"
64
+ },
65
+ "homepage": "https://lucianoedipo.github.io/react-lgpd-consent/",
66
+ "scripts": {
67
+ "clean": "rimraf dist",
68
+ "build": "cross-env NODE_ENV=production tsup src/index.ts --format esm,cjs --dts --clean",
69
+ "dev": "cross-env NODE_ENV=development tsup src/index.ts --format esm,cjs --dts --watch",
70
+ "lint": "eslint \"src/**/*.{ts,tsx}\" --cache",
71
+ "lint:ci": "eslint \"src/**/*.{ts,tsx}\" --cache --max-warnings=0",
72
+ "format": "prettier --write \"src/**/*.{ts,tsx,json,md}\"",
73
+ "type-check": "tsc --noEmit",
74
+ "test": "jest --config ../../jest.config.mjs",
75
+ "docs:generate": "echo \"No docs generation for core yet\""
76
+ }
77
+ }