Initial repo and devtools setup

This commit is contained in:
Dmitriy Shishkov 2021-09-04 01:45:00 +03:00
commit 2cd20b5dae
No known key found for this signature in database
GPG Key ID: 14358F96FCDD8060
6 changed files with 67 additions and 0 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
pnpm-lock.yaml
node_modules/
dist/

11
README.md Normal file
View File

@ -0,0 +1,11 @@
# roomruler
<p align="center">
<img src="https://github.com/dm1sh/roomruler/raw/main/logo.svg" alt="roomruler logo" width="150px">
</p>
## Overview
Web application for distribution of free classrooms
## Deploy

13
index.html Normal file
View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>roomruler</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>

21
package.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "roomruler",
"version": "1.0.0",
"description": "Web application for distribution of free classrooms",
"scripts": {
"dev": "vite",
"build": "vite build"
},
"author": "dm1sh",
"license": "MIT",
"devDependencies": {
"@types/react-dom": "^17.0.9",
"typescript": "^4.4.2",
"vite": "^2.5.3"
},
"dependencies": {
"@material-ui/core": "^4.12.3",
"react": "^17.0.2",
"react-dom": "^17.0.2"
}
}

12
tsconfig.json Normal file
View File

@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es6",
"module": "ESNext",
"jsx": "react-jsx",
"esModuleInterop": true,
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true
}
}

7
vite.config.js Normal file
View File

@ -0,0 +1,7 @@
import { defineConfig } from "vite";
export default defineConfig({
esbuild: {
jsxInject: `import React from "react"`,
},
});