feat: add online doc (#13)

* feat: add online site

* add
This commit is contained in:
xrkffgg
2020-12-27 02:16:18 +08:00
committed by GitHub
parent 072eaa8147
commit 18ae4ef9c4
28 changed files with 3177 additions and 1236 deletions

View File

@@ -5,6 +5,11 @@
"description": "Some operations on issue.",
"main": "src/main.js",
"scripts": {
"start": "dumi dev",
"docs:build": "dumi build",
"docs-dev:build": "UMI_ENV=dev dumi build",
"docs:deploy": "gh-pages -d docs-dist",
"deploy": "npm run docs:build && npm run docs:deploy",
"package": "ncc build src/main.js -o dist"
},
"author": "xrkffgg",
@@ -27,6 +32,8 @@
},
"devDependencies": {
"@vercel/ncc": "^0.25.1",
"dotenv": "^8.2.0"
"dotenv": "^8.2.0",
"dumi": "^1.1.0-rc.8",
"react": "^17.0.1"
}
}