Loads of stuff, check roadmap changes in the README :P
This commit is contained in:
parent
e1fca030bc
commit
68ae33e78a
15 changed files with 17179 additions and 10 deletions
9
webapp/.editorconfig
Normal file
9
webapp/.editorconfig
Normal file
|
@ -0,0 +1,9 @@
|
|||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 2
|
1
webapp/.nvmrc
Normal file
1
webapp/.nvmrc
Normal file
|
@ -0,0 +1 @@
|
|||
v16.9.1
|
7
webapp/fix-index-hash.sh
Executable file
7
webapp/fix-index-hash.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
outputDir="../server/web/static"
|
||||
|
||||
mv $outputDir/index.*.js $outputDir/index.js
|
||||
mv $outputDir/index.*.js.map $outputDir/index.js.map
|
||||
sed -i -E "s/index.\w+.js/index.js/" $outputDir/index.html
|
17055
webapp/package-lock.json
generated
Normal file
17055
webapp/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
18
webapp/package.json
Normal file
18
webapp/package.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "craban",
|
||||
"version": "0.1.0",
|
||||
"description": "",
|
||||
"scripts": {
|
||||
"dev": "parcel src/index.html",
|
||||
"build": "parcel build src/index.html --dist-dir ../server/web/static/ --no-cache",
|
||||
"watch": "parcel watch src/index.html --dist-dir ../server/web/static/ --no-cache"
|
||||
},
|
||||
"author": "Miguel de la Cruz <miguel@mcrx.me>",
|
||||
"devDependencies": {
|
||||
"parcel": "^2.0.0-rc.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^17.0.2",
|
||||
"react-dom": "^17.0.2"
|
||||
}
|
||||
}
|
12
webapp/src/index.html
Normal file
12
webapp/src/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
<title>Craban</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="index.js"></script>
|
||||
</body>
|
||||
</html>
|
7
webapp/src/index.js
Normal file
7
webapp/src/index.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
import ReactDOM from 'react-dom'
|
||||
|
||||
const App = () => {
|
||||
return <h1>Hello Craban!!</h1>
|
||||
}
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('app'))
|
Loading…
Add table
Add a link
Reference in a new issue