1
Fork 0
mirror of https://github.com/Steffo99/unisteffo.git synced 2025-02-16 15:53:58 +00:00

initial commit from Preact CLI

This commit is contained in:
Preact CLI 2019-11-07 11:22:09 +01:00 committed by Stefano Pigozzi
commit 1c2d2451f7
8 changed files with 8212 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
node_modules
/build
/*.log

BIN
assets/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
assets/icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

16
manifest.json Normal file
View file

@ -0,0 +1,16 @@
{
"name": "appuntiweb",
"short_name": "appuntiweb",
"start_url": "/",
"display": "standalone",
"orientation": "portrait",
"background_color": "#fff",
"theme_color": "#673ab8",
"icons": [
{
"src": "/assets/icon.png",
"type": "image/png",
"sizes": "512x512"
}
]
}

30
package.json Normal file
View file

@ -0,0 +1,30 @@
{
"private": true,
"name": "appuntiweb",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
"build": "preact build",
"serve": "preact build && preact serve",
"dev": "preact watch",
"lint": "eslint src"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*"
],
"devDependencies": {
"eslint": "^4.5.0",
"eslint-config-synacor": "^1.1.0",
"if-env": "^1.0.0",
"preact-cli": "^2.0.0"
},
"dependencies": {
"preact": "^8.5.2",
"preact-compat": "^3.17.0",
"preact-render-to-string": "^4.1.0"
}
}

12
src/index.js Normal file
View file

@ -0,0 +1,12 @@
import './style';
import { Component } from 'preact';
export default class App extends Component {
render() {
return (
<div>
<h1>Hello, World!</h1>
</div>
);
}
}

8
src/style.css Normal file
View file

@ -0,0 +1,8 @@
html, body {
font: 14px/1.21 'Helvetica Neue', arial, sans-serif;
font-weight: 400;
}
h1 {
text-align: center;
}

8143
yarn.lock Normal file

File diff suppressed because it is too large Load diff