mirror of
https://github.com/oceanprotocol/status
synced 2024-11-22 01:36:59 +01:00
package updates
* remove @zeit/next-css (built into Next.js now) * closes #12
This commit is contained in:
parent
dbb9bdff79
commit
673d0ad25a
@ -1,5 +1,3 @@
|
|||||||
const withCSS = require('@zeit/next-css')
|
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => {
|
const withSvgr = (nextConfig = {}, nextComposePlugins = {}) => {
|
||||||
return Object.assign({}, nextConfig, {
|
return Object.assign({}, nextConfig, {
|
||||||
@ -29,13 +27,4 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
|||||||
enabled: process.env.ANALYZE === 'true'
|
enabled: process.env.ANALYZE === 'true'
|
||||||
})
|
})
|
||||||
|
|
||||||
module.exports = withBundleAnalyzer(
|
module.exports = withBundleAnalyzer(withSvgr())
|
||||||
withSvgr(
|
|
||||||
withCSS({
|
|
||||||
cssModules: true,
|
|
||||||
cssLoaderOptions: {
|
|
||||||
localIdentName: '[local]___[hash:base64:5]'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
)
|
|
||||||
)
|
|
||||||
|
968
package-lock.json
generated
968
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
21
package.json
21
package.json
@ -17,36 +17,35 @@
|
|||||||
"@ethereum-navigator/atlas": "^0.5.1",
|
"@ethereum-navigator/atlas": "^0.5.1",
|
||||||
"@oceanprotocol/art": "^2.2.0",
|
"@oceanprotocol/art": "^2.2.0",
|
||||||
"@oceanprotocol/typographies": "^0.1.0",
|
"@oceanprotocol/typographies": "^0.1.0",
|
||||||
"@zeit/next-css": "^1.0.1",
|
"axios": "^0.19.2",
|
||||||
"axios": "^0.19.0",
|
|
||||||
"ethereumjs-units": "^0.2.0",
|
"ethereumjs-units": "^0.2.0",
|
||||||
"next": "^9.1.7",
|
"next": "^9.2.1",
|
||||||
"next-seo": "^3.2.0",
|
"next-seo": "^3.4.0",
|
||||||
"next-svgr": "^0.0.2",
|
"next-svgr": "^0.0.2",
|
||||||
"react": "^16.12.0",
|
"react": "^16.12.0",
|
||||||
"react-dom": "^16.12.0"
|
"react-dom": "^16.12.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@next/bundle-analyzer": "^9.1.7",
|
"@next/bundle-analyzer": "^9.2.1",
|
||||||
"@testing-library/jest-dom": "^5.0.1",
|
"@testing-library/jest-dom": "^5.0.1",
|
||||||
"@testing-library/react": "^9.4.0",
|
"@testing-library/react": "^9.4.0",
|
||||||
"@types/bn.js": "^4.11.6",
|
"@types/bn.js": "^4.11.6",
|
||||||
"@types/jest": "^25.1.0",
|
"@types/jest": "^25.1.0",
|
||||||
"@types/next-seo": "^1.10.0",
|
"@types/next-seo": "^1.10.0",
|
||||||
"@types/node": "^12.12.24",
|
"@types/node": "^12.12.25",
|
||||||
"@types/react": "^16.9.17",
|
"@types/react": "^16.9.19",
|
||||||
"@typescript-eslint/eslint-plugin": "^2.15.0",
|
"@typescript-eslint/eslint-plugin": "^2.18.0",
|
||||||
"@typescript-eslint/parser": "^2.15.0",
|
"@typescript-eslint/parser": "^2.18.0",
|
||||||
"cssnano": "^4.1.10",
|
"cssnano": "^4.1.10",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
"eslint-config-oceanprotocol": "^1.5.0",
|
"eslint-config-oceanprotocol": "^1.5.0",
|
||||||
"eslint-config-prettier": "^6.9.0",
|
"eslint-config-prettier": "^6.10.0",
|
||||||
"eslint-plugin-prettier": "^3.1.2",
|
"eslint-plugin-prettier": "^3.1.2",
|
||||||
"jest": "^24.9.0",
|
"jest": "^24.9.0",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^1.19.1",
|
||||||
"ts-jest": "^24.3.0",
|
"ts-jest": "^24.3.0",
|
||||||
"typescript": "^3.7.4",
|
"typescript": "^3.7.5",
|
||||||
"webpack": "^4.41.5"
|
"webpack": "^4.41.5"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
h1,
|
|
||||||
h2 {
|
|
||||||
color: var(--brand-white);
|
|
||||||
}
|
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-top: var(--spacer);
|
margin-top: var(--spacer);
|
||||||
@ -10,6 +5,7 @@ h2 {
|
|||||||
|
|
||||||
.header h1 {
|
.header h1 {
|
||||||
margin-bottom: calc(var(--spacer) / 2);
|
margin-bottom: calc(var(--spacer) / 2);
|
||||||
|
color: var(--brand-white);
|
||||||
}
|
}
|
||||||
|
|
||||||
.header p {
|
.header p {
|
||||||
@ -31,3 +27,7 @@ h2 {
|
|||||||
margin: calc(var(--spacer) * 2) auto;
|
margin: calc(var(--spacer) * 2) auto;
|
||||||
max-width: 80rem;
|
max-width: 80rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.networks h2 {
|
||||||
|
color: var(--brand-white);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user