UNPKG

ts-jest-resolver

Version:

A resolver for `jest` that uses same strategy as TS when resolving files with JavaScript extension (".js").

69 lines (68 loc) 1.82 kB
{ "name": "ts-jest-resolver", "version": "2.0.1", "description": "A resolver for `jest` that uses same strategy as TS when resolving files with JavaScript extension (\".js\").", "main": "./dist/index.js", "types": "./types/index.d.ts", "module": "./dist/index.esm.js", "files": [ "dist/", "types/" ], "exports": { ".": [ { "import": "./dist/index.mjs", "require": "./dist/index.cjs", "default": "./dist/index.js" }, "./dist/index.js" ] }, "dependencies": { "jest-resolve": "^29.5.0" }, "devDependencies": { "@types/eslint": "^8.21.1", "@types/jest": "^29.4.0", "@types/prettier": "^2.7.2", "@typescript-eslint/eslint-plugin": "^5.54.1", "@typescript-eslint/parser": "^5.54.1", "eslint": "^8.35.0", "eslint-config-prettier": "^8.7.0", "eslint-plugin-prettier": "^4.2.1", "jest": "^29.5.0", "prettier": "^2.8.4", "rollup": "^3.19.1", "rollup-plugin-typescript2": "^0.34.1", "ts-jest": "^29.0.5", "typescript": "^4.9.5" }, "scripts": { "test": "npm run build && npm run test:lint && npm run test:unit", "test:lint": "eslint \"*/**/*.{ts,js,json}\"", "test:unit": "jest", "lint": "eslint \"*/**/*.{ts,js,json}\" --fix", "build": "rollup --config ./rollup.config.mjs", "prepublishOnly": "npm run test" }, "repository": { "type": "git", "url": "git+https://github.com/VitorLuizC/ts-jest-resolver.git" }, "keywords": [ "jest", "jest-resolver", "ts-jest", "typescript", "ts-jest-resolver" ], "author": { "name": "Vitor Luiz Cavalcanti" }, "license": "MIT", "bugs": { "url": "https://github.com/VitorLuizC/ts-jest-resolver/issues" }, "homepage": "https://github.com/VitorLuizC/ts-jest-resolver#readme" }