@sudeep7353/grantly-react-consent 0.1.1
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/README.md +643 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +90 -0
- package/dist/index.esm.js +6 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/package.json +68 -0
- package/package.json +68 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sudeep7353/grantly-react-consent",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "React implementation of the Grantly consent widget",
|
|
5
|
+
"author": "Gfox",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"homepage": "https://github.com/gfox/grantly#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/gfox/grantly.git",
|
|
11
|
+
"directory": "widget/react-widget"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/gfox/grantly/issues"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "rollup -c",
|
|
18
|
+
"dev": "rollup -c -w",
|
|
19
|
+
"clean": "rimraf dist",
|
|
20
|
+
"prebuild": "npm run clean",
|
|
21
|
+
"prepublishOnly": "npm run build"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"consent",
|
|
25
|
+
"widget",
|
|
26
|
+
"react",
|
|
27
|
+
"privacy"
|
|
28
|
+
],
|
|
29
|
+
"type": "module",
|
|
30
|
+
"main": "dist/index.cjs",
|
|
31
|
+
"module": "dist/index.esm.js",
|
|
32
|
+
"types": "dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": "./dist/index.esm.js",
|
|
36
|
+
"require": "./dist/index.cjs",
|
|
37
|
+
"types": "./dist/index.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./style": "./dist/ConsentWidget.css"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist"
|
|
43
|
+
],
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": ">=17",
|
|
46
|
+
"react-dom": ">=17"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"dompurify": "^3.2.6",
|
|
50
|
+
"markdown-it": "^14.1.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@babel/core": "^7.0.0",
|
|
54
|
+
"@babel/preset-env": "^7.0.0",
|
|
55
|
+
"@babel/preset-react": "^7.0.0",
|
|
56
|
+
"@rollup/plugin-babel": "^6.0.0",
|
|
57
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
58
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
59
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
60
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
61
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
62
|
+
"rimraf": "^5.0.0",
|
|
63
|
+
"rollup": "^3.29.0",
|
|
64
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
65
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
66
|
+
"rollup-plugin-postcss": "^4.0.0"
|
|
67
|
+
}
|
|
68
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@sudeep7353/grantly-react-consent",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "React implementation of the Grantly consent widget",
|
|
5
|
+
"author": "Gfox",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"homepage": "https://github.com/gfox/grantly#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/gfox/grantly.git",
|
|
11
|
+
"directory": "widget/react-widget"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/gfox/grantly/issues"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "rollup -c",
|
|
18
|
+
"dev": "rollup -c -w",
|
|
19
|
+
"clean": "rimraf dist",
|
|
20
|
+
"prebuild": "npm run clean",
|
|
21
|
+
"prepublishOnly": "npm run build"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"consent",
|
|
25
|
+
"widget",
|
|
26
|
+
"react",
|
|
27
|
+
"privacy"
|
|
28
|
+
],
|
|
29
|
+
"type": "module",
|
|
30
|
+
"main": "dist/index.cjs",
|
|
31
|
+
"module": "dist/index.esm.js",
|
|
32
|
+
"types": "dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": "./dist/index.esm.js",
|
|
36
|
+
"require": "./dist/index.cjs",
|
|
37
|
+
"types": "./dist/index.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./style": "./dist/ConsentWidget.css"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"dist"
|
|
43
|
+
],
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"react": ">=17",
|
|
46
|
+
"react-dom": ">=17"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"dompurify": "^3.2.6",
|
|
50
|
+
"markdown-it": "^14.1.0"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@babel/core": "^7.0.0",
|
|
54
|
+
"@babel/preset-env": "^7.0.0",
|
|
55
|
+
"@babel/preset-react": "^7.0.0",
|
|
56
|
+
"@rollup/plugin-babel": "^6.0.0",
|
|
57
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
58
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
59
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
60
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
61
|
+
"@rollup/plugin-terser": "^0.4.0",
|
|
62
|
+
"rimraf": "^5.0.0",
|
|
63
|
+
"rollup": "^3.29.0",
|
|
64
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
65
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
66
|
+
"rollup-plugin-postcss": "^4.0.0"
|
|
67
|
+
}
|
|
68
|
+
}
|