Deploy static to gh-pages

This commit is contained in:
hazam 2020-01-03 21:45:06 +05:00
parent b18a0efe2c
commit 7d9cc2ac56
2 changed files with 50 additions and 1 deletions

View file

@ -14,6 +14,7 @@
"devDependencies": {
"@types/react": "16.9.17",
"@types/react-dom": "16.9.4",
"gh-pages": "2.1.1",
"husky": "3.1.0",
"lint-staged": "9.5.0",
"prettier": "1.19.1",
@ -23,7 +24,8 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
"eject": "react-scripts eject",
"deploy": "gh-pages -d docs"
},
"browserslist": [
">0.2%",