-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
75 lines (75 loc) · 2.02 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
{
"name": "jest-rest-preset",
"version": "0.0.4",
"description": "Run API tests using Jest, Axios and AJV",
"types": "./types/global.d.ts",
"main": "index.js",
"homepage": "https://github.com/rupeshmore/jest-rest#readme",
"scripts": {
"start": "npm run build -- --watch",
"build": "tsc",
"format": "prettier --write \"*.{js,md}\" \"src/**/*.ts\"",
"lint": "tsc --noEmit && eslint . --ext .js,.ts",
"prepublishOnly": "npm test && npm run lint",
"prepare": "npm run build",
"preversion": "npm run lint",
"test": "jest",
"test:example": "npm run build && jest --config=jest.config.example.js --runInBand",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls"
},
"author": "Rupesh More <“rupesh.more@gmail.com”>",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/rupeshmore/jest-rest.git"
},
"keywords": [
"api-tests",
"jest",
"axios",
"ajv",
"contract-tests",
"open-api-tests",
"swagger-tests"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,ts,md}": [
"prettier --write"
],
"*.{js,ts}": "eslint --fix"
},
"peerDependencies": {
"jest-environment-node": ">=25.x"
},
"devDependencies": {
"@types/axios": "0.14.0",
"@types/debug": "^4.1.5",
"@types/jest": "^25.1.4",
"@types/node": "12.12.2",
"@typescript-eslint/eslint-plugin": "^3.1.0",
"@typescript-eslint/parser": "^3.1.0",
"coveralls": "^3.1.0",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"jest": "^25.2.4",
"jest-environment-node": "^25.2.4",
"prettier": "^2.0.5",
"ts-jest": "^26.0.0",
"typescript": "^3.8.3"
},
"dependencies": {
"ajv": "^6.12.2",
"axios": "^0.21.1",
"chalk": "^4.0.0",
"debug": "^4.1.1",
"jest-circus": "^26.0.1"
}
}