1 Star 0 Fork 0

zkboys/nextjs-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.94 KB
一键复制 编辑 原始数据 按行查看 历史
zkboys 提交于 2022-04-01 14:13 . :sparkles:rancher部署
{
"name": "nextjs-template",
"version": "0.1.0",
"private": true,
"scripts": {
"start": "NODE_ENV=development next dev",
"build": "NODE_ENV=production next build && NODE_ENV=production next export",
"next:build": "NODE_ENV=production next build",
"next:start": "NODE_ENV=production next start",
"lint": "next lint",
"pull": "git fetch --all && git reset --hard origin/master && git pull",
"copy:rancher": "rsync -avP --exclude=.idea --exclude=deploy --exclude=.git --exclude=.next --exclude=node_modules . build",
"rancher": "cross-env BUILD_COMMAND=copy:rancher INSTALL=false rancher-deploy",
"rancher2": "cross-env GIT_URL=https://toscode.gitee.com/zkboys/nextjs-template.git BUILD_COMMAND=copy:rancher INSTALL=false rancher-deploy",
"copy:test": "rsync -avP --exclude=.idea --exclude=.git --exclude=.next --exclude=node_modules . root@xxx.xxx.xxx.xxx:/root/debunk",
"deploy:test": "yarn copy:test && ssh root@xxx.xxx.xxx.xxx \"cd debunk && yarn && yarn next:build && pm2 startOrRestart pm2.test.config.js\"",
"copy:prod": "rsync -avP --exclude=.idea --exclude=.git --exclude=.next --exclude=node_modules . root@xxx.xxx.xxx.xxx:/root/debunk",
"deploy:prod": "yarn copy:prod && ssh root@xxx.xxx.xxx.xxx \"cd debunk && yarn && yarn next:build && pm2 startOrRestart pm2.prod.config.js\""
},
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@ra-lib/ajax": "^0.1.32",
"@ra-lib/rancher-deploy": "^1.0.25",
"antd": "^4.17.3",
"axios": "^0.24.0",
"babel-plugin-import": "^1.13.3",
"cross-env": "^7.0.3",
"less": "^4.1.2",
"less-loader": "^10.0.1",
"moment": "^2.29.1",
"next": "11.1.2",
"next-with-less": "^1.0.1",
"prop-types": "^15.7.2",
"qs": "^6.10.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-infinite-scroll-component": "^6.1.0",
"sqlite3": "^5.0.2"
},
"devDependencies": {
"eslint": "7.32.0",
"eslint-config-next": "11.1.2"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zkboys/nextjs-template.git
git@gitee.com:zkboys/nextjs-template.git
zkboys
nextjs-template
nextjs-template
master

搜索帮助