UNPKG

jest-sandbox

Version:
63 lines (62 loc) 1.7 kB
{ "name": "jest-sandbox", "version": "1.1.2", "description": "Simple sinon like sandbox for jest", "main": "lib/index.js", "scripts": { "build": "yarn run build:flow && yarn run build:lib", "build:flow": "flow-copy-source src lib --ignore '__tests__/*.js'", "build:lib": "flow-remove-types src/index.js > lib/index.js", "flow": "flow check", "lint": "eslint src", "test": "yarn run flow && yarn run lint && yarn run test:unit", "test:unit": "jest" }, "files": [ "lib", "LICENSE", "Readme.md", "CODE_OF_CONDUCT.md", "CHANGELOG.md" ], "keywords": [ "jest", "sinon", "sandbox", "testing" ], "repository": { "type": "git", "url": "git+https://github.com/JoinColony/jest-sandbox.git" }, "bugs": { "url": "https://github.com/JoinColony/jest-sandbox/issues" }, "homepage": "https://github.com/JoinColony/jest-sandbox", "author": "Christian Maniewski <chmanie@fastmail.com>", "license": "MIT", "devDependencies": { "@colony/eslint-config-colony": "^4.0.1", "babel-eslint": "^8.2.1", "babel-jest": "^19.0.0", "eslint": "^4.17.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.44.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-prettier": "^2.6.0", "flow-bin": "^0.66.0", "flow-copy-source": "^1.3.0", "flow-remove-types": "^1.2.3", "jest": "^19.0.2", "jest-flow-transform": "^1.0.1", "prettier": "^1.10.2" }, "jest": { "testEnvironment": "node", "collectCoverage": true, "transform": { "^.+\\.js(?:\\.flow)?$": "jest-flow-transform" } } }