UNPKG

react-multi-ref

Version:

Utility for keeping references to multiple React elements.

48 lines (47 loc) 1.37 kB
{ "name": "react-multi-ref", "version": "1.0.2", "description": "Utility for keeping references to multiple React elements.", "main": "js/index.js", "sideEffects": false, "scripts": { "prepare": "rimraf js && babel -s true -d js/ src/ --ignore '**/*.test.js' && flow-copy-source -v src js --ignore '**/*.test.*'", "test": "npm run lint && flow check && jest && tsc", "lint": "eslint .", "lint-fix": "eslint . --fix" }, "repository": { "type": "git", "url": "git+https://github.com/Macil/react-multi-ref.git" }, "keywords": [ "react", "ref" ], "author": "Chris Cowan <agentme49@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Macil/react-multi-ref/issues" }, "homepage": "https://github.com/Macil/react-multi-ref#readme", "dependencies": { "@babel/runtime": "^7.24.4" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@babel/eslint-parser": "^7.18.9", "@babel/plugin-transform-runtime": "^7.1.0", "@babel/preset-env": "^7.0.0", "@babel/preset-flow": "^7.0.0", "@babel/register": "^7.0.0", "babel-jest": "^29.0.3", "eslint": "^8.23.0", "eslint-plugin-flowtype": "^8.0.3", "flow-bin": "^0.235.1", "flow-copy-source": "^2.0.0", "jest": "^29.0.3", "rimraf": "^5.0.5", "typescript": "^5.4.5" } }