jest-codemods
Version:
Codemods for migrating test files to Jest
101 lines • 2.39 kB
JSON
{
"name": "jest-codemods",
"version": "0.34.2",
"description": "Codemods for migrating test files to Jest",
"license": "MIT",
"repository": "skovhus/jest-codemods",
"author": {
"name": "Kenneth Skovhus",
"email": "kenneth.skovhus@gmail.com",
"url": "https://github.com/skovhus"
},
"bin": "bin/jest-codemods.js",
"engines": {
"node": ">=12"
},
"files": [
"bin",
"dist"
],
"lint-staged": {
"*.js": [
"eslint",
"jest --findRelatedTests"
]
},
"keywords": [
"codemod",
"jest",
"ava",
"tape",
"mocha",
"chai",
"proxyquire",
"migrate",
"migrations",
"upgrade",
"transform",
"jscodeshift",
"codemods"
],
"dependencies": {
"chalk": "4.1.2",
"execa": "4.1.0",
"globby": "11.1.0",
"inquirer": "8.2.6",
"is-git-clean": "1.1.0",
"jscodeshift": "0.16.1",
"meow": "7.1.1",
"update-notifier": "5.1.0"
},
"devDependencies": {
"@jest/globals": "29.7.0",
"@types/jest": "29.5.12",
"@types/jscodeshift": "0.11.11",
"@types/update-notifier": "5.1.0",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"ast-types": "0.14.2",
"codecov": "3.8.3",
"eslint": "8.57.0",
"eslint-config-prettier": "8.10.0",
"eslint-plugin-jest": "26.9.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-simple-import-sort": "10.0.0",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "13.3.0",
"prettier": "2.8.8",
"ts-jest": "29.2.5",
"typescript": "5.5.4"
},
"jest": {
"preset": "ts-jest",
"resetMocks": true,
"collectCoverageFrom": [
"src/**/*.ts"
],
"coverageReporters": [
"text",
"lcov",
"html"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"testEnvironment": "node"
},
"scripts": {
"build": "tsc",
"clean": "rm -rf lib coverage npm-debug.log dist",
"lint": "pnpm lint:bail --fix",
"lint:bail": "eslint src --ext js,ts,tsx",
"test:cov": "pnpm test -- --coverage",
"test:watch": "pnpm test -- --watch",
"test": "jest --runInBand",
"verify": "pnpm lint && pnpm build && ./bin/jest-codemods.js --version && pnpm test:cov",
"verify:bail": "pnpm lint:bail && pnpm verify",
"ci": "pnpm verify:bail && codecov"
}
}