1 | {
|
2 | "name": "ts-jest",
|
3 | "version": "24.1.0",
|
4 | "main": "dist/index.js",
|
5 | "types": "dist/index.d.ts",
|
6 | "bin": "cli.js",
|
7 | "description": "A preprocessor with source maps support to help use TypeScript with Jest",
|
8 | "scripts": {
|
9 | "prebuild": "node scripts/clean-dist.js",
|
10 | "build": "tsc -p tsconfig.build.json",
|
11 | "postbuild": "node scripts/post-build.js",
|
12 | "build:watch": "tsc -p tsconfig.build.json -w",
|
13 | "clean": "node scripts/clean.js",
|
14 | "pretest": "npm run lint",
|
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:unit": "node_modules/.bin/jest",
|
19 | "test:external": "node scripts/test-external-project.js",
|
20 | "lint": "run-s lint:ts lint:js",
|
21 | "lint:js": "node_modules/.bin/eslint . -f stylish",
|
22 | "lint:ts": "node_modules/.bin/tslint -t stylish --project .",
|
23 | "lint:fix": "run-s lint:fix:ts lint:fix:js",
|
24 | "lint:fix:js": "node_modules/.bin/eslint . --fix",
|
25 | "lint:fix:ts": "node_modules/.bin/tslint --fix --project .",
|
26 | "typecheck": "node_modules/.bin/tsc -p .",
|
27 | "doc": "cd docs && bundle exec jekyll serve --livereload",
|
28 | "doc:link": "git worktree add docs/_site gh-pages",
|
29 | "doc:unlink": "git worktree prune",
|
30 | "doc:build": "cd docs && bundle exec jekyll build",
|
31 | "doc:build-commit": "npm run doc:build && cd docs/_site && git add --all && git commit -m \"Updates github pages\"",
|
32 | "changelog": "node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
33 | "prepare": "npm run build",
|
34 | "prepublishOnly": "npm run test",
|
35 | "preversion": "npm run test",
|
36 | "version": "npm run changelog && git add CHANGELOG.md"
|
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 | ],
|
53 | "license": "MIT",
|
54 | "bugs": {
|
55 | "url": "https://github.com/kulshekhar/ts-jest/issues"
|
56 | },
|
57 | "homepage": "https://kulshekhar.github.io/ts-jest",
|
58 | "dependencies": {
|
59 | "bs-logger": "0.x",
|
60 | "buffer-from": "1.x",
|
61 | "fast-json-stable-stringify": "2.x",
|
62 | "lodash.memoize": "4.x",
|
63 | "json5": "2.x",
|
64 | "make-error": "1.x",
|
65 | "mkdirp": "0.x",
|
66 | "resolve": "1.x",
|
67 | "semver": "^5.5",
|
68 | "yargs-parser": "10.x"
|
69 | },
|
70 | "peerDependencies": {
|
71 | "jest": ">=24 <25"
|
72 | },
|
73 | "husky": {
|
74 | "hooks": {
|
75 | "pre-commit": "lint-staged",
|
76 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
77 | "post-commit": "git reset"
|
78 | }
|
79 | },
|
80 | "devDependencies": {
|
81 | "@commitlint/cli": "8.x",
|
82 | "@commitlint/config-conventional": "7.x",
|
83 | "@types/babel__core": "7.x",
|
84 | "@types/buffer-from": "latest",
|
85 | "@types/cross-spawn": "latest",
|
86 | "@types/fs-extra": "latest",
|
87 | "@types/jest": "23.x",
|
88 | "@types/js-yaml": "latest",
|
89 | "@types/json5": "latest",
|
90 | "@types/lodash.memoize": "4.x",
|
91 | "@types/lodash.merge": "4.x",
|
92 | "@types/lodash.set": "4.x",
|
93 | "@types/mkdirp": "latest",
|
94 | "@types/node": "10.x",
|
95 | "@types/resolve": "latest",
|
96 | "@types/semver": "latest",
|
97 | "@types/yargs": "latest",
|
98 | "conventional-changelog-cli": "2.x",
|
99 | "cross-spawn": "latest",
|
100 | "eslint": "latest",
|
101 | "fs-extra": "latest",
|
102 | "glob-gitignore": "latest",
|
103 | "husky": "1.x",
|
104 | "jest": "24.x",
|
105 | "js-yaml": "latest",
|
106 | "lint-staged": "latest",
|
107 | "lodash.merge": "4.x",
|
108 | "lodash.set": "4.x",
|
109 | "npm-run-all": "latest",
|
110 | "prettier": "latest",
|
111 | "source-map": "latest",
|
112 | "tslint": "latest",
|
113 | "tslint-config-prettier": "latest",
|
114 | "tslint-plugin-prettier": "latest",
|
115 | "typescript": "3.x"
|
116 | },
|
117 | "lint-staged": {
|
118 | "*.{ts,tsx}": [
|
119 | "tslint --fix",
|
120 | "git add"
|
121 | ],
|
122 | "*.{js,jsx}": [
|
123 | "eslint --fix",
|
124 | "git add"
|
125 | ]
|
126 | },
|
127 | "engines": {
|
128 | "node": ">= 6"
|
129 | }
|
130 | }
|