{"library":"babel-plugin-jsx-remove-data-test-id","type":"library","category":null,"description":"This package, `babel-plugin-jsx-remove-data-test-id`, provides a Babel plugin designed to strip `data-test-id` (and `data-testid`) attributes from JSX elements during the build process, typically for production environments. It helps decouple testing concerns from production DOM, preventing test-specific attributes from bloating production bundles or being accessible in the client. The current stable version is v3.0.0, released recently with a focus on deeper object attribute removal. While there isn't a strict release cadence, the project shows active maintenance with regular updates for bug fixes, dependency security, and new feature enhancements like custom attribute stripping. Its primary differentiator is its focused approach on test-ID removal, offering configuration flexibility for custom attribute names and clear guidance on environment-specific application, preventing accidental stripping in test builds.","language":"javascript","status":"active","version":"3.0.0","tags":["javascript","babel","plugin","tdd","tests","specs","qa","strip","className"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-jsx-remove-data-test-id","imports":["plugins: [\"babel-plugin-jsx-remove-data-test-id\"]","plugins: [\n  [\"babel-plugin-jsx-remove-data-test-id\", {\n    attributes: [\"data-test-id\", \"selenium-id\"]\n  }]\n]","env: {\n  production: {\n    plugins: [\"babel-plugin-jsx-remove-data-test-id\"]\n  },\n  test: {\n    plugins: [\"other-plugins\"]\n  }\n}"]},{"cmd":"yarn add babel-plugin-jsx-remove-data-test-id","imports":[]},{"cmd":"pnpm add babel-plugin-jsx-remove-data-test-id","imports":[]}],"homepage":null,"github":"https://github.com/coderas/babel-plugin-jsx-remove-data-test-id","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-jsx-remove-data-test-id","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-jsx-remove-data-test-id/compatibility"}}