1 | {
|
2 | "name": "ts-jest",
|
3 | "version": "26.5.5",
|
4 | "main": "dist/index.js",
|
5 | "types": "dist/index.d.ts",
|
6 | "bin": {
|
7 | "ts-jest": "cli.js"
|
8 | },
|
9 | "description": "A preprocessor with source maps support to help use TypeScript with Jest",
|
10 | "scripts": {
|
11 | "prebuild": "node scripts/pre-build.js",
|
12 | "build": "tsc -p tsconfig.build.json",
|
13 | "postbuild": "node scripts/post-build.js",
|
14 | "clean": "node scripts/clean.js",
|
15 | "test": "run-s -s test:e2e \"test:unit -- {@}\" --",
|
16 | "test:prepare": "npm run test:e2e -- --prepareOnly",
|
17 | "test:e2e": "node scripts/e2e.js",
|
18 | "test:e2e:update-snaphots": "node scripts/e2e.js --updateSnapshot",
|
19 | "test:unit": "node_modules/.bin/jest",
|
20 | "test:external": "node scripts/test-external-project.js",
|
21 | "test:external-repos": "npm run test:external external-repos",
|
22 | "lint": "node_modules/.bin/eslint --ext .js,.ts .",
|
23 | "lint:fix": "node_modules/.bin/eslint --fix --ext .js,.ts .",
|
24 | "typecheck": "node_modules/.bin/tsc -p .",
|
25 | "doc": "cd docs && bundle exec jekyll serve --livereload",
|
26 | "doc:link": "git worktree add docs/_site gh-pages",
|
27 | "doc:unlink": "git worktree prune",
|
28 | "doc:build": "cd docs && bundle exec jekyll build",
|
29 | "doc:build-commit": "npm run doc:build && cd docs/_site && git add --all && git commit -m \"Updates github pages\"",
|
30 | "changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
31 | "prepare": "npm run build",
|
32 | "prepublishOnly": "npm run test",
|
33 | "preversion": "npm run test",
|
34 | "update:e2e": "node scripts/update-e2e-templates.js",
|
35 | "version": "npm run changelog && git add CHANGELOG.md",
|
36 | "raw-tsconfig-types": "node scripts/tsconfig-raw-types.js"
|
37 | },
|
38 | "repository": {
|
39 | "type": "git",
|
40 | "url": "git+https://github.com/kulshekhar/ts-jest.git"
|
41 | },
|
42 | "keywords": [
|
43 | "jest",
|
44 | "typescript",
|
45 | "sourcemap",
|
46 | "react",
|
47 | "testing"
|
48 | ],
|
49 | "author": "Kulshekhar Kabra <kulshekhar@users.noreply.github.com> (https://github.com/kulshekhar)",
|
50 | "contributors": [
|
51 | "Huafu Gandon <huafu.gandon@gmail.com> (https://github.com/huafu)",
|
52 | "Anh Pham <anhpnnd@gmail.com> (https://github.com/ahnpnl)",
|
53 | "Gustav Wengel <gustavwengel@gmail.com> (https://github.com/GeeWee)"
|
54 | ],
|
55 | "license": "MIT",
|
56 | "bugs": {
|
57 | "url": "https://github.com/kulshekhar/ts-jest/issues"
|
58 | },
|
59 | "homepage": "https://kulshekhar.github.io/ts-jest",
|
60 | "dependencies": {
|
61 | "bs-logger": "0.x",
|
62 | "buffer-from": "1.x",
|
63 | "fast-json-stable-stringify": "2.x",
|
64 | "jest-util": "^26.1.0",
|
65 | "json5": "2.x",
|
66 | "lodash": "4.x",
|
67 | "make-error": "1.x",
|
68 | "mkdirp": "1.x",
|
69 | "semver": "7.x",
|
70 | "yargs-parser": "20.x"
|
71 | },
|
72 | "peerDependencies": {
|
73 | "jest": ">=26 <27",
|
74 | "typescript": ">=3.8 <5.0"
|
75 | },
|
76 | "husky": {
|
77 | "hooks": {
|
78 | "pre-commit": "lint-staged",
|
79 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
80 | "post-commit": "git reset"
|
81 | }
|
82 | },
|
83 | "devDependencies": {
|
84 | "@commitlint/cli": "11.x",
|
85 | "@commitlint/config-angular": "^11.0.0",
|
86 | "@jest/transform": "26.x",
|
87 | "@jest/types": "26.x",
|
88 | "@types/babel__core": "7.x",
|
89 | "@types/buffer-from": "latest",
|
90 | "@types/cross-spawn": "latest",
|
91 | "@types/fs-extra": "latest",
|
92 | "@types/jest": "26.x",
|
93 | "@types/js-yaml": "latest",
|
94 | "@types/json5": "latest",
|
95 | "@types/lodash": "4.x",
|
96 | "@types/micromatch": "4.x",
|
97 | "@types/mkdirp": "latest",
|
98 | "@types/node": "14.x",
|
99 | "@types/react": "16.x",
|
100 | "@types/semver": "latest",
|
101 | "@types/yargs": "latest",
|
102 | "@types/yargs-parser": "15.x",
|
103 | "@typescript-eslint/eslint-plugin": "4.x",
|
104 | "@typescript-eslint/parser": "4.x",
|
105 | "conventional-changelog-cli": "2.x",
|
106 | "cross-spawn": "latest",
|
107 | "eslint": "7.x",
|
108 | "eslint-config-prettier": "latest",
|
109 | "eslint-plugin-jest": "latest",
|
110 | "eslint-plugin-jsdoc": "latest",
|
111 | "eslint-plugin-prettier": "latest",
|
112 | "execa": "latest",
|
113 | "fs-extra": "9.x",
|
114 | "glob-gitignore": "latest",
|
115 | "husky": "4.x",
|
116 | "jest": "26.x",
|
117 | "js-yaml": "latest",
|
118 | "json-schema-to-typescript": "^10.1.3",
|
119 | "lint-staged": "latest",
|
120 | "node-fetch": "^2.6.1",
|
121 | "npm-run-all": "latest",
|
122 | "prettier": "2.x",
|
123 | "source-map": "latest",
|
124 | "typescript": "4.x"
|
125 | },
|
126 | "lint-staged": {
|
127 | "*.{ts,tsx,js,jsx}": [
|
128 | "eslint --fix",
|
129 | "git add"
|
130 | ]
|
131 | },
|
132 | "engines": {
|
133 | "node": ">= 10"
|
134 | }
|
135 | }
|