Adds new build process, moving npm assets to root so they load on new domain now

This commit is contained in:
Andrew Gioia 2020-07-16 14:59:03 -04:00
parent 069862b132
commit 4f97ba16a2
12 changed files with 314 additions and 12 deletions

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> <meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>Cheatsheet | Keyrune</title> <title>Cheatsheet | Keyrune</title>
<link rel="stylesheet" href="node_modules/keyrune/css/keyrune.min.css" /> <link rel="stylesheet" href="css/keyrune.min.css" />
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

1
css/keyrune.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> <meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>Examples | Keyrune</title> <title>Examples | Keyrune</title>
<link rel="stylesheet" href="node_modules/keyrune/css/keyrune.min.css" /> <link rel="stylesheet" href="css/keyrune.min.css" />
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

BIN
fonts/keyrune.eot Normal file

Binary file not shown.

296
fonts/keyrune.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 578 KiB

BIN
fonts/keyrune.ttf Normal file

Binary file not shown.

BIN
fonts/keyrune.woff Normal file

Binary file not shown.

BIN
fonts/keyrune.woff2 Normal file

Binary file not shown.

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> <meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>Set Symbol Icons | Keyrune</title> <title>Set Symbol Icons | Keyrune</title>
<link rel="stylesheet" href="node_modules/keyrune/css/keyrune.min.css" /> <link rel="stylesheet" href="css/keyrune.min.css" />
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
@ -1004,7 +1004,7 @@
</div> </div>
</div> </div>
<script type="text/javascript" src="node_modules/zepto/dist/zepto.min.js"></script> <script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript"> <script type="text/javascript">
$( function (e) { $( function (e) {

View File

@ -4,7 +4,7 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> <meta http-equiv="X-UA-Compatible" content="chrome=1" />
<title>Keyrune | Andrew Gioia</title> <title>Keyrune | Andrew Gioia</title>
<link rel="stylesheet" href="node_modules/keyrune/css/keyrune.min.css" /> <link rel="stylesheet" href="css/keyrune.min.css" />
<link rel="stylesheet" href="css/main.css" /> <link rel="stylesheet" href="css/main.css" />
<link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="icon" href="favicon.ico" type="image/x-icon" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />

2
js/zepto.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,10 @@
"devDependencies": {}, "devDependencies": {},
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/andrewgioia/Keyrune.git#gh-pages" "url": "git+https://github.com/andrewgioia/keyrune.git#gh-pages"
},
"scripts": {
"build": "npm install && cp node_modules/keyrune/css/keyrune.min.css css/ && cp node_modules/keyrune/fonts/* fonts/ && cp node_modules/zepto/dist/zepto.min.js js/"
}, },
"keywords": [ "keywords": [
"keyrune", "keyrune",
@ -22,7 +25,7 @@
"author": "Andrew Gioia <andrew@gioia.email>", "author": "Andrew Gioia <andrew@gioia.email>",
"license": "(OFL-1.1 OR GPL-3.0-only)", "license": "(OFL-1.1 OR GPL-3.0-only)",
"bugs": { "bugs": {
"url": "https://github.com/andrewgioia/Keyrune/issues" "url": "https://github.com/andrewgioia/keyrune/issues"
}, },
"homepage": "https://andrewgioia.github.io/Keyrune" "homepage": "https://andrewgioia.github.io/keyrune"
} }