Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
chore: switched from CRA to vite
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanaelhoun committed Sep 5, 2022
1 parent fac6985 commit 97a94bb
Show file tree
Hide file tree
Showing 11 changed files with 8,021 additions and 31,237 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
env:
browser: true
parserOptions:
ecmaVersion: 2015
ecmaVersion: 2016
sourceType: module
extends:
- react-app
- "react-app"
- "eslint:recommended"
- "plugin:react/recommended"
plugins:
- react
- import
settings:
react:
version: detect
rules:
no-constant-condition: warn
array-bracket-newline: warn
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/coverage

# production
/build
/dist

# misc
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.json
public/
build/
dist/
node_modules/
*.md
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Trouver un créneau de rendez-vous pour se voir entre étudiants de l'Université de Franche-Comté."
/>
<title>EDT-UFC OnSeVoitQuand?</title>
</head>

<body>
<noscript>Vous avez besoin d'activer JavaScript pour utiliser cette application</noscript>

<div id="app"></div>

<script type="module" src="/src/index.jsx"></script>
</body>
</html>
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,8 @@
to = "https://sedna.univ-fcomte.fr/jsp/custom/ufc/:splat"
status = 200
force = true # COMMENT: ensure that we always redirect

[build]
base = "/"
publish = "dist/"
command = "npm run build"
Loading

0 comments on commit 97a94bb

Please sign in to comment.