UNPKG

react-stable-ref

Version:

An assortment of utilities for testing against unstable references in React

81 lines (80 loc) 2.75 kB
{ "name": "react-stable-ref", "version": "0.5.2", "description": "An assortment of utilities for testing against unstable references in React", "main": "lib/index.js", "author": "Daniel Del Core", "license": "MIT", "typings": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "start": "npm run dev", "dev": "start-storybook -p 9000 -c .storybook -s ./assets", "predeploy-storybook": "build-storybook -s assets", "deploy-storybook": "storybook-to-ghpages", "build": "tsc", "typecheck": "tsc --noEmit", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "lint": "eslint --config .eslintrc.js --ext tsx,ts ./src/ ./examples ", "lint:fix": "npm run lint -- --fix", "preversion": "npm run lint && npm run typecheck && npm run test", "version": "npm run build", "postversion": "git push && git push --tags", "postpublish": "npm run deploy-storybook" }, "homepage": "https://github.com/danieldelcore/react-stable-ref#readme", "repository": { "type": "git", "url": "git+https://github.com/danieldelcore/react-stable-ref.git" }, "keywords": [ "react", "hooks", "hook", "useRef", "useMemo" ], "bugs": { "url": "https://github.com/danieldelcore/react-stable-ref/issues" }, "devDependencies": { "@babel/core": "^7.7.5", "@storybook/addon-storysource": "^5.2.8", "@storybook/addons": "^5.2.8", "@storybook/react": "^5.2.8", "@storybook/source-loader": "^5.2.8", "@storybook/storybook-deployer": "^2.8.1", "@testing-library/react": "^8.0.5", "@types/jest": "^23.3.13", "@types/jsdom": "^12.2.3", "@types/react": "^16.8.1", "@types/react-dom": "^16.8.2", "@types/storybook__react": "^4.0.0", "@typescript-eslint/eslint-plugin": "^1.4.2", "@typescript-eslint/parser": "^1.4.2", "babel-loader": "^8.0.6", "eslint": "^5.15.1", "eslint-config-prettier": "^4.1.0", "eslint-plugin-prettier": "^3.0.1", "eslint-plugin-react": "^7.12.4", "eslint-plugin-react-hooks": "^1.5.0", "jest": "^24.0.0", "jest-serializer-html-string": "^1.0.1", "jest-watch-typeahead": "^0.4.2", "jsdom": "^14.0.0", "prettier": "^1.16.4", "react": "^16.8.1", "react-dom": "^16.8.4", "react-test-renderer": "^16.13.0", "ts-jest": "^24.0.2", "ts-loader": "^6.2.1", "typescript": "^3.3.1" }, "peerDependencies": { "react": ">=16.8.0" } }