Skip to content

Commit

Permalink
Run Prettier on all files
Browse files Browse the repository at this point in the history
Also update npm scripts per new convention
  • Loading branch information
caleb531 committed Sep 1, 2024
1 parent d7e9c0e commit 5d11ac6
Show file tree
Hide file tree
Showing 9 changed files with 283 additions and 296 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: tests

on:
push:
branches: [ "*" ]
branches: ['*']
pull_request:
branches: [ "*" ]
branches: ['*']

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
.env
.env.*
!.env.example
/.aider*

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Flip Book

*Copyright 2018-2023 Caleb Evans*
*Released under the MIT license*
*For my friend and brother, Bill.*
_Copyright 2018-2023 Caleb Evans_
_Released under the MIT license_
_For my friend and brother, Bill._

[![tests](https://github.com/caleb531/flip-book/actions/workflows/tests.yml/badge.svg)](https://github.com/caleb531/flip-book/actions/workflows/tests.yml)

Expand Down
69 changes: 40 additions & 29 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,33 +1,44 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self' 'unsafe-inline' data: https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; script-src 'self' https://gc.zgo.at; img-src 'self' data: blob:; manifest-src 'self'; child-src 'self'; connect-src 'self' https://calebevans-projects.goatcounter.com/count;">
<meta name="apple-mobile-web-app-title" content="Flip Book" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#ffffff" />
<title>Flip Book | Animate your imagination | Caleb Evans</title>
<meta name="description" content="Create flip book-style animations to share with friends. Draw each scene, frame by frame, then export your story to a GIF when you're ready to show it off." />
<link rel="shortcut icon" href="favicon.png" />
<link rel="apple-touch-icon" href="app-icon-192.png" />
<script
data-goatcounter="https://calebevans-projects.goatcounter.com/count"
async
src="https://gc.zgo.at/count.v4.js"
crossorigin="anonymous"
integrity="sha384-nRw6qfbWyJha9LhsOtSb2YJDyZdKvvCFh0fJYlkquSFjUxp9FVNugbfy8q1jdxI+"
></script>
</head>
<body>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'none'; style-src 'self' 'unsafe-inline' data: https://fonts.googleapis.com; font-src 'self' data: https://fonts.gstatic.com; script-src 'self' https://gc.zgo.at; img-src 'self' data: blob:; manifest-src 'self'; child-src 'self'; connect-src 'self' https://calebevans-projects.goatcounter.com/count;"
/>
<meta name="apple-mobile-web-app-title" content="Flip Book" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="theme-color" content="#ffffff" />
<title>Flip Book | Animate your imagination | Caleb Evans</title>
<meta
name="description"
content="Create flip book-style animations to share with friends. Draw each scene, frame by frame, then export your story to a GIF when you're ready to show it off."
/>
<link rel="shortcut icon" href="favicon.png" />
<link rel="apple-touch-icon" href="app-icon-192.png" />
<script
data-goatcounter="https://calebevans-projects.goatcounter.com/count"
async
src="https://gc.zgo.at/count.v4.js"
crossorigin="anonymous"
integrity="sha384-nRw6qfbWyJha9LhsOtSb2YJDyZdKvvCFh0fJYlkquSFjUxp9FVNugbfy8q1jdxI+"
></script>
</head>
<body>
<noscript>
<h1>Flip Book</h1>
<p>
Please
<a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/"
>enable JavaScript</a
>
to use the app. <a href="https://calebevans.me/">View other projects by Caleb Evans</a>
</p>
</noscript>

<noscript>
<h1>Flip Book</h1>
<p>Please <a href="https://www.whatismybrowser.com/guides/how-to-enable-javascript/">enable JavaScript</a> to use the app. <a href="https://calebevans.me/">View other projects by Caleb Evans</a></p>
</noscript>
<main></main>

<main></main>

<script type="module" src="scripts/index.js"></script>
</body>
<script type="module" src="scripts/index.js"></script>
</body>
</html>
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint",
"eslint": "eslint .",
"lint": "prettier --write .",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
Expand Down
Loading

0 comments on commit 5d11ac6

Please sign in to comment.