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": {
"start": "umi dev",
"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",
"all": "npm run build && npm run pub",
"test": "umi test",
@@ -39,6 +41,7 @@
"babel-eslint": "^10.0.2",
"bluebird": "^3.5.5",
"chalk": "^2.4.2",
"deployer": "git+https://git.faronear.org/npm/deployer",
"eslint": "^6.2.1",
"eslint-config-umi": "^1.5.0",
"eslint-plugin-flowtype": "^4.2.0",