Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 1.46 KB
/
Copy pathpackage.json
File metadata and controls
59 lines (59 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"name": "@analytics-debugger/consent-string",
"version": "0.0.2",
"description": "Decode Google's gcd consent parameter into the effective consent of each type",
"main": "./dist/index.cjs",
"scripts": {
"build": "vp pack && node scripts/build-es5.mjs",
"test": "vp test run",
"check": "vp check",
"typecheck": "tsc -p .",
"prepublishOnly": "npm run typecheck && npm test && npm run build"
},
"keywords": [
"consent-mode",
"consent-mode-v2",
"gcd",
"google-tag",
"ga4"
],
"author": "David Vallejo",
"license": "MIT",
"type": "module",
"devDependencies": {
"@swc/core": "^1.16.22",
"acorn": "^8.19.0",
"typescript": "^5.8.3",
"vite-plus": "^1.5.0"
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/consent-string.min.js",
"jsdelivr": "./dist/consent-string.min.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/analytics-debugger/consent-string.git"
},
"homepage": "https://github.com/analytics-debugger/consent-string#readme",
"bugs": {
"url": "https://github.com/analytics-debugger/consent-string/issues"
}
}