Skip to content

Commit

Permalink
update babel
Browse files Browse the repository at this point in the history
  • Loading branch information
JugglerX committed Mar 9, 2021
1 parent 3f992f6 commit 44f81b2
Show file tree
Hide file tree
Showing 5 changed files with 411 additions and 20,761 deletions.
21 changes: 21 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"presets": [
"@babel/preset-react",
[
"@babel/env",
{
"targets": {
"edge": "17",
"firefox": "60",
"chrome": "67",
"safari": "11.1"
},
"useBuiltIns": "usage",
"corejs": "3.6.5"
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties"
]
}
6 changes: 4 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"extends": [
"airbnb"
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"@babel",
"react",
"jsx-a11y",
"import"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Serif is a beautiful small business theme for Gatsby. It contains content types

## Theme features

- Gatsby v3
- Multi-page theme (not just a blog) that uses Markdown for multiple content-types/templates. It uses `gatsby-transformer-remark` and has several examples of querying and filtering `allMarkdownRemark`
- Includes a graphql query in `gatsby-node.js` that creates pages and templates by content type based on the folder `src/pages/services`, `src/pages/team`,
- Services (Markdown)
Expand All @@ -22,12 +23,11 @@ Serif is a beautiful small business theme for Gatsby. It contains content types
- Robust example content included
- Royalty free illustrations included
- SEO Titles & Meta using `gatsby-plugin-react-helmet`
- ESLint (google config)
- Prettier code styling
- ESLint

## Deployment

Gatsby and Node SCSS requires node v10 or higher
gatsby 3 and node-sass 5 requires node v12 or higher

```
npm install
Expand Down
Loading

0 comments on commit 44f81b2

Please sign in to comment.