-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from nitin-ebi/eva-web-react
EVA-3594 React POC init commit
- Loading branch information
Showing
71 changed files
with
5,772 additions
and
25,544 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = { | ||
root: true, | ||
env: {browser: true, es2020: true}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:react-hooks/recommended', | ||
], | ||
ignorePatterns: ['dist', '.eslintrc.cjs'], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['react-refresh'], | ||
rules: { | ||
'react-refresh/only-export-components': [ | ||
'warn', | ||
{allowConstantExport: true}, | ||
], | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
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,2 +1,24 @@ | ||
dist | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
dist | ||
dist-ssr | ||
*.local | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
.DS_Store | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,18 +1,6 @@ | ||
# web-prototype | ||
|
||
Prototypes for new website components in React. | ||
|
||
## Build | ||
|
||
Uses [Node.js](https://nodejs.org/en/) version 16 and [npm](https://www.npmjs.com/) version 8. (You can use [nvm](https://github.com/nvm-sh/nvm) to install both and conveniently switch between node versions.) Then run the following as needed: | ||
|
||
```shell | ||
# Install dependencies | ||
npm install | ||
|
||
# Run development server with hot reloading | ||
npm start | ||
|
||
# Build development package | ||
npm run build | ||
``` | ||
## Local Development & Testing | ||
Run `npm run dev` for local development and testing. | ||
## Production Deployment | ||
Run `npm run build` for production deployment. | ||
###### | ||
The base path for application deployment can be updated in `vite.config.ts` |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"/> | ||
<link href="src/assets/logos/eva/eva_logo.png" rel="icon" type="image/svg+xml"/> | ||
<meta content="width=device-width, initial-scale=1.0" name="viewport"/> | ||
<title>European Variation Archive</title> | ||
<style> | ||
body {margin: 0} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script src="/src/index.tsx" type="module"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.