From 09933732de99090dcc4f3a0113c2bf07eabc7fbb Mon Sep 17 00:00:00 2001 From: Alnotz Date: Sun, 22 Dec 2024 12:04:13 +0100 Subject: [PATCH] Local server set up --- .gitignore | 3 +++ bs-config.json | 16 ++++++++++++++++ package.json | 21 +++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 bs-config.json create mode 100644 package.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..492abf7 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Ignored files +node_modules/ +package-lock.json diff --git a/bs-config.json b/bs-config.json new file mode 100644 index 0000000..2e346b2 --- /dev/null +++ b/bs-config.json @@ -0,0 +1,16 @@ +{ + "listen": "localhost", + "port": 3000, + "files": [ + "./index.html", + "./*.{css,js,ogg}", + "./images/*.png", + "./toons/*.png", + "./font/*.{eot,svg,ttf,woff}" + ], + "startPath": "index.html", + "server": { + "baseDir": "./", + "index": "/index.html" + } +} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..0f01e25 --- /dev/null +++ b/package.json @@ -0,0 +1,21 @@ +{ + "name": "bd-chapril", + "version": "1.1.0", + "description": "BD service of Chapril", + "scripts": { + "serve": "lite-server ./index.html", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://git.gnous.eu/Alnotz/bd-chapril.git" + }, + "keywords": [ + "BD" + ], + "author": "Alnotz", + "license": "GPL-3.0-only", + "devDependencies": { + "lite-server": "^2.6.1" + } +}