-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
111 lines (111 loc) · 4.11 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "counterfact",
"version": "1.1.7",
"description": "a library for building a fake REST API for testing",
"type": "module",
"main": "./src/server/counterfact.js",
"exports": "./src/server/counterfact.js",
"types": "./src/counterfact.d.ts",
"author": "Patrick McElhaney <[email protected]> (https://patrickmcelhaney.com)",
"license": "MIT",
"repository": "github:pmcelhaney/counterfact",
"bugs": "https://github.com/pmcelhaney/counterfact/issues",
"keywords": [
"counterfact",
"fake",
"rest",
"api",
"testing"
],
"engines": {
"node": ">=17.0.0"
},
"bin": {
"counterfact": "./bin/counterfact.js"
},
"files": [
"bin",
"dist"
],
"scripts": {
"test": "yarn node --experimental-vm-modules ./node_modules/jest-cli/bin/jest --testPathIgnorePatterns=black-box",
"test:black-box": "rimraf dist && rimraf out && yarn build && yarn node --experimental-vm-modules ./node_modules/jest-cli/bin/jest black-box --forceExit --coverage=false",
"test:mutants": "stryker run stryker.config.json",
"build": "tsc && copyfiles -f \"src/client/**\" dist/client && copyfiles -f \"src/server/types.ts\" dist/server && copyfiles -f \"src/server/*.cjs\" dist/server",
"prepack": "yarn build",
"release": "npx changeset publish",
"prepare": "husky install",
"lint": "eslint . --plugin file-progress --rule 'file-progress/activate: 1' --ignore-pattern dist --ignore-pattern out --ignore-pattern coverage",
"lint:quickfix": "eslint --fix . eslint --fix demo-ts --rule=\"import/namespace: 0,etc/no-deprecated:0,import/no-cycle:0,no-explicit-type-exports/no-explicit-type-exports:0,import/no-deprecated:0,import/no-self-import:0,import/default:0,import/no-named-as-default:0\" --ignore-pattern dist --ignore-pattern out",
"go:petstore": "yarn build && yarn counterfact https://petstore3.swagger.io/api/v3/openapi.json out",
"go:petstore2": "yarn build && yarn counterfact https://petstore.swagger.io/v2/swagger.json out",
"go:example": "yarn build && node ./bin/counterfact.js ./openapi-example.yaml out",
"counterfact": "./bin/counterfact.js",
"postinstall": "patch-package"
},
"devDependencies": {
"@changesets/cli": "2.27.11",
"@stryker-mutator/core": "8.7.1",
"@stryker-mutator/jest-runner": "8.7.1",
"@stryker-mutator/typescript-checker": "8.7.1",
"@swc/core": "1.10.7",
"@swc/jest": "0.2.37",
"@testing-library/dom": "10.4.0",
"@types/jest": "29.5.14",
"@types/js-yaml": "4.0.9",
"@types/koa": "2.15.0",
"@types/koa-bodyparser": "4.3.12",
"@types/koa-proxy": "1.0.7",
"@types/koa-static": "4.0.4",
"@types/lodash": "4.17.14",
"copyfiles": "2.4.1",
"eslint": "9.18.0",
"eslint-config-hardcore": "47.0.1",
"eslint-formatter-github-annotations": "0.1.0",
"eslint-import-resolver-typescript": "3.7.0",
"eslint-plugin-etc": "2.0.3",
"eslint-plugin-file-progress": "3.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-jest-dom": "5.5.0",
"eslint-plugin-no-explicit-type-exports": "0.12.1",
"eslint-plugin-prettier": "5.2.3",
"eslint-plugin-unused-imports": "4.1.4",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-retries": "1.0.1",
"node-mocks-http": "1.16.2",
"rimraf": "6.0.1",
"stryker-cli": "1.0.2",
"supertest": "7.0.0",
"using-temporary-files": "2.2.1"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "11.7.3",
"@hapi/accept": "6.0.3",
"@types/json-schema": "7.0.15",
"ast-types": "0.14.2",
"chokidar": "4.0.3",
"commander": "13.0.0",
"debug": "4.4.0",
"fetch": "1.1.0",
"fs-extra": "11.3.0",
"handlebars": "4.7.8",
"http-terminator": "3.2.0",
"js-yaml": "4.1.0",
"json-schema-faker": "0.5.8",
"jsonwebtoken": "9.0.2",
"koa": "2.15.3",
"koa-bodyparser": "4.4.1",
"koa-proxies": "0.12.4",
"koa2-swagger-ui": "5.11.0",
"lodash": "4.17.21",
"node-fetch": "3.3.2",
"open": "10.1.0",
"patch-package": "8.0.0",
"precinct": "12.1.2",
"prettier": "3.4.2",
"recast": "0.23.9",
"typescript": "5.7.3"
}
}