📦 refactor: package, static, editorconfig

This commit is contained in:
Paul 2022-06-06 12:42:38 +03:00
parent fca655ecc3
commit 3664cd2a9b
8 changed files with 19 additions and 7 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View File

@ -15,16 +15,16 @@
"node": ">=14.17.0"
},
"dependencies": {
"electron-store": "^8.0.1",
"react": "^18.1.0",
"react-dom": "^18.1.0"
"electron-store": "^8.0.1"
},
"devDependencies": {
"@types/react": "^18.0.11",
"@types/react": "^18.0.12",
"@types/react-dom": "^18.0.5",
"@vitejs/plugin-react": "^1.3.2",
"electron": "^19.0.3",
"electron-builder": "^23.0.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"sass": "^1.52.2",
"typescript": "^4.7.3",
"vite": "^2.9.9",

View File

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,7 +1,7 @@
import { useState } from 'react'
import electron from './assets/electron.png'
import react from './assets/react.svg'
import vite from './assets/vite.svg'
import electron from '/electron.png'
import react from '/react.svg'
import vite from '/vite.svg'
import styles from './styles/app.module.scss'
const App = () => {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB