UNPKG

babel-plugin-react-data-testid-generator

Version:

Enhanced babel plugin for automatic React data-testid generation with unique IDs and class component support

57 lines (56 loc) 1.5 kB
{ "name": "babel-plugin-react-data-testid-generator", "version": "0.3.2", "description": "Enhanced babel plugin for automatic React data-testid generation with unique IDs and class component support", "license": "MIT", "repository": "Kazaz-Or/babel-plugin-react-data-testid-generator", "author": "Or Kazaz <kazazor@gmail.com>", "files": [ "dist" ], "main": "dist/index.js", "types": "dist/index.d.ts", "keywords": [ "babel", "babel plugin", "react", "data-test", "data-testid", "testing", "automation", "unique-ids", "class-components" ], "engines": { "node": ">=16" }, "scripts": { "prebuild": "del dist", "build": "tsc", "prepublish": "yarn build && del dist/**/*.test.*", "fmt": "prettier --write src/**/*", "fmt:check": "prettier --check src/**/*", "lint": "eslint src/**/*.ts", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage --ci --runInBand", "test:update-snapshots": "jest --updateSnapshot" }, "dependencies": { "@babel/core": "^7.25.0", "@babel/types": "^7.25.0" }, "devDependencies": { "@types/jest": "29.5.14", "@types/node": "22.0.0", "babel-plugin-tester": "11.0.4", "del-cli": "6.0.0", "eslint": "8.57.0", "@typescript-eslint/eslint-plugin": "7.18.0", "@typescript-eslint/parser": "7.18.0", "jest": "29.7.0", "prettier": "3.3.3", "ts-jest": "29.2.5", "typescript": "5.4.5" } }