-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 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
{
"name": "mocker",
"version": "1.1.0",
"description": "HTTP mock server for development and stable E2E tests",
"main": "src/index.js",
"scripts": {
"test": "yarn lint && yarn type-check && yarn jest",
"start": "NODE_OPTIONS='--max-http-header-size=1000000 --unhandled-rejections=strict' ./mocker",
"dev:httpbin": "node --watch-path=./src mocker --responsesDir ./responses/httpbin --origin http://httpbin.org --logging verbose --mode read-write",
"dev:vi": "./scripts/dev-vi",
"dev": "NODE_OPTIONS='--max-http-header-size=1000000 --unhandled-rejections=strict' node --watch-path=./src mocker",
"jest": "NODE_OPTIONS='--max-old-space-size=4000' NODE_ENV=test jest --collectCoverageFrom='./src/**/*.js'",
"type-check": "tsc --p './tsconfig.json'",
"fmt": "prettier --print-width 80 --prose-wrap always --write './**/*.{js,md,yml,json}' --ignore-path .gitignore",
"fmt:check": "prettier --check './**/*.{js,md,yml,json}' --ignore-path .gitignore",
"lint": "eslint --ext '.js' --ext '.json' --report-unused-disable-directives ."
},
"license": "UNLICENSED",
"private": true,
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.11.25",
"@typescript-eslint/parser": "^7.1.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jest-formatting": "^3.1.0",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4",
"eslint-plugin-sort-class-members": "^1.20.0",
"get-port": "5.1.1",
"jest": "^29.7.0",
"memfs": "^4.7.7",
"prettier": "2.8.8",
"typescript": "5.3.3"
},
"engines": {
"node": ">=20.11.1"
},
"bin": "./mocker",
"jest": {
"testPathIgnorePatterns": [
"__tests__/helpers/"
],
"coverageThreshold": {
"global": {
"branches": 78.14
}
}
},
"packageManager": "[email protected]+sha256.f3cc0eda8e5560e529c7147565b30faa43b4e472d90e8634d7134a37c7f59781"
}