-
Notifications
You must be signed in to change notification settings - Fork 451
/
package.json
117 lines (117 loc) · 3.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
{
"name": "ts-jest",
"version": "21.2.0",
"main": "preprocessor.js",
"types": "./dist/preprocessor.d.ts",
"description": "A preprocessor with sourcemap support to help use Typescript with Jest",
"scripts": {
"build": "tsc -p .",
"build:watch": "tsc -p . -w",
"clean": "rimraf dist/**/* && rimraf tests/simple/coverage && rimraf tests/simple-async/coverage",
"clean-build": "npm run clean && npm run build",
"pretest": "npm run tslint && npm run clean-build",
"test": "node scripts/tests.js",
"tslint": "tslint src/*.ts",
"doc": "doctoc .",
"prepublish": "npm run clean-build",
"precommit": "lint-staged",
"postcommit": "git reset",
"format": "prettier --single-quote --trailing-comma all --write \"{src,scripts,tests}/**/*.ts\" && prettier --single-quote --trailing-comma es5 --write \"{src,scripts,tests}/**/*.js\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/kulshekhar/ts-jest.git"
},
"keywords": [
"jest",
"typescript",
"sourcemap",
"react",
"testing"
],
"author": "Kulshekhar Kabra <kulshekhar@users.noreply.github.com> (https://github.com/kulshekhar)",
"contributors": [
"Bnaya Peretz <me@bnaya.net> (https://github.com/Bnaya)",
"Brian Ruddy <briancruddy@gmail.com> (https://github.com/bcruddy)",
"Emil Persson <emil.n.persson@gmail.com> (https://github.com/emilniklas)",
"Gustav Wengel <gustavwengel@gmail.com>(https://github.com/GeeWee)",
"Ihor Chulinda <ichulinda@gmail.com> (https://github.com/Igmat)",
"OJ Kwon <kwon.ohjoong@gmail.com> (https://github.com/kwonoj)",
"Tony Valderrama <tony.valderrama@outlook.com> (https://github.com/tvald)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/kulshekhar/ts-jest/issues"
},
"homepage": "https://github.com/kulshekhar/ts-jest#readme",
"jest": {
"transform": {
"^.+\\.tsx?$": "<rootDir>/dist/preprocessor.js"
},
"testRegex": "tests/__tests__/.*\\.spec\\.ts$",
"coverageReporters": [
"text"
],
"coverageDirectory": "test_coverage_dir",
"collectCoverageFrom": [
"src/**/*.tsx",
"src/**/*.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
},
"dependencies": {
"babel-core": "^6.24.1",
"babel-plugin-istanbul": "^4.1.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
"babel-preset-jest": "^21.2.0",
"fs-extra": "^4.0.0",
"jest-config": "^21.2.1",
"jest-util": "^21.2.1",
"pkg-dir": "^2.0.0",
"source-map-support": "^0.5.0",
"yargs": "^10.0.3"
},
"peerDependencies": {
"jest": "^21.1.0 || ^21.3.0-alpha.1 || ^22.0.0-alpha.1",
"typescript": "2.x"
},
"devDependencies": {
"@types/babel-core": "^6.7.14",
"@types/es6-shim": "latest",
"@types/fs-extra": "^4.0.0",
"@types/jest": "latest",
"@types/node": "latest",
"@types/react": "latest",
"@types/source-map-support": "latest",
"babel-preset-env": "^1.6.0",
"cross-spawn": "latest",
"cross-spawn-with-kill": "latest",
"doctoc": "latest",
"husky": "^0.14.3",
"jest": "^21.1.0",
"lint-staged": "^4.0.3",
"prettier": "^1.5.3",
"react": "latest",
"react-test-renderer": "latest",
"rimraf": "latest",
"ts-jest": "latest",
"tslint": "next",
"typescript": "^2.4.1"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote --trailing-comma es5",
"git add"
],
"*.ts": [
"prettier --write --single-quote --trailing-comma all",
"git add"
]
}
}