@structured-world/vue-privacy 0.0.0-development
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/LICENSE +190 -0
- package/README.md +228 -0
- package/dist/__tests__/types.test.d.ts +1 -0
- package/dist/core/consent-manager.d.ts +64 -0
- package/dist/core/gtag.d.ts +41 -0
- package/dist/core/storage.d.ts +31 -0
- package/dist/core/types.d.ts +147 -0
- package/dist/geo/index.d.ts +45 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +496 -0
- package/dist/index.js.map +1 -0
- package/dist/quasar/index.d.ts +39 -0
- package/dist/quasar/index.js +19 -0
- package/dist/quasar/index.js.map +1 -0
- package/dist/vitepress/index.d.ts +44 -0
- package/dist/vitepress/index.js +24 -0
- package/dist/vitepress/index.js.map +1 -0
- package/dist/vue/ConsentBanner.vue.d.ts +17 -0
- package/dist/vue/index.d.ts +63 -0
- package/dist/vue/index.js +175 -0
- package/dist/vue/index.js.map +1 -0
- package/dist/vue-privacy.css +127 -0
- package/package.json +109 -0
package/package.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@structured-world/vue-privacy",
|
|
3
|
+
"version": "0.0.0-development",
|
|
4
|
+
"description": "Privacy-first consent & analytics for Vue 3, Nuxt 3, VitePress, and Quasar. GDPR/CCPA compliant with Google Consent Mode v2.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"author": "Dmitry Prudnikov <mail@polaz.com>",
|
|
7
|
+
"packageManager": "yarn@4.12.0",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./vue": {
|
|
15
|
+
"types": "./dist/vue/index.d.ts",
|
|
16
|
+
"import": "./dist/vue/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./vitepress": {
|
|
19
|
+
"types": "./dist/vitepress/index.d.ts",
|
|
20
|
+
"import": "./dist/vitepress/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./quasar": {
|
|
23
|
+
"types": "./dist/quasar/index.d.ts",
|
|
24
|
+
"import": "./dist/quasar/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./styles": "./dist/styles/consent.css"
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"module": "./dist/index.js",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"files": [
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://github.com/structured-world/vue-privacy"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://privacy.sw.foundation",
|
|
42
|
+
"bugs": {
|
|
43
|
+
"url": "https://github.com/structured-world/vue-privacy/issues"
|
|
44
|
+
},
|
|
45
|
+
"keywords": [
|
|
46
|
+
"cookie-consent",
|
|
47
|
+
"gdpr",
|
|
48
|
+
"ccpa",
|
|
49
|
+
"google-consent-mode",
|
|
50
|
+
"consent-mode-v2",
|
|
51
|
+
"vue",
|
|
52
|
+
"vue3",
|
|
53
|
+
"quasar",
|
|
54
|
+
"vitepress",
|
|
55
|
+
"privacy",
|
|
56
|
+
"cookie-banner",
|
|
57
|
+
"eu-cookie-law"
|
|
58
|
+
],
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=18"
|
|
61
|
+
},
|
|
62
|
+
"scripts": {
|
|
63
|
+
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
64
|
+
"dev": "vite build --watch",
|
|
65
|
+
"typecheck": "vue-tsc --noEmit",
|
|
66
|
+
"lint": "eslint src/",
|
|
67
|
+
"lint:fix": "eslint src/ --fix",
|
|
68
|
+
"format": "prettier --write \"**/*.{js,ts,vue,json,md}\"",
|
|
69
|
+
"format:check": "prettier --check \"**/*.{js,ts,vue,json,md}\"",
|
|
70
|
+
"test": "vitest run",
|
|
71
|
+
"test:watch": "vitest",
|
|
72
|
+
"test:cov": "vitest run --coverage",
|
|
73
|
+
"docs:dev": "vitepress dev docs",
|
|
74
|
+
"docs:build": "vitepress build docs",
|
|
75
|
+
"docs:preview": "vitepress preview docs",
|
|
76
|
+
"prepublishOnly": "yarn build",
|
|
77
|
+
"semantic-release": "semantic-release"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"vue": "^3.3.0"
|
|
81
|
+
},
|
|
82
|
+
"peerDependenciesMeta": {
|
|
83
|
+
"vue": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"devDependencies": {
|
|
88
|
+
"@eslint/js": "^9.0.0",
|
|
89
|
+
"@semantic-release/changelog": "^6.0.0",
|
|
90
|
+
"@semantic-release/git": "^10.0.0",
|
|
91
|
+
"@types/node": "^22.0.0",
|
|
92
|
+
"@vitejs/plugin-vue": "^5.0.0",
|
|
93
|
+
"@vitest/coverage-v8": "^2.0.0",
|
|
94
|
+
"conventional-changelog-conventionalcommits": "^8.0.0",
|
|
95
|
+
"eslint": "^9.0.0",
|
|
96
|
+
"eslint-plugin-vue": "^9.0.0",
|
|
97
|
+
"prettier": "^3.0.0",
|
|
98
|
+
"semantic-release": "^25.0.0",
|
|
99
|
+
"typescript": "^5.5.0",
|
|
100
|
+
"typescript-eslint": "^8.0.0",
|
|
101
|
+
"vite": "^6.0.0",
|
|
102
|
+
"vite-plugin-dts": "^4.0.0",
|
|
103
|
+
"vitepress": "^1.6.0",
|
|
104
|
+
"vitest": "^2.0.0",
|
|
105
|
+
"vue": "^3.5.0",
|
|
106
|
+
"vue-eslint-parser": "^9.0.0",
|
|
107
|
+
"vue-tsc": "^2.0.0"
|
|
108
|
+
}
|
|
109
|
+
}
|