1 | {
|
2 | "name": "ts-jest",
|
3 | "version": "29.1.2",
|
4 | "main": "dist/index.js",
|
5 | "types": "dist/index.d.ts",
|
6 | "bin": {
|
7 | "ts-jest": "cli.js"
|
8 | },
|
9 | "description": "A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript",
|
10 | "scripts": {
|
11 | "prebuild": "rimraf dist coverage *.tgz",
|
12 | "build": "tsc -p tsconfig.build.json",
|
13 | "postbuild": "node scripts/post-build.js",
|
14 | "pretest": "tsc -p tsconfig.spec.json --noEmit && node scripts/prepare-test.js",
|
15 | "test": "jest",
|
16 | "test-examples": "node scripts/test-examples.js",
|
17 | "lint": "eslint --ext .js,.ts .",
|
18 | "lint-fix": "eslint --fix --ext .js,.ts .",
|
19 | "lint-prettier": "prettier '**/*.{yml,yaml,md}' --write",
|
20 | "lint-prettier-ci": "prettier '**/*.{yml,yaml,md}' --check",
|
21 | "doc": "cd website && npm run start",
|
22 | "doc:build": "cd website && npm run build",
|
23 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
24 | "prepare": "npm run build",
|
25 | "prepublishOnly": "npm run test",
|
26 | "preversion": "npm run test",
|
27 | "version": "npm run changelog && git add CHANGELOG.md",
|
28 | "raw:options": "node scripts/generate-raw-compiler-options.js",
|
29 | "update-e2e": "node scripts/update-e2e.js"
|
30 | },
|
31 | "repository": {
|
32 | "type": "git",
|
33 | "url": "git+https://github.com/kulshekhar/ts-jest.git"
|
34 | },
|
35 | "keywords": [
|
36 | "jest",
|
37 | "typescript",
|
38 | "sourcemap",
|
39 | "react",
|
40 | "testing"
|
41 | ],
|
42 | "author": "Kulshekhar Kabra <kulshekhar@users.noreply.github.com> (https://github.com/kulshekhar)",
|
43 | "contributors": [
|
44 | "Huafu Gandon <huafu.gandon@gmail.com> (https://github.com/huafu)",
|
45 | "Anh Pham <anhpnnd@gmail.com> (https://github.com/ahnpnl)",
|
46 | "Gustav Wengel <gustavwengel@gmail.com> (https://github.com/GeeWee)"
|
47 | ],
|
48 | "license": "MIT",
|
49 | "bugs": {
|
50 | "url": "https://github.com/kulshekhar/ts-jest/issues"
|
51 | },
|
52 | "homepage": "https://kulshekhar.github.io/ts-jest",
|
53 | "dependencies": {
|
54 | "bs-logger": "0.x",
|
55 | "fast-json-stable-stringify": "2.x",
|
56 | "jest-util": "^29.0.0",
|
57 | "json5": "^2.2.3",
|
58 | "lodash.memoize": "4.x",
|
59 | "make-error": "1.x",
|
60 | "semver": "^7.5.3",
|
61 | "yargs-parser": "^21.0.1"
|
62 | },
|
63 | "peerDependencies": {
|
64 | "@babel/core": ">=7.0.0-beta.0 <8",
|
65 | "@jest/types": "^29.0.0",
|
66 | "babel-jest": "^29.0.0",
|
67 | "jest": "^29.0.0",
|
68 | "typescript": ">=4.3 <6"
|
69 | },
|
70 | "peerDependenciesMeta": {
|
71 | "@babel/core": {
|
72 | "optional": true
|
73 | },
|
74 | "@jest/types": {
|
75 | "optional": true
|
76 | },
|
77 | "babel-jest": {
|
78 | "optional": true
|
79 | },
|
80 | "esbuild": {
|
81 | "optional": true
|
82 | }
|
83 | },
|
84 | "husky": {
|
85 | "hooks": {
|
86 | "pre-commit": "lint-staged",
|
87 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
88 | "post-commit": "git reset"
|
89 | }
|
90 | },
|
91 | "devDependencies": {
|
92 | "@commitlint/cli": "17.x",
|
93 | "@commitlint/config-angular": "^17.6.5",
|
94 | "@jest/transform": "^29.5.0",
|
95 | "@jest/types": "^29.5.0",
|
96 | "@types/babel__core": "7.x",
|
97 | "@types/cross-spawn": "latest",
|
98 | "@types/fs-extra": "latest",
|
99 | "@types/js-yaml": "latest",
|
100 | "@types/lodash.camelcase": "4.x",
|
101 | "@types/lodash.memoize": "4.x",
|
102 | "@types/lodash.set": "4.x",
|
103 | "@types/micromatch": "4.x",
|
104 | "@types/node": "18.16.18",
|
105 | "@types/react": "18.x",
|
106 | "@types/rimraf": "^3.0.2",
|
107 | "@types/semver": "latest",
|
108 | "@types/yargs": "latest",
|
109 | "@types/yargs-parser": "21.x",
|
110 | "@typescript-eslint/eslint-plugin": "^5.60.0",
|
111 | "@typescript-eslint/parser": "^5.60.0",
|
112 | "babel-jest": "^29.5.0",
|
113 | "conventional-changelog-cli": "2.x",
|
114 | "cross-spawn": "latest",
|
115 | "esbuild": "~0.17.19",
|
116 | "eslint": "^8.42.0",
|
117 | "eslint-config-prettier": "latest",
|
118 | "eslint-plugin-import": "latest",
|
119 | "eslint-plugin-jest": "latest",
|
120 | "eslint-plugin-jsdoc": "latest",
|
121 | "eslint-plugin-prefer-arrow": "latest",
|
122 | "eslint-plugin-prettier": "latest",
|
123 | "execa": "5.1.1",
|
124 | "fs-extra": "11.x",
|
125 | "glob": "^10.2.6",
|
126 | "glob-gitignore": "latest",
|
127 | "husky": "4.x",
|
128 | "jest": "^29.5.0",
|
129 | "jest-snapshot-serializer-raw": "^1.2.0",
|
130 | "js-yaml": "latest",
|
131 | "json-schema-to-typescript": "^13.0.2",
|
132 | "lint-staged": "latest",
|
133 | "lodash.camelcase": "^4.3.0",
|
134 | "lodash.set": "^4.3.2",
|
135 | "node-fetch": "^3.3.2",
|
136 | "prettier": "^2.8.8",
|
137 | "typescript": "~5.1.3"
|
138 | },
|
139 | "lint-staged": {
|
140 | "*.{ts,tsx,js,jsx}": [
|
141 | "eslint --fix",
|
142 | "git add"
|
143 | ]
|
144 | },
|
145 | "engines": {
|
146 | "node": "^16.10.0 || ^18.0.0 || >=20.0.0"
|
147 | }
|
148 | }
|