feat: add code-flow base load

This commit is contained in:
2024-06-25 23:56:12 +08:00
parent 5118891c41
commit 776c1287b8
10 changed files with 261 additions and 132 deletions

View File

@@ -10,16 +10,20 @@
"test": "NODE_ENV=development node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles ",
"build": "cross-env ENV=production webpack --mode=production",
"build:sh": "cross-env webpack --mode=production -c ./webpack.shell.config.cjs",
"deploy": "scp ./dist/app.js light:~/apps/x2025/back-end",
"deploy": "scp ./dist/app.cjs light:~/apps/codeflow/backend",
"deploy:sh": "",
"clean": "rm -rf dist",
"reload": "ssh light pm2 restart x2025"
"reload": "ssh light pm2 restart codeflow",
"docker:build": "docker build -t docker.xiongxiao.me/code-flow:v0.0.1 .",
"docker:push": "docker push docker.xiongxiao.me/code-flow:v0.0.1",
"docker:build:gitea": "docker build -t git.xiongxiao.me/abearxiong/code-flow:v0.0.1 .",
"docker:push:gitea": "docker push git.xiongxiao.me/abearxiong/code-flow:v0.0.1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@abearxiong/router": "^0.0.1-alpha.4",
"@abearxiong/router": "^0.0.1-alpha.6",
"@abearxiong/use-config": "^0.0.1",
"dayjs": "^1.11.11",
"json5": "^2.2.3",
@@ -53,5 +57,6 @@
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
}
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
}