代码拉取完成,页面将自动刷新
{
"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"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。