批量重命名 npm/* 使用标准前缀 base|core|user
This commit is contained in:
parent
2e64e061af
commit
c1a7660c38
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "sol.webserver",
|
||||
"name": "base.webserver",
|
||||
"version": "1.0.0",
|
||||
"description": "Launch web server",
|
||||
"main": "server.js",
|
||||
@ -25,8 +25,8 @@
|
||||
"method-override": "^2.3.10",
|
||||
"morgan": "^1.9.0",
|
||||
"serve-favicon": "^2.5.0",
|
||||
"sol.enviconfig": "git+https://git.faronear.org/npm/sol.enviconfig",
|
||||
"sol.nettool": "git+https://git.faronear.org/npm/sol.nettool",
|
||||
"base.enviconfig": "git+https://git.faronear.org/npm/base.enviconfig",
|
||||
"base.nettool": "git+https://git.faronear.org/npm/base.nettool",
|
||||
"vhost": "^3.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -1,10 +1,10 @@
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
const nettool = require('sol.nettool')
|
||||
const nettool = require('base.nettool')
|
||||
const express = require('express')
|
||||
|
||||
const wo = (global.wo = {
|
||||
envi : require('sol.enviconfig').mergeConfig({
|
||||
envi : require('base.enviconfig').mergeConfig({
|
||||
commanderOptions: [
|
||||
// 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。
|
||||
['protocol', '-P, --protocol <string>', 'Web Server protocol: http|https|httpall.'],
|
||||
|
Loading…
Reference in New Issue
Block a user