-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
112 changed files
with
10,520 additions
and
10,132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
"prettier", | ||
"plugin:prettier/recommended" | ||
], | ||
ignorePatterns: ['dist', '.eslintrc.cjs'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['react-refresh', "prettier"], | ||
rules: { | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
"@typescript-eslint/no-unused-vars": ["warn"], | ||
"react/no-unused-prop-types": "off", | ||
"eslintreact/require-default-props": "off", | ||
"react/destructuring-assignment": "off", | ||
"react/require-default-props": "off", | ||
"import/prefer-default-export": "off", | ||
"prettier/prettier": ["warn", { | ||
"endOfLine": "auto" | ||
}] | ||
}, | ||
} | ||
module.exports = { | ||
root: true, | ||
env: { browser: true, es2020: true }, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
"prettier", | ||
"plugin:prettier/recommended" | ||
], | ||
ignorePatterns: ['dist', '.eslintrc.cjs'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['react-refresh', "prettier"], | ||
rules: { | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{ allowConstantExport: true }, | ||
], | ||
"@typescript-eslint/no-unused-vars": ["warn"], | ||
"react/no-unused-prop-types": "off", | ||
"eslintreact/require-default-props": "off", | ||
"react/destructuring-assignment": "off", | ||
"react/require-default-props": "off", | ||
"import/prefer-default-export": "off", | ||
"prettier/prettier": ["warn", { | ||
"endOfLine": "auto" | ||
}] | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"semi": true, | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"endOfLine": "auto", | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"bracketSameLine": false, | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"jsxSingleQuote": true | ||
} | ||
{ | ||
"semi": true, | ||
"trailingComma": "es5", | ||
"singleQuote": true, | ||
"useTabs": false, | ||
"endOfLine": "auto", | ||
"printWidth": 100, | ||
"tabWidth": 2, | ||
"bracketSameLine": false, | ||
"bracketSpacing": true, | ||
"arrowParens": "always", | ||
"jsxSingleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
## Install dependencies | ||
> yarn install | ||
## Start local server | ||
> yarn run dev | ||
## Build the production ready code to the /dist folder | ||
> yarn run build | ||
## Build Automatically | ||
All environment variables must be registered as a secret on GitHub ```ENV_VARIABLES``` for correct automatic building of the project. | ||
|
||
## Build Locally | ||
1. Create file ```.env``` in the root of the project and set all environment variables in it. | ||
2. The ```yarn run build``` command will build the project into the ```dist``` folder. | ||
4. The ```yarn run dev``` command will run the project on the local server in development mode. | ||
|
||
## ESlint check | ||
> yarn lint | ||
## ESlint fix | ||
> yarn lint:fix | ||
## Formatting check | ||
> yarn format | ||
## Formatting fix | ||
## Install dependencies | ||
> yarn install | ||
## Start local server | ||
> yarn run dev | ||
## Build the production ready code to the /dist folder | ||
> yarn run build | ||
## Build Automatically | ||
All environment variables must be registered as a secret on GitHub ```ENV_VARIABLES``` for correct automatic building of the project. | ||
|
||
## Build Locally | ||
1. Create file ```.env``` in the root of the project and set all environment variables in it. | ||
2. The ```yarn run build``` command will build the project into the ```dist``` folder. | ||
4. The ```yarn run dev``` command will run the project on the local server in development mode. | ||
|
||
## ESlint check | ||
> yarn lint | ||
## ESlint fix | ||
> yarn lint:fix | ||
## Formatting check | ||
> yarn format | ||
## Formatting fix | ||
> yarn format:fix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&family=Roboto&display=swap" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>ProfitPals</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600&family=Roboto&display=swap" rel="stylesheet"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>ProfitPals</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
{ | ||
"name": "profit-pals", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "tsc && vite build", | ||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"lint:fix": "eslint --fix ./src", | ||
"preview": "vite preview", | ||
"format:fix": "prettier --write ./src", | ||
"format": "npx prettier src --check" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"@rainbow-me/rainbowkit": "^1.1.1", | ||
"@vitejs/plugin-react-refresh": "^1.3.6", | ||
"axios": "^1.5.1", | ||
"classnames": "^2.3.2", | ||
"localforage": "^1.10.0", | ||
"match-sorter": "^6.3.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.16.0", | ||
"react-transition-group": "^4.4.5", | ||
"sort-by": "^1.2.0", | ||
"viem": "^1.15.4", | ||
"wagmi": "^1.4.3" | ||
}, | ||
"devDependencies": { | ||
"@types/babel__core": "^7.20.2", | ||
"@types/react": "^18.2.15", | ||
"@types/react-dom": "^18.2.7", | ||
"@types/react-transition-group": "^4.4.7", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"@vitejs/plugin-react": "^4.0.3", | ||
"eslint": "^8.45.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.3", | ||
"lint-staged": "^14.0.1", | ||
"prettier": "^3.0.3", | ||
"prettier-eslint": "^15.0.1", | ||
"sass": "^1.69.1", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.4.5" | ||
} | ||
} | ||
{ | ||
"name": "profit-pals", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "tsc && vite build", | ||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"lint:fix": "eslint --fix ./src", | ||
"preview": "vite preview", | ||
"format:fix": "prettier --write ./src", | ||
"format": "npx prettier src --check" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"dependencies": { | ||
"@rainbow-me/rainbowkit": "^1.1.1", | ||
"@vitejs/plugin-react-refresh": "^1.3.6", | ||
"axios": "^1.5.1", | ||
"classnames": "^2.3.2", | ||
"localforage": "^1.10.0", | ||
"match-sorter": "^6.3.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"react-router-dom": "^6.16.0", | ||
"react-transition-group": "^4.4.5", | ||
"sort-by": "^1.2.0", | ||
"viem": "^1.15.4", | ||
"wagmi": "^1.4.3" | ||
}, | ||
"devDependencies": { | ||
"@types/babel__core": "^7.20.2", | ||
"@types/react": "^18.2.15", | ||
"@types/react-dom": "^18.2.7", | ||
"@types/react-transition-group": "^4.4.7", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
"@typescript-eslint/parser": "^6.0.0", | ||
"@vitejs/plugin-react": "^4.0.3", | ||
"eslint": "^8.45.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-react-refresh": "^0.4.3", | ||
"lint-staged": "^14.0.1", | ||
"prettier": "^3.0.3", | ||
"prettier-eslint": "^15.0.1", | ||
"sass": "^1.69.1", | ||
"typescript": "^5.0.2", | ||
"vite": "^4.4.5" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/* /index.html 200 | ||
/* /index.html 200 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.