rename libraries 'basend-*' to 'wo-base-*', 'corend-*' to 'wo-core-*', 'usend-*' to 'wo-user-*'
This commit is contained in:
parent
f44957f3dd
commit
390f44b65b
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "basend-webserver",
|
||||
"name": "wo-base-webserver",
|
||||
"version": "1.0.0",
|
||||
"description": "Launch web server",
|
||||
"main": "webserver.js",
|
||||
@ -12,7 +12,7 @@
|
||||
"serve.pm2": "npx cross-env NODE_ENV=production npx pm2 start server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"basend-envar": "git+https://git.faronear.org/npm/basend-envar",
|
||||
"wo-base-envar": "git+https://git.faronear.org/npm/wo-base-envar",
|
||||
"body-parser": "^1.18.2",
|
||||
"compression": "^1.7.3",
|
||||
"cookie-parser": "^1.4.3",
|
||||
|
@ -3,7 +3,7 @@ const path = require('path')
|
||||
const express = require('express')
|
||||
|
||||
const wo = (global.wo = {
|
||||
envar: require('basend-envar').merge_envar({
|
||||
envar: require('wo-base-envar').merge_envar({
|
||||
rawEnvar: {
|
||||
commanderOptions: [
|
||||
// 命令行里可以接受的参数。将传给 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给 commander,取值后覆盖掉同名变量。
|
||||
|
Loading…
Reference in New Issue
Block a user