UNPKG

react-with-context

Version:

Pass context into React components and replace for React.withContext

66 lines (65 loc) 1.5 kB
{ "name": "react-with-context", "version": "2.0.0", "description": "Pass context into React components and replace for React.withContext", "main": "bin/WithContext.js", "types": "WithContext.d.ts", "scripts": { "test": "jest", "build": "babel src -d bin", "prepublish": "npm run build && npm run test" }, "files": [ "WithContext.d.ts", "bin/WithContext.js" ], "keywords": [ "unit-testing", "react", "react-context", "jest", "karma" ], "contributors": [ { "name": "rozzzly", "url": "https://github.com/rozzzly", "email": "pclienau@gmail.com" } ], "dependencies": { "@types/react": "^16.0.7", "react": "^15.6.2" }, "devDependencies": { "babel-cli": "^6.23.0", "babel-jest": "^18.0.0", "babel-preset-es2015": "^6.22.0", "babel-preset-react": "^6.23.0", "jest-cli": "^18.1.0", "prop-types": "^15.6.0", "react-dom": "^15.6.2" }, "jest": { "transform": { ".(js|jsx)": "<rootDir>/node_modules/babel-jest" }, "moduleFileExtensions": [ "js", "jsx" ] }, "repository": { "type": "git", "url": "git+https://github.com/mattzeunert/react-with-context.git" }, "author": { "name": "mattzeunert", "url": "https://github.com/mattzeunert" }, "license": "MIT", "bugs": { "url": "https://github.com/mattzeunert/react-with-context/issues" }, "homepage": "https://github.com/mattzeunert/react-with-context#readme" }