UNPKG

gatsby-plugin-rudderstack

Version:

Event tracking with RudderStack in your Gatsby frontend.

108 lines (107 loc) 3.64 kB
{ "name": "gatsby-plugin-rudderstack", "version": "4.0.3", "description": "Event tracking with RudderStack in your Gatsby frontend.", "main": "gatsby-ssr.js", "scripts": { "setup": "npm install", "build": "babel src --out-dir ./dist --ignore __tests__ && npm run copy:files", "watch": "babel -w src --out-dir ./dist --ignore __tests__", "clean": "rm -rf dist && git clean -xdf node_modules", "check:lint": "eslint \"src/**/*.js\" --config eslint.config.mjs", "check:lint:ci": "eslint \"src/**/*.js\" --config eslint.config.mjs -f json -o reports/eslint.json || exit 0", "check:circular": "madge --circular --extensions js ./src || exit 0", "check:duplicates": "jscpd src --threshold 5", "check:security": "npm audit --recursive --audit-level=high --omit=dev", "format": "prettier --write .", "lint:fix": "eslint . --config eslint.config.mjs --fix", "prepare": "husky", "pre-commit": "npm run test && npx lint-staged", "commit-msg": "commitlint --edit", "commit": "git-cz", "test": "exit 0", "test:ci": "exit 0", "copy:files": "cp CHANGELOG.md dist/ && cp LICENSE.md dist/ && cp package.json dist/ && cp gatsby-node.js dist/ && cp README.md dist/" }, "repository": { "type": "git", "url": "git+https://github.com/rudderlabs/gatsby-plugin-rudderstack.git" }, "keywords": [ "rudderstack", "rudderstack analytics", "event tracking", "gatsby", "gatsby-plugin" ], "author": "RudderStack", "license": "MIT", "bugs": { "url": "https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues" }, "homepage": "https://github.com/rudderlabs/gatsby-plugin-rudderstack#readme", "devDependencies": { "@babel/cli": "7.27.0", "@babel/core": "7.26.10", "@babel/eslint-parser": "7.27.0", "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@babel/preset-env": "7.26.9", "@babel/preset-react": "7.26.3", "@commitlint/config-conventional": "19.8.0", "@digitalroute/cz-conventional-changelog-for-jira": "8.0.1", "@eslint/js": "9.24.0", "@typescript-eslint/eslint-plugin": "8.29.1", "@typescript-eslint/parser": "8.29.1", "commitizen": "4.3.1", "commitlint": "19.8.0", "conventional-changelog-cli": "5.0.0", "conventional-github-releaser": "3.1.5", "eslint": "9.24.0", "eslint-config-prettier": "10.1.2", "eslint-plugin-compat": "6.0.2", "eslint-plugin-import": "2.31.0", "eslint-plugin-sonarjs": "3.0.2", "eslint-plugin-unicorn": "58.0.0", "git-cz": "4.9.0", "husky": "9.1.7", "jscpd": "4.0.5", "lint-staged": "15.5.1", "madge": "8.0.0", "prettier": "3.5.3", "standard-version": "9.5.0" }, "lint-staged": { "*.js": "eslint --config eslint.config.mjs --cache --fix", "*.{json,js,md,ts}": "prettier --write" }, "config": { "commitizen": { "path": "./node_modules/@digitalroute/cz-conventional-changelog-for-jira", "jiraMode": false, "jiraOptional": true, "skipScope": true, "defaultType": "feat" } }, "overrides": { "dot-prop": "5.3.0", "http-cache-semantics": "4.1.1", "semver-regex": "3.1.4", "trim-newlines": "3.0.1", "conventional-github-releaser": { "conventional-changelog-core": "4.2.2" } }, "resolutions": { "dot-prop": "5.3.0", "http-cache-semantics": "4.1.1", "semver-regex": "3.1.4", "trim-newlines": "3.0.1", "cross-spawn": "7.0.6", "nanoid": "3.3.8", "@babel/runtime": "7.26.10", "conventional-github-releaser": { "conventional-changelog-core": "4.2.2" } } }