jest-mock-action-creators
Version:
Easy mock & test redux action creators with dispatch() in your components
72 lines (71 loc) • 1.79 kB
JSON
{
"name": "jest-mock-action-creators",
"version": "1.2.1",
"description": "Easy mock & test redux action creators with dispatch() in your components",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"dependencies": {
"jest-diff": "^22.4.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.40",
"@types/babel-core": "^6.25.3",
"@types/babel-types": "^7.0.0",
"@types/jest": "^22.1.3",
"@types/node": "^9.4.6",
"del-cli": "^1.1.0",
"jest": "^22.4.1",
"npm-run-all": "^4.1.2",
"ts-jest": "^22.0.4",
"typescript": "^2.7.2",
"typescript-snapshots-plugin": "^1.1.0"
},
"peerDependencies": {
"@babel/core": "^7.0.0-beta || ^7.0.0-rc || ^7.0.0",
"jest": ">= 21.0.0"
},
"scripts": {
"test": "jest",
"clean": "del-cli dist",
"build": "tsc -p tsconfig-build.json",
"prepare": "run-s clean build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/asvetliakov/jest-mock-action-creators.git"
},
"keywords": [
"jest",
"mock",
"redux",
"dispatch",
"testing"
],
"author": "Alexey Svetliakov <asvetliakov@teledini.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/asvetliakov/jest-mock-action-creators/issues"
},
"homepage": "https://github.com/asvetliakov/jest-mock-action-creators#readme",
"jest": {
"globals": {
"ts-jest": {
"skipBabel": true
}
},
"roots": [
"<rootDir>/src"
],
"testEnvironment": "node",
"resetMocks": true,
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"transform": {
"\\.(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleFileExtensions": [
"json",
"js",
"ts"
]
}
}