Adding default files
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
node_modules/
|
||||
build/
|
||||
|
||||
@@ -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
1855
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
20
package.json
Normal file
20
package.json
Normal 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
9
src/index.dev.html
Normal 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
0
src/script.js
Normal file
0
src/styles.scss
Normal file
0
src/styles.scss
Normal file
Reference in New Issue
Block a user