Skip to content

Commit

Permalink
Add one build file into git
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanWYL committed Aug 6, 2022
1 parent 9d74a0d commit 5674130
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist/
dist/*
!dist/handwritingfy.script.iife.js
node_modules/
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ TODO:
# Credit

This chrome extension is inspred by [this repository](https://github.com/timqian/chart.xkcd). Credit to the author @timqian.

# Other topics

## How to publish a javascaript module
5 changes: 5 additions & 0 deletions dist/handwritingfy.script.iife.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion test-script.html → example/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ <h1 style="text-align: center">The effect of handwritingfy</h1>
margin: 0 auto;
"
>
<div style="width: 100%">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
<svg width="240" height="180">
<rect
x="50"
Expand Down Expand Up @@ -58,6 +69,6 @@ <h1 style="text-align: center">The effect of handwritingfy</h1>
Sorry, your browser does not support inline SVG.
</svg>
</div>
<script src="dist/handwritingfy.script.iife.js"></script>
<script src="../dist/handwritingfy.script.iife.js"></script>
</body>
</html>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "handwritingfy",
"version": "1.0.0",
"version": "1.0.1",
"author": "Tristan",
"license": "MIT",
"description": "A simple tool to make webpages seem handwritten!",
Expand Down Expand Up @@ -28,4 +28,4 @@
"vite": "^3.0.0"
},
"dependencies": {}
}
}

0 comments on commit 5674130

Please sign in to comment.