Adding default files

This commit is contained in:
2025-04-01 09:12:30 -05:00
parent de01705e40
commit a97952af59
7 changed files with 1889 additions and 2 deletions

3
.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
node_modules/
build/

View File

@@ -5,8 +5,8 @@ services:
- ./:/App
- ./site:/App/build
stdin_open: true
tty: open
commnad: /bin/sh
tty: true
command: /bin/sh
httpd:
image: httpd:latest
volumes:

1855
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

20
package.json Normal file
View File

@@ -0,0 +1,20 @@
{
"name": "templator",
"version": "0.0.1",
"description": "This is a crude templating engine written in bash",
"main": "index.js",
"scripts": {
"style": "sass src/styles.scss styles.css",
"minify-js": "minify src/script.js > script.js",
"minify-style": "npx minify styles.css 2>/dev/null > styles.min.css;mv styles.min.css styles.css",
"minify": "npm run minify-js && npm run minify-style",
"build": "npm run style && npm run minify && bash ./compile.sh && bash ./cleanup_build.sh",
"compile": "npm run style && cp src/script.js script.js && bash ./compile.sh && bash ./cleanup_build.sh"
},
"author": "NinjaSurge",
"license": "MIT",
"dependencies": {
"minify": "^12.0.0",
"sass": "^1.82.0"
}
}

9
src/index.dev.html Normal file
View File

@@ -0,0 +1,9 @@
<!doctype html>
<html>
<head>
<style replaceMe></style>
</head>
<body>
<script replaceMe></script>
</body>
</html>

0
src/script.js Normal file
View File

0
src/styles.scss Normal file
View File