UNPKG

react-stub-context

Version:

Stub context for a component, to be used for testing purposes.

72 lines (71 loc) 1.81 kB
{ "name": "react-stub-context", "version": "0.8.1", "description": "Stub context for a component, to be used for testing purposes.", "main": "dist/index.js", "keywords": [ "react", "test", "stub", "context", "mock" ], "repository": { "type": "git", "url": "https://github.com/karlbright/react-stub-context.git" }, "bugs": { "url": "https://github.com/karlbright/react-stub-context/issues" }, "scripts": { "test": "jest", "example": "webpack-dev-server --config webpack.example.js", "prepublish": "mkdir -p dist && babel src/index.js > dist/index.js" }, "author": "Karl Brightman <karl@karlbright.org>", "contributors": [ { "name": "oliviertassinari", "url": "https://github.com/oliviertassinari" }, { "name": "d7h", "url": "https://github.com/d7h" } ], "license": "ISC", "devDependencies": { "babel-cli": "^6.7.7", "babel-jest": "^21.2.0", "babel-loader": "^6.2.4", "babel-plugin-transform-object-assign": "^6.5.0", "babel-preset-es2015": "^6.6.0", "babel-preset-react": "^6.5.0", "compare-versions": "^3.1.0", "create-react-class": "^15.6.2", "jest-cli": "^21.2.1", "prop-types": "^15.6.0", "raf": "^3.4.0", "react": "^16.0.0", "react-dom": "^16.0.0", "webpack": "^1.13.0", "webpack-dev-server": "^1.16.5" }, "peerDependencies": { "create-react-class": "^15.6.2", "prop-types": "^15.6.0", "react": "^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0" }, "jest": { "transform": { ".*": "<rootDir>/node_modules/babel-jest" }, "setupFiles": [ "raf/polyfill" ], "unmockedModulePathPatterns": [ "<rootDir>/node_modules/react", "<rootDir>/node_modules/object-assign" ] } }