-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
63 lines (63 loc) · 1.83 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
{
"name": "jest-module-name-mapper",
"version": "0.1.5",
"description": "Synchronization tsconfig paths with Jest (module name mapper)",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": "https://github.com/sebastianmusial/jest-module-name-mapper",
"author": "Sebastian Musiał",
"license": "MIT",
"private": false,
"homepage": "https://github.com/sebastianmusial/jest-module-name-mapper#readme",
"bugs": {
"url": "https://github.com/sebastianmusial/jest-module-name-mapper/issues"
},
"keywords": [
"jest",
"tsconfig",
"moduleNameMapper",
"path",
"aliases",
"tests"
],
"scripts": {
"clear": "tsc -b --clean",
"prebuild": "yarn clear && yarn generate",
"build": "tsc -b --force",
"generate": "dts-generator --name jest-module-name-mapper --project ./tsconfig.json --out dist/index.d.ts --main jest-module-name-mapper/index --prefix jest-module-name-mapper",
"start": "nodemon --watch src --ext ts --ignore '*.spec.ts' --exec ts-node src/index.ts",
"lint": "tslint --config tslint.json --project tsconfig.json",
"pretest": "yarn lint",
"test": "jest --expand --coverage --runInBand",
"test:watch": "jest --expand --watchAll",
"prepublish": "yarn build"
},
"lint-staged": {
"*.ts": [
"yarn lint",
"git add",
"jest --bail --findRelatedTests --passWithNoTests"
]
},
"engines": {
"yarn": ">= 1.7.0",
"npm": ">= 5.0.0"
},
"dependencies": {
"chalk": "^2.4.2",
"tsconfig-paths": "^3.9.0"
},
"devDependencies": {
"@types/jest": "^25.1.3",
"@types/node": "^10.12.18",
"dts-generator": "^3.0.0",
"husky": "^1.3.1",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"tslib": "^1.11.1",
"tslint": "^6.0.0",
"typescript": "^3.8.3"
}
}