-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.13 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
{
"name": "typescript-exercises",
"version": "1.0.0",
"description": "A suite of programming exercises in TypeScript with Jest unit tests",
"main": "index.js",
"repository": "https://github.com/sternetj/typescript-exercises.git",
"author": "tsterne <tsterne@allegient.com>",
"license": "MIT",
"scripts": {
"lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}'",
"pretest": "yarn run lint",
"test": "jest --watchAll",
"test:module1": "jest ./1-classes/tests.spec.ts --watchAll",
"test:module2": "jest ./2-generics_interfaces/tests.spec.ts --watchAll",
"test:module3": "jest ./3-modules/tests.spec.ts --watchAll",
"test:module4": "jest ./4-enums/tests.spec.ts --watchAll"
},
"devDependencies": {
"jest": "^23.1.0",
"ts-jest": "^22.4.6",
"tslint": "^5.10.0"
},
"dependencies": {
"@types/jest": "^23.1.1",
"typescript": "^2.9.2"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(ts|tsx|js)$"
}
}