1
0
mirror of https://github.com/kremalicious/gatsby-plugin-matomo.git synced 2024-12-22 09:13:19 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2021-05-23 11:17:34 +02:00
parent fd6f427fb4
commit 4858debe66
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 39203 additions and 4861 deletions

View File

@ -1,5 +1,4 @@
{
"parser": "@babel/eslint-parser",
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"parserOptions": {
@ -12,7 +11,7 @@
"env": {
"browser": true,
"node": true,
"es6": true,
"es2020": true,
"jest": true
}
}

44020
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,20 +15,17 @@
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.12.10",
"@babel/core": "^7.12.10",
"@babel/eslint-parser": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@babel/cli": "^7.14.3",
"auto-changelog": "^2.2.1",
"babel-preset-gatsby-package": "^0.12.0",
"babel-preset-gatsby-package": "^1.5.0",
"cross-env": "^7.0.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"release-it": "^14.2.2"
"prettier": "^2.3.0",
"react": ">=16.8",
"release-it": "^14.6.2"
},
"homepage": "https://kremalicious.com/gatsby-plugin-matomo",
"keywords": [

View File

@ -27,7 +27,11 @@ function buildTrackingCode(pluginOptions) {
if (window.dev === true || ${dntCondition}) {
window._paq = window._paq || [];
${requireConsent ? "window._paq.push(['requireConsent']);" : ''}
${requireCookieConsent ? "window._paq.push(['requireCookieConsent']);" : ''}
${
requireCookieConsent
? "window._paq.push(['requireCookieConsent']);"
: ''
}
${disableCookies ? "window._paq.push(['disableCookies']);" : ''}
${
cookieDomain