Compare commits

...

6 Commits

Author SHA1 Message Date
Greg Shuflin 188abe2b93 Reorganize src files 2021-09-12 00:05:07 -07:00
Greg Shuflin 232bdd1718 gitignore 2021-09-11 23:49:20 -07:00
Greg Shuflin 69276b0477 Correct parcel scripts 2021-09-11 23:48:49 -07:00
Greg Shuflin e19abfc3e8 Fresh dependencies 2021-09-11 23:28:33 -07:00
Greg Shuflin 118a2857ce Fresh package.json 2021-09-11 23:18:46 -07:00
Greg Shuflin d026526e56 Start fixing build setup
Delete everything that seems stateful
2021-09-11 23:16:17 -07:00
11 changed files with 2764 additions and 153122 deletions

View File

@ -1,3 +0,0 @@
{
"presets": ["@babel/env", "@babel/react"]
}

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
dist/
node_modules/
.yarn/* .yarn/*
!.yarn/cache !.yarn/cache
!.yarn/patches !.yarn/patches

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,10 +5,10 @@
<title>Kucinako</title> <title>Kucinako</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset='utf-8' /> <meta charset='utf-8' />
<link rel="shortcut icon" href="/favicon.png" /> <link rel="shortcut icon" href="./favicon.png" />
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="./index.js"></script> <script type="module" src="./index.js"></script>
</body> </body>
</html> </html>

View File

@ -1,8 +1,6 @@
import React from "react"; import React from "react";
import ReactDOM from "react-dom"; import ReactDOM from "react-dom";
import App from "./App.jsx"; import App from "./src/App.jsx";
console.log("Starting..");
const root = document.getElementById("root"); const root = document.getElementById("root");
ReactDOM.render(<App />, root); ReactDOM.render(<App />, root);

View File

@ -1,26 +1,22 @@
{ {
"name": "gues-kucinako", "name": "kucinako",
"version": "1.0.0", "version": "0.1.0",
"main": "index.js", "description": "Dictionary for Arzhanai conlangs",
"author": "greg <greg.shuflin@protonmail.com>", "repository": "gitea@gitea.everydayimshuflin.com:greg/gues-kucinako.git",
"author": "Greg Shuflin <greg.shuflin@protonmail.com>",
"license": "MIT", "license": "MIT",
"private": true, "private": true,
"dependencies": { "scripts": {
"@babel/preset-react": "^7.14.5", "start": "parcel index.html",
"parcel": "^1.12.3", "build": "parcel build index.html"
"react": "^16.7.0",
"react-dom": "^16.7.0"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.0.0-0", "@parcel/transformer-image": "2.0.0-rc.0",
"@babel/preset-env": "^7.15.6", "@parcel/transformer-sass": "2.0.0-rc.0",
"@babel/preset-react": "^7.0.0", "parcel": "^2.0.0-rc.0"
"parcel-bundler": "^1.11.0",
"sass": "^1.16.1"
}, },
"scripts": { "dependencies": {
"dev": "parcel index.html", "react": "^17.0.2",
"build": "parcel build index.html", "react-dom": "^17.0.2"
"deploy": "sudo cp dist/* /srv/http-kucinako/ && sudo chown -R http:http /srv/http-kucinako"
} }
} }

7804
yarn.lock

File diff suppressed because it is too large Load Diff