forked from segmentio/consent-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 4.36 KB
/
package.json
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@iziwork/consent-manager",
"version": "7.5.0",
"description": "Drop-in consent management plugin for analytics.js",
"keywords": [
"gdpr",
"tracking",
"analytics",
"analytics.js"
],
"repository": "git://github.com/Iziwork/consent-manager.git",
"publishConfig": {
"registry": "https://npm.pkg.github.com/Iziwork"
},
"license": "MIT",
"main": "commonjs/index.js",
"module": "esm/index.js",
"sideEffects": false,
"files": [
"commonjs",
"esm",
"standalone"
],
"engines": {
"node": "20.12.2",
"npm": "please-use-yarn"
},
"packageManager": "yarn@4.2.1",
"scripts": {
"test": "vitest src/__tests__",
"prepublishOnly": "yarn run clean && yarn run build",
"postpublish": "yarn build-storybook && yarn deploy-storybook --existing-output-dir=storybook-static",
"dev": "concurrently 'yarn build-standalone --watch' 'yarn start-storybook -s ./ -p 9009'",
"build-commonjs": "tsc --outDir commonjs --module CommonJS --inlineSourceMap",
"build-esm": "tsc --module es2015 --outDir esm --inlineSourceMap",
"build-standalone": "webpack",
"build": "concurrently --names 'commonjs,esm,standalone' 'yarn run build-commonjs' 'yarn run build-esm' 'yarn run build-standalone'",
"clean": "rm -rf commonjs esm standalone storybook-static types",
"clean:all": "rm -rf node_modules/ .eslintcache && yarn run clean",
"deploy-storybook": "storybook-to-ghpages",
"standalone-hash": "shasum -b -a 256 standalone/consent-manager.js | xxd -r -p | base64",
"build-storybook": "yarn build-standalone && NODE_OPTIONS=--openssl-legacy-provider build-storybook && cp -r ./standalone ./storybook-static/standalone",
"lint": "eslint 'src/**/*.{ts,tsx}'"
},
"dependencies": {
"@segment/in-regions": "1.2.3",
"@segment/top-domain": "3.0.1",
"isomorphic-fetch": "3.0.0",
"js-cookie": "3.0.5",
"lodash.flatten": "4.4.0",
"lodash.sortby": "4.7.0",
"lodash.sorteduniqby": "4.7.0"
},
"devDependencies": {
"@babel/core": "7.24.5",
"@segment/in-eu": "0.4.0",
"@size-limit/preset-small-lib": "8.2.6",
"@storybook/addon-actions": "6.5.16",
"@storybook/addon-info": "5.3.21",
"@storybook/addon-links": "6.5.16",
"@storybook/addon-options": "5.3.21",
"@storybook/addon-storysource": "6.5.16",
"@storybook/addons": "6.5.16",
"@storybook/builder-webpack5": "6.5.16",
"@storybook/manager-webpack5": "6.5.16",
"@storybook/react": "6.5.16",
"@storybook/storybook-deployer": "2.8.16",
"@types/enzyme": "3.10.18",
"@types/isomorphic-fetch": "0.0.39",
"@types/js-cookie": "3.0.6",
"@types/lodash.flatten": "4.4.9",
"@types/lodash.sortby": "4.7.9",
"@types/lodash.sorteduniqby": "4.7.9",
"@types/node": "20.12.8",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@types/segment-analytics": "0.0.38",
"@types/styled-components": "5.1.32",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"@vitejs/plugin-react": "4.2.1",
"babel-loader": "9.1.3",
"concurrently": "7.6.0",
"enzyme": "3.11.0",
"eslint": "8.57.0",
"eslint-config-prettier": "8.10.0",
"eslint-config-react": "1.1.7",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.34.1",
"evergreen-ui": "7.1.9",
"file-loader": "6.2.0",
"jsdom": "24.1.0",
"lint-staged": "13.3.0",
"nock": "13.5.4",
"preact": "10.21.0",
"prettier": "2.8.8",
"prismjs": "1.29.0",
"raw-loader": "4.0.2",
"react": "18.2.0",
"react-docgen-typescript-loader": "3.7.2",
"react-dom": "18.2.0",
"react-syntax-highlighter": "15.5.0",
"size-limit": "8.2.6",
"styled-components": "5.3.11",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"vitest": "1.6.0",
"webpack": "5.91.0",
"webpack-cli": "5.1.4"
},
"peerDependencies": {
"react": "^18",
"react-dom": "^18"
},
"size-limit": [
{
"path": "esm/index.js",
"limit": "60 KB"
},
{
"path": "standalone/consent-manager.js",
"limit": "60 KB"
}
],
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true,
"printWidth": 100
},
"storybook-deployer": {
"gitUsername": "GitHub Pages Bot",
"gitEmail": "friends@iziwork.com",
"commitMessage": "Deploy Storybook to GitHub Pages [ci skip]"
}
}