Add config to publish to github pages
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
"scripts": {
|
||||
"start": "umi dev",
|
||||
"build": "umi build",
|
||||
"pub": "node scripts/pub.js",
|
||||
"all": "npm run build && npm run pub",
|
||||
"test": "umi test",
|
||||
"lint:es": "eslint --ext .js src mock tests",
|
||||
"lint:ts": "tslint \"src/**/*.ts\" \"src/**/*.tsx\""
|
||||
@@ -31,15 +33,21 @@
|
||||
"@types/react-dom": "^16.9.0",
|
||||
"@types/react-test-renderer": "^16.0.3",
|
||||
"babel-eslint": "^10.0.2",
|
||||
"bluebird": "^3.5.5",
|
||||
"chalk": "^2.4.2",
|
||||
"eslint": "^6.2.1",
|
||||
"eslint-config-umi": "^1.5.0",
|
||||
"eslint-plugin-flowtype": "^4.2.0",
|
||||
"eslint-plugin-import": "^2.14.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.2.3",
|
||||
"eslint-plugin-react": "^7.11.1",
|
||||
"hexo-fs": "^2.0.0",
|
||||
"hexo-util": "^1.0.0",
|
||||
"husky": "^3.0.4",
|
||||
"lint-staged": "^9.2.3",
|
||||
"moment": "^2.24.0",
|
||||
"react-test-renderer": "^16.7.0",
|
||||
"swig-templates": "^2.0.3",
|
||||
"tslint": "^5.19.0",
|
||||
"tslint-eslint-rules": "^5.4.0",
|
||||
"tslint-react": "^4.0.0",
|
||||
|
||||
Reference in New Issue
Block a user