require npm/deployer; remove CNAME; use repo fivhome/webapp instead of fivapp/fivapp.github.io

This commit is contained in:
team-fiv
2019-09-22 22:05:57 +08:00
parent fd1339deff
commit e557e817c3
3 changed files with 4 additions and 2 deletions

View File

@@ -4,6 +4,8 @@
"scripts": { "scripts": {
"start": "umi dev", "start": "umi dev",
"build": "umi build", "build": "umi build",
"dist": "npm run build",
"deploy": "node ./node_modules/deployer/deploy.js --type git --repo 'https://github.com/fivhome/webapp' --local 'dist'",
"pub": "node scripts/pub.js", "pub": "node scripts/pub.js",
"all": "npm run build && npm run pub", "all": "npm run build && npm run pub",
"test": "umi test", "test": "umi test",
@@ -39,6 +41,7 @@
"babel-eslint": "^10.0.2", "babel-eslint": "^10.0.2",
"bluebird": "^3.5.5", "bluebird": "^3.5.5",
"chalk": "^2.4.2", "chalk": "^2.4.2",
"deployer": "git+https://git.faronear.org/npm/deployer",
"eslint": "^6.2.1", "eslint": "^6.2.1",
"eslint-config-umi": "^1.5.0", "eslint-config-umi": "^1.5.0",
"eslint-plugin-flowtype": "^4.2.0", "eslint-plugin-flowtype": "^4.2.0",

View File

@@ -1 +0,0 @@
fivapp.yuanjin.net

View File

@@ -16,7 +16,7 @@ const swigHelpers = {
}; };
const args = { const args = {
repo: 'git@github.com:fivapp/fivapp.github.io.git', repo: 'git@github.com:fivhome/webapp',
name: 'Limo Saplf', name: 'Limo Saplf',
email: 'limosaplf@gmail.com', email: 'limosaplf@gmail.com',
}; };