1 | {
|
2 | "name": "openapi-mock-express-middleware",
|
3 | "version": "2.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": "npm run build -w",
|
9 | "build": "npm run 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\" \"npm run watch:ts\" \"npm run watch:node\"",
|
14 | "lint": "eslint --ext=ts .",
|
15 | "pretest": "npm run lint",
|
16 | "test": "jest --forceExit --collectCoverageFrom=\"src/**/*.ts\" --coverage --verbose",
|
17 | "test:watch": "jest --forceExit --verbose --watchAll",
|
18 | "security": "npm 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": "^7.0.2",
|
56 | "chokidar": "^3.4.3",
|
57 | "cookie-parser": "^1.4.5",
|
58 | "express": "^4.17.1",
|
59 | "faker": "^5.1.0",
|
60 | "json-schema-faker": "^0.5.0-rcv.32",
|
61 | "lodash": "^4.17.20",
|
62 | "method-override": "^3.0.0",
|
63 | "openapi-types": "^7.0.1",
|
64 | "path-to-regexp": "^6.2.0"
|
65 | },
|
66 | "devDependencies": {
|
67 | "@types/cookie-parser": "^1.4.2",
|
68 | "@types/express": "^4.17.9",
|
69 | "@types/faker": "^5.1.5",
|
70 | "@types/jest": "^26.0.19",
|
71 | "@types/lodash": "^4.14.166",
|
72 | "@types/method-override": "0.0.31",
|
73 | "@types/node": "^14.14.16",
|
74 | "@types/supertest": "^2.0.10",
|
75 | "@typescript-eslint/eslint-plugin": "^4.11.0",
|
76 | "@typescript-eslint/parser": "^4.11.0",
|
77 | "commitizen": "^4.2.2",
|
78 | "concurrently": "^5.3.0",
|
79 | "cz-conventional-changelog": "^3.3.0",
|
80 | "eslint": "^7.16.0",
|
81 | "eslint-config-airbnb-base": "^14.2.1",
|
82 | "eslint-config-prettier": "^7.1.0",
|
83 | "eslint-plugin-import": "^2.22.1",
|
84 | "eslint-plugin-prettier": "^3.3.0",
|
85 | "husky": "^4.3.6",
|
86 | "jest": "^26.6.3",
|
87 | "json-schema-faker-types": "^0.1.5",
|
88 | "nodemon": "^2.0.6",
|
89 | "prettier": "^2.2.1",
|
90 | "standard-version": "^9.0.0",
|
91 | "supertest": "^6.0.1",
|
92 | "ts-jest": "^26.4.4",
|
93 | "ts-node": "^9.1.1",
|
94 | "typescript": "^4.1.3"
|
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 | }
|