mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
chore: 准备打包
This commit is contained in:
+1
-6
@@ -1,7 +1,2 @@
|
||||
const WebFramework = require('@midwayjs/koa').Framework;
|
||||
const web = new WebFramework().configure({
|
||||
port: 7001,
|
||||
});
|
||||
|
||||
const { Bootstrap } = require('@midwayjs/bootstrap');
|
||||
Bootstrap.load(web).run();
|
||||
Bootstrap.run();
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
"description": "fast-server base midway",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "NODE_ENV=production node ./bootstrap.js",
|
||||
"online": "NODE_ENV=production node ./bootstrap.js",
|
||||
"start": "cross-env NODE_ENV=production node ./bootstrap.js",
|
||||
"online": "cross-env NODE_ENV=production node ./bootstrap.js",
|
||||
"online:preview": "NODE_ENV=preview node ./bootstrap.js",
|
||||
"dev": "cross-env NODE_ENV=local midway-bin dev --ts --watchFile='../../core/pipeline/src,../../plugins/'",
|
||||
"dev:preview": "cross-env NODE_ENV=preview midway-bin dev --ts",
|
||||
|
||||
Reference in New Issue
Block a user