docusaurus/packages/docusaurus-init/templates/facebook
Alexey Pyltsyn 175d9c3c8e
feat(v2): support/use React v17 by default (#4218)
* chore(v2): allow React v17 as peer dependency

* minor React 17 changes

* Revert examples

* Possible fix

* Use @docusaurus/react-loadable fork

* add back react-loadable to please eslint/ts/linters, even if it's unused in practice

* missing dependency bump

* move enzyme dependencies to docusaurus v1

Co-authored-by: slorber <lorber.sebastien@gmail.com>
2021-02-12 17:04:45 +01:00
..
blog feat(v2): blog slug frontmatter (#3284) 2020-08-20 14:59:54 +02:00
docs docs(v2): i18n doc + polish (#4014) 2021-01-19 17:26:31 +01:00
src docs(v2): i18n doc + polish (#4014) 2021-01-19 17:26:31 +01:00
static docs(v2): update FB OSS logo (#3881) 2020-12-28 11:38:07 +01:00
.eslintrc.js chore(v2): fix eslint TS setup (#2949) 2020-06-18 17:37:48 +08:00
.prettierignore feat(v2): add Prettier to Facebook template (#2156) 2019-12-29 20:36:41 +08:00
.prettierrc chore(v2): update Prettier config (#2542) 2020-04-05 23:51:47 +08:00
.stylelintrc.js fix(v2): improve stylelint copyright header rule (#2363) 2020-03-07 11:49:52 +08:00
babel.config.js feat(v2): Allow configuring babel via babel.config.js (#2903) 2020-06-12 11:03:00 +08:00
docusaurus.config.js feat(v2): improve templates, use JSDoc type annotation, improve docusaurus.config.js autocompletion (#4098) 2021-01-27 15:34:12 +01:00
gitignore fix(v2): add .eslintcache to Facebook template's gitignore 2020-02-29 11:20:58 +08:00
package.json feat(v2): support/use React v17 by default (#4218) 2021-02-12 17:04:45 +01:00
README.md feat(v2): add ESLint to Facebook template (#2155) 2019-12-29 16:39:28 +08:00
sidebars.js feat(v2): add ESLint to Facebook template (#2155) 2019-12-29 16:39:28 +08:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Continuous Integration

Some common defaults for linting/formatting have been set for you. If you integrate your project with an open source Continuous Integration system (e.g. Travis CI, CircleCI), you may check for issues using the following command.

$ yarn ci