backend 加入 npm run doc 命令

This commit is contained in:
k8w 2021-12-25 18:33:59 +08:00
parent 250e5a0c35
commit 8d65409656
12 changed files with 84 additions and 72 deletions

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,12 +4,13 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"test": "mocha test/**/*.test.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"build": "tsrpc build"
},
"devDependencies": {
"@types/mocha": "^8.2.3",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/mocha": "^8.2.3",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",

View File

@ -4,11 +4,12 @@
"main": "index.js",
"private": true,
"scripts": {
"proto": "tsrpc proto --config tsrpc.config.ts",
"sync": "tsrpc sync --config tsrpc.config.ts",
"api": "tsrpc api --config tsrpc.config.ts",
"dev": "tsrpc dev --config tsrpc.config.ts",
"build": "tsrpc build --config tsrpc.config.ts"
"proto": "tsrpc proto",
"sync": "tsrpc sync",
"api": "tsrpc api",
"doc": "tsrpc doc",
"dev": "tsrpc dev",
"build": "tsrpc build"
},
"devDependencies": {
"@types/node": "^15.14.9",