1 | {
|
2 | "name": "openapi-mock-express-middleware",
|
3 | "version": "3.0.0",
|
4 | "description": "Generates an express mock server from an Open API spec",
|
5 | "main": "dist/index.js",
|
6 | "typings": "dist/index.d.ts",
|
7 | "scripts": {
|
8 | "start": "yarn build -w",
|
9 | "build": "yarn build:ts",
|
10 | "build:ts": "tsc",
|
11 | "watch:ts": "tsc -w",
|
12 | "watch:node": "nodemon dist/index.js",
|
13 | "watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"cyan.bold,green.bold\" \"yarn watch:ts\" \"yarn watch:node\"",
|
14 | "lint": "eslint --ext=ts .",
|
15 | "pretest": "yarn lint",
|
16 | "test": "jest --forceExit --collectCoverageFrom=\"src/**/*.ts\" --coverage --verbose",
|
17 | "test:watch": "jest --forceExit --verbose --watchAll",
|
18 | "security": "yarn audit",
|
19 | "release": "standard-version",
|
20 | "commit": "git-cz"
|
21 | },
|
22 | "engines": {
|
23 | "node": ">= 10.13.0"
|
24 | },
|
25 | "repository": {
|
26 | "type": "git",
|
27 | "url": "git+https://github.com/aleksandryackovlev/openapi-mock-express-middleware.git"
|
28 | },
|
29 | "keywords": [
|
30 | "codegen",
|
31 | "openapi",
|
32 | "swagger",
|
33 | "typescript",
|
34 | "fetch",
|
35 | "client",
|
36 | "sdk",
|
37 | "mock",
|
38 | "server",
|
39 | "express",
|
40 | "webpack"
|
41 | ],
|
42 | "author": "Aleksandr Yackovlev <aleksandryackovlev@yandex.ru>",
|
43 | "license": "MIT",
|
44 | "bugs": {
|
45 | "url": "https://github.com/aleksandryackovlev/openapi-mock-express-middleware/issues"
|
46 | },
|
47 | "homepage": "https://github.com/aleksandryackovlev/openapi-mock-express-middleware#readme",
|
48 | "files": [
|
49 | "dist/",
|
50 | "lib/",
|
51 | "index.js"
|
52 | ],
|
53 | "dependencies": {
|
54 | "@apidevtools/swagger-parser": "^10.0.2",
|
55 | "ajv": "^8.6.0",
|
56 | "chokidar": "^3.5.1",
|
57 | "cookie-parser": "^1.4.5",
|
58 | "express": "^4.17.1",
|
59 | "faker": "^5.5.3",
|
60 | "json-schema-faker": "0.5.0-rcv.34",
|
61 | "lodash": "^4.17.20",
|
62 | "method-override": "^3.0.0",
|
63 | "openapi-types": "^9.0.3",
|
64 | "path-to-regexp": "^6.2.0"
|
65 | },
|
66 | "devDependencies": {
|
67 | "@types/cookie-parser": "^1.4.2",
|
68 | "@types/express": "^4.17.12",
|
69 | "@types/faker": "^5.5.6",
|
70 | "@types/jest": "^26.0.23",
|
71 | "@types/lodash": "^4.14.170",
|
72 | "@types/method-override": "0.0.31",
|
73 | "@types/node": "^15.12.2",
|
74 | "@types/supertest": "^2.0.11",
|
75 | "@typescript-eslint/eslint-plugin": "^4.26.1",
|
76 | "@typescript-eslint/parser": "^4.26.1",
|
77 | "commitizen": "^4.2.4",
|
78 | "concurrently": "^6.2.0",
|
79 | "cz-conventional-changelog": "^3.3.0",
|
80 | "eslint": "^7.28.0",
|
81 | "eslint-config-airbnb-base": "^14.2.1",
|
82 | "eslint-config-prettier": "^8.3.0",
|
83 | "eslint-plugin-import": "^2.23.4",
|
84 | "eslint-plugin-prettier": "^3.4.0",
|
85 | "husky": "^6.0.0",
|
86 | "jest": "^27.0.4",
|
87 | "json-schema-faker-types": "^0.1.6",
|
88 | "nodemon": "^2.0.7",
|
89 | "prettier": "^2.3.1",
|
90 | "standard-version": "^9.3.0",
|
91 | "supertest": "^6.1.3",
|
92 | "ts-jest": "^27.0.3",
|
93 | "ts-node": "^10.0.0",
|
94 | "typescript": "^4.3.2"
|
95 | },
|
96 | "husky": {
|
97 | "hooks": {
|
98 | "pre-commit": "./scripts/process-staged-files"
|
99 | }
|
100 | },
|
101 | "config": {
|
102 | "commitizen": {
|
103 | "path": "./node_modules/cz-conventional-changelog"
|
104 | }
|
105 | }
|
106 | }
|