@rxreact/jest-helpers
Version:
Helpers for using Jest to test RxJS observables
151 lines (150 loc) • 4.16 kB
JSON
{
"name": "@rxreact/jest-helpers",
"version": "1.0.0",
"description": "Helpers for using Jest to test RxJS observables",
"keywords": [
"jest",
"rxjs",
"observable",
"rxreact",
"test"
],
"main": "dist/jest-helpers.umd.js",
"module": "dist/jest-helpers.es5.js",
"typings": "dist/types/jest-helpers.d.ts",
"files": [
"dist"
],
"author": "Will Ockelmann-Wagner <wow@carbonfive.com>",
"contributors": [
"Will Ockelmann-Wagner (https://github.com/will-wow)",
"Sidney Keese (https://github.com/sidke)"
],
"repository": {
"type": "git",
"url": "https://github.com/rxreact/jest-helpers.git"
},
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"scripts": {
"lint": "npm-run-all -c lint:*",
"lint:eslint": "eslint '**/*.{ts,tsx}'",
"lint:prettier": "prettier --check '**/*.{ts,tsx,md,json}'",
"format": "npm-run-all -c format:*",
"format:eslint": "eslint --fix '**/*.{ts,tsx}'",
"format:prettier": "prettier --write '**/*.{ts,tsx,md,json}'",
"prebuild": "rimraf dist",
"build": "tsc --module commonjs && rollup -c rollup.config.ts && typedoc --out docs --target es6 --theme minimal --mode file src",
"start": "rollup -c rollup.config.ts -w",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "npm run lint && npm run test -- --no-cache",
"deploy-docs": "ts-node tools/gh-pages-publish",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"commit": "git-cz",
"semantic-release": "semantic-release",
"semantic-release-prepare": "ts-node tools/semantic-release-prepare",
"precommit": "lint-staged",
"travis-deploy-once": "travis-deploy-once",
"commitmsg": "commitlint -E HUSKY_GIT_PARAMS"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:prod && npm run build"
}
},
"lint-staged": {
"**/*.{ts,tsx,md,json}": [
"prettier --write",
"git add"
]
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"publishConfig": {
"access": "public"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"devDependencies": {
"@commitlint/cli": "^8.3.5",
"@commitlint/config-conventional": "^8.3.4",
"@types/jest": "^25.1.1",
"@types/node": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^2.18.0",
"@typescript-eslint/parser": "^2.18.0",
"colors": "^1.3.2",
"commitizen": "^4.0.3",
"coveralls": "^3.0.2",
"cross-env": "^7.0.0",
"cz-conventional-changelog": "^3.1.0",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.2.1",
"jest": "^25.1.0",
"jest-config": "^25.1.0",
"lint-staged": "^10.0.7",
"lodash.camelcase": "^4.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.14.3",
"prompt": "^1.0.0",
"replace-in-file": "^5.0.2",
"rimraf": "^3.0.1",
"rollup": "^1.31.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-sourcemaps": "^0.5.0",
"rollup-plugin-typescript2": "^0.25.3",
"rxjs": "^6.5.4",
"semantic-release": "^17.0.2",
"shelljs": "^0.8.3",
"travis-deploy-once": "^5.0.9",
"ts-jest": "^25.1.0",
"ts-node": "^8.6.2",
"typedoc": "^0.16.9",
"typescript": "^3.7.5"
},
"peerDependencies": {
"jest": ">= 23.6.0",
"rxjs": ">= 6.2.0"
}
}