UNPKG

react-test-attributes

Version:

React library to add data-* attributes to DOM elements.

76 lines (75 loc) 1.81 kB
{ "name": "react-test-attributes", "description": "React library to add data-* attributes to DOM elements.", "version": "1.0.0", "license": "MIT", "author": { "name": "Dennis Morello", "email": "dennismorello@gmail.com", "url": "https://morello.dev" }, "keywords": [ "react", "dom", "e2e", "data", "test", "testing", "selenium", "cypress", "javascript", "typescript", "attributes" ], "repository": { "type": "git", "url": "https://github.com/dennismorello/react-test-attributes" }, "bugs": { "url": "https://github.com/dennismorello/react-test-attributes/issues" }, "main": "dist/index.js", "module": "dist/react-test-attributes.esm.js", "typings": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build", "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags" }, "peerDependencies": { "react": ">=16" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "devDependencies": { "@testing-library/react": "^9.4.0", "@types/jest": "^24.0.25", "@types/react": "^16.9.17", "@types/react-dom": "^16.9.4", "@types/react-is": "^16.7.1", "husky": "^3.1.0", "react": "^16.12.0", "react-dom": "^16.12.0", "tsdx": "^0.12.1", "tslib": "^1.10.0", "typescript": "^3.7.4" }, "dependencies": { "react-is": "^16.12.0" } }