UNPKG

2.07 kBJSONView Raw
1{
2 "name": "sm2tsservice",
3 "version": "3.2.5",
4 "description": "swagger or yapi mock to typescript services and models",
5 "repository": "git@github.com:gogoyqj/sm2tsservice.git",
6 "author": "杨乾军 <yang@yang>",
7 "license": "MIT",
8 "main": "lib/index.js",
9 "bin": "./lib/cli.js",
10 "types": "lib/index.d.ts",
11 "husky": {
12 "hooks": {
13 "pre-commit": "lint-staged",
14 "commit-msg": "validate-commit-msg"
15 }
16 },
17 "files": [
18 "lib",
19 "static",
20 "plugins"
21 ],
22 "scripts": {
23 "build": "tsc --project tsconfig.prod.json",
24 "doc:build": "docz build",
25 "doc:dev": "docz dev"
26 },
27 "dependencies": {
28 "ajv": "^6.9.1",
29 "body-parser": "^1.19.0",
30 "chalk": "^2.4.2",
31 "commander": "^2.19.0",
32 "detect-port": "^1.3.0",
33 "easy-json-schema": "^0.0.2-beta",
34 "es6-promisify": "^6.0.1",
35 "express": "^4.17.1",
36 "fs-extra": "^7.0.1",
37 "json5": "^2.1.0",
38 "jsondiffpatch": "^0.4.1",
39 "lodash": "^4.17.11",
40 "open": "^7.0.0",
41 "request": "^2.88.0",
42 "tslib": "^1.9.3"
43 },
44 "devDependencies": {
45 "@types/body-parser": "^1.17.1",
46 "@types/commander": "^2.12.2",
47 "@types/detect-port": "^1.1.0",
48 "@types/es6-promisify": "^6.0.0",
49 "@types/express": "^4.17.2",
50 "@types/fs-extra": "^5.0.5",
51 "@types/http-proxy-middleware": "^0.19.2",
52 "@types/jest": "^24.0.17",
53 "@types/json-schema": "^7.0.1",
54 "@types/json5": "^0.0.30",
55 "@types/lodash": "^4.14.120",
56 "@types/node": "8.9.3",
57 "@types/qs": "^6.5.3",
58 "@types/react": "^16.9.17",
59 "@types/request": "^2.48.1",
60 "@typescript-eslint/eslint-plugin": "^1.13.0",
61 "@typescript-eslint/parser": "^1.13.0",
62 "babel-jest": "^24.7.1",
63 "docz": "^1.2.0",
64 "docz-theme-default": "^1.2.0",
65 "eslint": "^5.16.0",
66 "eslint-config-prettier": "^4.3.0",
67 "eslint-plugin-prettier": "^3.0.1",
68 "husky": "^1.3.1",
69 "jest": "^24.9.0",
70 "lint-staged": "^8.1.5",
71 "prettier": "^1.19.1",
72 "ts-jest": "^24.0.2",
73 "typescript": "^3.7.4",
74 "validate-commit-msg": "^2.14.0"
75 }
76}