forked from pmcelhaney/counterfact
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.82 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
{
"name": "counterfact",
"version": "0.17.0",
"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 <pmcelhaney@gmail.com> (https://patrickmcelhaney.com)",
"license": "MIT",
"repository": "github:pmcelhaney/counterfact",
"bugs": "https://github.com/pmcelhaney/counterfact/issues",
"keywords": [
"counterfact",
"fake",
"rest",
"api",
"testing"
],
"engines": {
"node": ">=16.9.0"
},
"bin": {
"counterfact": "./bin/counterfact.js"
},
"scripts": {
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
"test:mutants": "stryker run stryker.config.json",
"release": "npx changeset publish",
"prepare": "husky install",
"lint": "eslint . --plugin file-progress --rule 'file-progress/activate: 1'",
"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\"",
"go:petstore": "yarn counterfact https://petstore3.swagger.io/api/v3/openapi.json out",
"go:petstore2": "yarn counterfact https://petstore.swagger.io/v2/swagger.json out",
"go:example": "yarn counterfact ./openapi-example.yaml out --open",
"counterfact": "ts-node --esm --transpileOnly ./bin/counterfact.js"
},
"devDependencies": {
"@changesets/cli": "2.26.0",
"@stryker-mutator/core": "6.3.1",
"@stryker-mutator/jest-runner": "6.3.1",
"@types/koa": "2.13.5",
"@types/koa-static": "^4.0.2",
"eslint": "8.31.0",
"eslint-config-hardcore": "25.1.0",
"eslint-formatter-github-annotations": "0.1.0",
"eslint-import-resolver-typescript": "^3.2.5",
"eslint-plugin-etc": "^2.0.2",
"eslint-plugin-file-progress": "^1.3.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^27.0.1",
"eslint-plugin-no-explicit-type-exports": "^0.12.1",
"husky": "8.0.2",
"jest": "28.1.2",
"nodemon": "2.0.20",
"stryker-cli": "1.0.2",
"supertest": "6.3.3"
},
"dependencies": {
"@hapi/accept": "^6.0.0",
"@types/json-schema": "^7.0.11",
"chokidar": "^3.5.3",
"commander": "^9.4.0",
"fetch": "^1.1.0",
"fs-extra": "^11.0.0",
"handlebars": "^4.7.7",
"js-yaml": "^4.1.0",
"json-schema-faker": "^0.5.0-rcv.44",
"json-schema-ref-parser": "^9.0.9",
"jsonwebtoken": "^9.0.0",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"koa-proxy": "^1.0.0-alpha.3",
"koa2-swagger-ui": "^5.6.0",
"node-fetch": "^3.2.10",
"open": "^8.4.0",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.2"
}
}