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:
parent
fd6f427fb4
commit
4858debe66
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"parser": "@babel/eslint-parser",
|
|
||||||
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
"extends": ["eslint:recommended", "plugin:prettier/recommended"],
|
||||||
"plugins": ["prettier"],
|
"plugins": ["prettier"],
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
@ -12,7 +11,7 @@
|
|||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
"node": true,
|
"node": true,
|
||||||
"es6": true,
|
"es2020": true,
|
||||||
"jest": true
|
"jest": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
44036
package-lock.json
generated
44036
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@ -15,20 +15,17 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/cli": "^7.12.10",
|
"@babel/cli": "^7.14.3",
|
||||||
"@babel/core": "^7.12.10",
|
|
||||||
"@babel/eslint-parser": "^7.12.1",
|
|
||||||
"@babel/runtime": "^7.12.5",
|
|
||||||
"auto-changelog": "^2.2.1",
|
"auto-changelog": "^2.2.1",
|
||||||
"babel-preset-gatsby-package": "^0.12.0",
|
"babel-preset-gatsby-package": "^1.5.0",
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"eslint": "^7.19.0",
|
"eslint": "^7.27.0",
|
||||||
"eslint-config-prettier": "^7.2.0",
|
"eslint-config-prettier": "^8.3.0",
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
"eslint-plugin-prettier": "^3.4.0",
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.3.0",
|
||||||
"react": "^17.0.1",
|
"react": ">=16.8",
|
||||||
"release-it": "^14.2.2"
|
"release-it": "^14.6.2"
|
||||||
},
|
},
|
||||||
"homepage": "https://kremalicious.com/gatsby-plugin-matomo",
|
"homepage": "https://kremalicious.com/gatsby-plugin-matomo",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -27,7 +27,11 @@ function buildTrackingCode(pluginOptions) {
|
|||||||
if (window.dev === true || ${dntCondition}) {
|
if (window.dev === true || ${dntCondition}) {
|
||||||
window._paq = window._paq || [];
|
window._paq = window._paq || [];
|
||||||
${requireConsent ? "window._paq.push(['requireConsent']);" : ''}
|
${requireConsent ? "window._paq.push(['requireConsent']);" : ''}
|
||||||
${requireCookieConsent ? "window._paq.push(['requireCookieConsent']);" : ''}
|
${
|
||||||
|
requireCookieConsent
|
||||||
|
? "window._paq.push(['requireCookieConsent']);"
|
||||||
|
: ''
|
||||||
|
}
|
||||||
${disableCookies ? "window._paq.push(['disableCookies']);" : ''}
|
${disableCookies ? "window._paq.push(['disableCookies']);" : ''}
|
||||||
${
|
${
|
||||||
cookieDomain
|
cookieDomain
|
||||||
|
Loading…
Reference in New Issue
Block a user