UNPKG

pb-to-ts-api

Version:

help you transfer protobuf file to your custom d.ts and api request method

53 lines (52 loc) 1.47 kB
{ "name": "pb-to-ts-api", "version": "1.0.5", "description": "help you transfer protobuf file to your custom d.ts and api request method", "main": "index.js", "scripts": { "dev": "webpack --config webpack.config.js --watch", "build": "webpack --config webpack.config.js", "lint:fix": "eslint --ext .ts ./ --fix --cache" }, "keywords": [ "pb", "protobuf", "ts", "mock" ], "bin": { "pb2TSApi": "./dist/cli.js", "pb-to-ts-api": "./dist/cli.js" }, "author": "xingbofeng", "license": "ISC", "dependencies": { "chalk": "^4.1.2", "express": "^4.18.2", "glob": "^9.2.1", "json-schema-faker": "^0.5.0-rcv.46", "minimist": "^1.2.8", "mkdirp": "^2.1.5", "protobufjs": "^7.2.2", "protobufjs-cli": "^1.1.1", "ts-morph": "^17.0.1", "typescript-json-schema": "^0.55.0" }, "devDependencies": { "@types/express": "^4.17.17", "@types/minimist": "^1.2.2", "@typescript-eslint/eslint-plugin": "^5.55.0", "@typescript-eslint/parser": "^5.55.0", "eslint": "^8.36.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-simple-import-sort": "^10.0.0", "eslint-webpack-plugin": "^4.0.0", "source-map-support": "^0.5.21", "ts-loader": "^9.4.2", "type-fest": "^3.6.1", "typescript": "^4.9.5", "webpack": "^5.76.2", "webpack-cli": "^5.0.1", "webpack-node-externals": "^3.0.0" } }