mirror of
https://github.com/kremalicious/blog.git
synced 2024-12-23 01:30:01 +01:00
package updates
This commit is contained in:
parent
ba42cc2635
commit
06ea9bd8d1
@ -121,12 +121,6 @@ exports.onPostBuild = async ({ graphql }) => {
|
|||||||
// https://github.com/ethereum/web3.js/issues/1105#issuecomment-446039296
|
// https://github.com/ethereum/web3.js/issues/1105#issuecomment-446039296
|
||||||
exports.onCreateWebpackConfig = ({ actions }) => {
|
exports.onCreateWebpackConfig = ({ actions }) => {
|
||||||
actions.setWebpackConfig({
|
actions.setWebpackConfig({
|
||||||
resolve: {
|
|
||||||
alias: {
|
|
||||||
// replace native `scrypt` module with pure js `js-scrypt`
|
|
||||||
scrypt: 'js-scrypt'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
plugins: [
|
plugins: [
|
||||||
// ignore these plugins completely
|
// ignore these plugins completely
|
||||||
new webpack.IgnorePlugin(/^(?:electron|ws)$/)
|
new webpack.IgnorePlugin(/^(?:electron|ws)$/)
|
||||||
|
45
package.json
45
package.json
@ -35,43 +35,42 @@
|
|||||||
"dms2dec": "^1.1.0",
|
"dms2dec": "^1.1.0",
|
||||||
"fast-exif": "^1.0.1",
|
"fast-exif": "^1.0.1",
|
||||||
"fraction.js": "^4.0.12",
|
"fraction.js": "^4.0.12",
|
||||||
"gatsby": "^2.17.9",
|
"gatsby": "^2.17.15",
|
||||||
"gatsby-image": "^2.2.30",
|
"gatsby-image": "^2.2.33",
|
||||||
"gatsby-plugin-catch-links": "^2.1.15",
|
"gatsby-plugin-catch-links": "^2.1.17",
|
||||||
"gatsby-plugin-feed": "^2.3.19",
|
"gatsby-plugin-feed": "^2.3.21",
|
||||||
"gatsby-plugin-lunr": "^1.5.2",
|
"gatsby-plugin-lunr": "^1.5.2",
|
||||||
"gatsby-plugin-manifest": "^2.2.26",
|
"gatsby-plugin-manifest": "^2.2.28",
|
||||||
"gatsby-plugin-matomo": "^0.7.2",
|
"gatsby-plugin-matomo": "^0.7.2",
|
||||||
"gatsby-plugin-meta-redirect": "^1.1.1",
|
"gatsby-plugin-meta-redirect": "^1.1.1",
|
||||||
"gatsby-plugin-offline": "^3.0.18",
|
"gatsby-plugin-offline": "^3.0.21",
|
||||||
"gatsby-plugin-react-helmet": "^3.1.13",
|
"gatsby-plugin-react-helmet": "^3.1.15",
|
||||||
"gatsby-plugin-sass": "^2.1.20",
|
"gatsby-plugin-sass": "^2.1.23",
|
||||||
"gatsby-plugin-sharp": "^2.2.36",
|
"gatsby-plugin-sharp": "^2.3.0",
|
||||||
"gatsby-plugin-sitemap": "^2.2.19",
|
"gatsby-plugin-sitemap": "^2.2.21",
|
||||||
"gatsby-plugin-svgr": "^2.0.2",
|
"gatsby-plugin-svgr": "^2.0.2",
|
||||||
"gatsby-plugin-typescript": "^2.1.15",
|
"gatsby-plugin-typescript": "^2.1.18",
|
||||||
"gatsby-plugin-use-dark-mode": "^1.1.2",
|
"gatsby-plugin-use-dark-mode": "^1.1.2",
|
||||||
"gatsby-plugin-webpack-size": "^1.0.0",
|
"gatsby-plugin-webpack-size": "^1.0.0",
|
||||||
"gatsby-redirect-from": "^0.2.1",
|
"gatsby-redirect-from": "^0.2.1",
|
||||||
"gatsby-remark-autolink-headers": "^2.1.16",
|
"gatsby-remark-autolink-headers": "^2.1.18",
|
||||||
"gatsby-remark-copy-linked-files": "^2.1.28",
|
"gatsby-remark-copy-linked-files": "^2.1.30",
|
||||||
"gatsby-remark-images": "^3.1.29",
|
"gatsby-remark-images": "^3.1.31",
|
||||||
"gatsby-remark-smartypants": "^2.1.14",
|
"gatsby-remark-smartypants": "^2.1.16",
|
||||||
"gatsby-remark-vscode": "^1.3.0",
|
"gatsby-remark-vscode": "^1.3.0",
|
||||||
"gatsby-source-filesystem": "^2.1.35",
|
"gatsby-source-filesystem": "^2.1.37",
|
||||||
"gatsby-source-graphql": "^2.1.21",
|
"gatsby-source-graphql": "^2.1.23",
|
||||||
"gatsby-transformer-remark": "^2.6.32",
|
"gatsby-transformer-remark": "^2.6.35",
|
||||||
"gatsby-transformer-sharp": "^2.3.2",
|
"gatsby-transformer-sharp": "^2.3.5",
|
||||||
"graphql": "^14.5.8",
|
"graphql": "^14.5.8",
|
||||||
"intersection-observer": "^0.7.0",
|
"intersection-observer": "^0.7.0",
|
||||||
"js-scrypt": "^0.2.0",
|
|
||||||
"load-script": "^1.0.0",
|
"load-script": "^1.0.0",
|
||||||
"pigeon-maps": "^0.14.0",
|
"pigeon-maps": "^0.14.0",
|
||||||
"pigeon-marker": "^0.3.4",
|
"pigeon-marker": "^0.3.4",
|
||||||
"react": "^16.11.0",
|
"react": "^16.12.0",
|
||||||
"react-blockies": "^1.4.1",
|
"react-blockies": "^1.4.1",
|
||||||
"react-clipboard.js": "^2.0.13",
|
"react-clipboard.js": "^2.0.13",
|
||||||
"react-dom": "^16.11.0",
|
"react-dom": "^16.12.0",
|
||||||
"react-helmet": "^5.2.1",
|
"react-helmet": "^5.2.1",
|
||||||
"react-modal": "^3.11.1",
|
"react-modal": "^3.11.1",
|
||||||
"react-pose": "^4.0.9",
|
"react-pose": "^4.0.9",
|
||||||
@ -93,7 +92,7 @@
|
|||||||
"@types/classnames": "^2.2.9",
|
"@types/classnames": "^2.2.9",
|
||||||
"@types/jest": "^24.0.21",
|
"@types/jest": "^24.0.21",
|
||||||
"@types/lunr": "^2.3.2",
|
"@types/lunr": "^2.3.2",
|
||||||
"@types/node": "^12.12.7",
|
"@types/node": "^12.12.8",
|
||||||
"@types/react": "^16.9.11",
|
"@types/react": "^16.9.11",
|
||||||
"@types/react-dom": "^16.9.3",
|
"@types/react-dom": "^16.9.3",
|
||||||
"@types/react-helmet": "^5.0.14",
|
"@types/react-helmet": "^5.0.14",
|
||||||
|
@ -25,7 +25,7 @@ export default function Menu() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<html className={menuOpen ? 'has-menu-open' : null} lang="en" />
|
<html className={menuOpen ? 'has-menu-open' : undefined} lang="en" />
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<Hamburger onClick={toggleMenu} />
|
<Hamburger onClick={toggleMenu} />
|
||||||
<nav className={styles.menu}>
|
<nav className={styles.menu}>
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"outDir": "./dist/",
|
"outDir": "./dist/",
|
||||||
"sourceMap": true,
|
|
||||||
"noImplicitAny": true,
|
|
||||||
"module": "commonjs",
|
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"jsx": "react",
|
"module": "commonjs",
|
||||||
"lib": ["dom", "esnext"],
|
"lib": ["dom", "esnext"],
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"resolveJsonModule": true
|
"resolveJsonModule": true,
|
||||||
|
"jsx": "react",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"allowSyntheticDefaultImports": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"noImplicitAny": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "public", ".cache", "*.js"],
|
"exclude": ["node_modules", "public", ".cache", "*.js"],
|
||||||
"include": ["./src/**/*", "./jest/**/*"]
|
"include": ["./src/**/*", "./jest/**/*"]
|
||||||
|
Loading…
Reference in New Issue
Block a user