eslint-plugin-react-component-tracker
Version:
ESLint plugin for automatically adding component tracking attributes to React elements for analytics and testing
61 lines (60 loc) • 1.4 kB
JSON
{
"name": "eslint-plugin-react-component-tracker",
"version": "1.1.2",
"description": "ESLint plugin for automatically adding component tracking attributes to React elements for analytics and testing",
"type": "module",
"main": "lib/index.js",
"exports": {
".": "./lib/index.js",
"./package.json": "./package.json"
},
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"build": "vite build",
"lint": "eslint lib/ tests/",
"prepack": "npm run build && npm test && npm run lint",
"dev": "vite build --watch"
},
"keywords": [
"eslint",
"eslint-plugin",
"react",
"jsx",
"tsx",
"component-tracker",
"analytics",
"google-analytics",
"testing",
"e2e-testing",
"component-tracking",
"data-attributes"
],
"author": "Your Name",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/hiromi-2000/eslint-plugin-react-component-tracker.git"
},
"files": [
"lib/",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"eslint": ">=8.0.0"
},
"devDependencies": {
"@babel/core": "^7.27.4",
"@babel/eslint-parser": "^7.27.5",
"@babel/preset-react": "^7.27.1",
"@vitest/ui": "^3.2.4",
"eslint": "^9.29.0",
"vite": "^7.0.0",
"vitest": "^3.2.4"
}
}