UNPKG

ts-jest

Version:

A preprocessor with sourcemap support to help use Typescript with Jest

99 lines (98 loc) 2.82 kB
{ "name": "ts-jest", "version": "19.0.9", "main": "index.js", "types": "./dist/index.d.ts", "description": "A preprocessor with sourcemap support to help use Typescript with Jest", "scripts": { "build": "tsc -p .", "build:watch": "tsc -p . -w", "clean": "rimraf dist/**/* && rimraf tests/simple/coverage/**/* && rimraf tests/simple-async/coverage/**/*", "clean-build": "npm run clean && npm run build", "pretest": "npm run clean-build", "test": "node scripts/tests.js", "doc": "doctoc .", "prepublish": "npm run clean-build" }, "repository": { "type": "git", "url": "git+https://github.com/kulshekhar/ts-jest.git" }, "keywords": [ "jest", "typescript", "sourcemap", "react", "testing" ], "author": "Kulshekhar Kabra <kulshekhar@users.noreply.github.com> (https://github.com/kulshekhar)", "contributors": [ "Ihor Chulinda <ichulinda@gmail.com> (https://github.com/Igmat)", "OJ Kwon <kwon.ohjoong@gmail.com> (https://github.com/kwonoj)", "Emil Persson <emil.n.persson@gmail.com> (https://github.com/emilniklas)" ], "license": "MIT", "bugs": { "url": "https://github.com/kulshekhar/ts-jest/issues" }, "homepage": "https://github.com/kulshekhar/ts-jest#readme", "jest": { "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "/__tests__/.*\\.(spec)\\.(ts|js)$", "coverageReporters": [ "text" ], "coverageDirectory": "test_coverage_dir", "collectCoverageFrom": [ "src/**/*.tsx", "src/**/*.ts" ], "moduleFileExtensions": [ "ts", "js" ] }, "dependencies": { "fs-extra": "^2.1.2", "glob-all": "^3.1.0", "istanbul-lib-instrument": "^1.2.0", "jest-config": "^19.0.0", "jest-util": "^19.0.0", "lodash.assign": "^4.2.0", "lodash.includes": "^4.3.0", "lodash.partition": "^4.6.0", "lodash.pickby": "^4.6.0", "remap-istanbul": "^0.9.5", "source-map-support": "^0.4.4", "tsconfig": "^6.0.0", "yargs": "^7.0.2" }, "peerDependencies": { "typescript": "^2.1.0", "jest": "^19.0.0" }, "devDependencies": { "@types/es6-shim": "latest", "@types/fs-extra": "^2.0.0", "@types/jest": "latest", "@types/lodash.assign": "latest", "@types/lodash.includes": "latest", "@types/lodash.partition": "latest", "@types/lodash.pickby": "latest", "@types/node": "latest", "@types/react": "latest", "@types/source-map-support": "latest", "cross-spawn": "latest", "cross-spawn-with-kill": "latest", "doctoc": "latest", "jest": "^19.0.0", "react": "latest", "react-test-renderer": "latest", "rimraf": "latest", "ts-jest": "latest", "tslint": "next", "typescript": "latest" } }