UNPKG

@dhiwise/component-tagger

Version:

A plugin that automatically tags JSX components with data attributes for debugging and analytics

101 lines (100 loc) 2.62 kB
{ "name": "@dhiwise/component-tagger", "version": "1.0.10", "description": "A plugin that automatically tags JSX components with data attributes for debugging and analytics", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.js" }, "./nextLoader": { "import": "./dist/nextLoader.mjs", "require": "./dist/nextLoader.js", "default": "./dist/nextLoader.js" }, "./package.json": "./package.json" }, "type": "commonjs", "files": [ "dist", "package.json" ], "scripts": { "clean": "rimraf dist", "build": "node build.js", "postbuild": "chmod +x dist/cli.js", "test": "vitest", "test:watch": "vitest --watch", "lint": "prettier --write 'src/**/*.{ts,js,json}' && eslint ", "lint:fix": "prettier --write 'src/**/*.{ts,js,json}' && eslint --fix", "format": "prettier --write 'src/**/*.{ts,js,json}'", "prepare": "husky" }, "bin": { "@dhiwise/component-tagger-html": "./dist/cli.js" }, "keywords": [ "vite-plugin", "webpack-plugin", "craco-plugin", "react", "jsx", "component", "debug", "analytics" ], "author": "dhiwise", "repository": { "type": "git" }, "dependencies": { "@babel/core": "^7.26.10", "@babel/parser": "^7.22.5", "glob": "^10.4.5", "magic-string": "^0.30.0" }, "devDependencies": { "@babel/types": "^7.22.5", "@eslint/js": "^9.23.0", "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-typescript": "^11.1.1", "@types/babel__core": "^7.20.5", "@types/babel__traverse": "^7.20.1", "@types/node": "^20.3.1", "@vitest/coverage-v8": "^3.1.1", "@vitest/eslint-plugin": "^1.2.7", "eslint": "^9.23.0", "eslint-config-prettier": "^10.1.1", "eslint-plugin-prettier": "^5.2.5", "globals": "^15.11.0", "husky": "^9.0.11", "jiti": "^2.4.2", "lint-staged": "^15.2.2", "prettier": "^3.5.3", "rimraf": "^5.0.0", "rollup": "^3.25.1", "rollup-plugin-add-shebang": "^0.3.1", "rollup-plugin-dts": "^5.3.0", "tslib": "^2.5.3", "typescript": "^5.1.3", "typescript-eslint": "^8.11.0", "vitest": "^3.1.1" }, "peerDependencies": { "next": ">=14.0.0", "vite": ">=4.1.1", "webpack": ">=5.0.0" }, "lint-staged": { "*.{js,ts}": [ "npm run lint", "vitest related --run" ] } }