UNPKG

jest-mock-external-components

Version:

Mock external React components with jest

63 lines (62 loc) 1.77 kB
{ "name": "jest-mock-external-components", "version": "3.0.1", "description": "Mock external React components with jest", "main": "build/index.js", "types": "build/index.d.ts", "repository": { "type": "git", "url": "https://github.com/asvetliakov/jest-mock-external-components" }, "author": "Alexey Svetliakov <devpieron@gmail.com>", "license": "MIT", "keywords": [ "jest", "jest-snapshot", "testing", "react-testing", "react", "react-test-renderer", "test-renderer", "snapshots", "jest-mock", "react-mock" ], "scripts": { "clean": "del-cli build", "ts": "tsc -p ./", "babel": "babel src --source-maps --out-dir build --ignore=\"**/*.spec.*,**/__tests__/**\" --extensions=\".ts\"", "build": "run-p ts babel", "prepare": "run-s clean build" }, "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.1.6", "@babel/parser": "^7.1.6", "@babel/preset-env": "^7.1.6", "@babel/preset-react": "^7.0.0", "@babel/preset-stage-3": "^7.0.0", "@babel/preset-typescript": "^7.1.0", "@babel/traverse": "^7.1.6", "@babel/types": "^7.1.6", "@types/babel__core": "^7.0.2", "@types/babel__generator": "^7.0.1", "@types/babel__template": "^7.0.1", "@types/babel__traverse": "^7.0.1", "@types/jest": "^25.2.1", "@types/node": "^10.12.9", "babel-core": "^7.0.0-bridge.0", "babel-jest": "^23.6.0", "babel-plugin-emotion": "^9.2.11", "del-cli": "^1.1.0", "jest": "^26.0.1", "npm-run-all": "^4.1.3", "typescript": "^3.1.6", "typescript-snapshots-plugin": "^1.5.3" }, "peerDependencies": { "@babel/core": "^7.0.0-beta || ^7.0.0-rc || ^7.0", "jest": ">= 21.0" }, "dependencies": {} }