-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.54 KB
/
package.json
File metadata and controls
48 lines (48 loc) · 1.54 KB
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
{
"name": "basic-testing",
"version": "1.0.0",
"description": "Task for mastering unit-tests with Jest, Node.js and Typescript",
"author": "AlreadyBored",
"license": "MIT",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"src/**/*.ts\" --fix",
"test": "jest --silent",
"test1": "npx jest src/01-simple-tests/index.test.ts ",
"test2": "npx jest src/02-table-tests/index.test.ts ",
"test3": "npx jest src/03-error-handling-async/index.test.ts ",
"test4": "npx jest src/04-test-class/index.test.ts ",
"test5": "npx jest src/05-partial-mocking/index.test.ts ",
"test6": "npx jest src/06-mocking-node-api/index.test.ts ",
"test7": "npx jest src/07-mocking-lib-api/index.test.ts ",
"test8": "npx jest src/08-snapshot-testing/index.test.ts ",
"test:verbose": "jest",
"build": "tsc"
},
"devDependencies": {
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"ts-loader": "^9.4.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.0.4"
},
"dependencies": {
"axios": "^1.4.0",
"lodash": "^4.17.21"
}
}