UNPKG

jest-module-name-mapper

Version:

Synchronization tsconfig paths with Jest (module name mapper)

64 lines (63 loc) 1.87 kB
{ "name": "jest-module-name-mapper", "version": "0.1.5", "description": "Synchronization tsconfig paths with Jest (module name mapper)", "main": "dist/index.js", "typings": "dist/index.d.ts", "repository": "https://github.com/sebastianmusial/jest-module-name-mapper", "author": "Sebastian Musiał", "license": "MIT", "private": false, "homepage": "https://github.com/sebastianmusial/jest-module-name-mapper#readme", "bugs": { "url": "https://github.com/sebastianmusial/jest-module-name-mapper/issues" }, "keywords": [ "jest", "tsconfig", "moduleNameMapper", "path", "aliases", "tests" ], "scripts": { "clear": "tsc -b --clean", "prebuild": "yarn clear && yarn generate", "build": "tsc -b --force", "generate": "dts-generator --name jest-module-name-mapper --project ./tsconfig.json --out dist/index.d.ts --main jest-module-name-mapper/index --prefix jest-module-name-mapper", "start": "nodemon --watch src --ext ts --ignore '*.spec.ts' --exec ts-node src/index.ts", "lint": "tslint --config tslint.json --project tsconfig.json", "pretest": "yarn lint", "test": "jest --expand --coverage --runInBand", "test:watch": "jest --expand --watchAll", "prepublish": "yarn build" }, "lint-staged": { "*.ts": [ "yarn lint", "git add", "jest --bail --findRelatedTests --passWithNoTests" ] }, "engines": { "yarn": ">= 1.7.0", "npm": ">= 5.0.0" }, "dependencies": { "chalk": "^2.4.2", "tsconfig-paths": "^3.9.0" }, "devDependencies": { "@types/jest": "^25.1.3", "@types/node": "^10.12.18", "dts-generator": "^3.0.0", "husky": "^1.3.1", "jest": "^25.1.0", "nodemon": "^2.0.2", "ts-jest": "^25.2.1", "ts-node": "^8.6.2", "tslib": "^1.11.1", "tslint": "^6.0.0", "typescript": "^3.8.3" } }