mirror of
https://github.com/fullstack-cash/explorer.fullstack.cash.git
synced 2026-09-21 16:52:05 -07:00
Merge pull request #3 from Permissionless-Software-Foundation/ct-unstable
Standard linting rules and scripts added.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"extends": "standard",
|
||||
"env": {
|
||||
"node": true,
|
||||
"mocha": true
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 10
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,5 +6,5 @@
|
||||
|
||||
module.exports = {
|
||||
/* Your site config here */
|
||||
plugins: ["gatsby-ipfs-web-wallet"],
|
||||
plugins: ['gatsby-ipfs-web-wallet']
|
||||
}
|
||||
|
||||
Generated
+17218
-30
File diff suppressed because it is too large
Load Diff
+4
-3
@@ -6,11 +6,11 @@
|
||||
"scripts": {
|
||||
"build": "gatsby build",
|
||||
"develop": "gatsby develop",
|
||||
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
|
||||
"lint": "standard --env mocha --fix",
|
||||
"start": "npm run develop",
|
||||
"serve": "gatsby serve",
|
||||
"clean": "gatsby clean",
|
||||
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
|
||||
"test": "npm run lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"gatsby": "^2.23.7",
|
||||
@@ -24,7 +24,8 @@
|
||||
"url": "https://github.com/Permissionless-Software-Foundation/bch-wallet-starter/issues"
|
||||
},
|
||||
"devDependencies": {
|
||||
"semantic-release": "^17.1.1"
|
||||
"semantic-release": "^17.1.1",
|
||||
"standard": "^14.3.4"
|
||||
},
|
||||
"release": {
|
||||
"publish": [
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
This file is how you add new menu items to your site. It uses the Gatsby
|
||||
concept of Component Shadowing:
|
||||
https://www.gatsbyjs.org/blog/2019-04-29-component-shadowing/
|
||||
|
||||
It over-rides he default file in the gatsby-ipfs-web-wallet Theme.
|
||||
*/
|
||||
|
||||
import React from 'react'
|
||||
import { Sidebar } from 'adminlte-2-react'
|
||||
|
||||
const { Item } = Sidebar
|
||||
|
||||
const MenuComponents = [
|
||||
{
|
||||
key: 'New Component',
|
||||
component: <div>Test!</div>,
|
||||
menuItem: <Item icon='fas-cog' key='New Component' text='New Component' />
|
||||
}
|
||||
]
|
||||
|
||||
export default MenuComponents
|
||||
@@ -1,14 +0,0 @@
|
||||
import React from "react"
|
||||
import { Sidebar } from "adminlte-2-react"
|
||||
|
||||
const { Item } = Sidebar
|
||||
|
||||
const MenuComponents = [
|
||||
{
|
||||
key: "New Component",
|
||||
component: <div>Test!</div>,
|
||||
menuItem: <Item icon="fas-cog" key="New Component" text="New Component" />,
|
||||
},
|
||||
]
|
||||
|
||||
export default MenuComponents
|
||||
Reference in New Issue
Block a user