Local server set up

This commit is contained in:
F. Y. H. 2024-12-22 12:04:13 +01:00
parent 9dd9758874
commit 09933732de
Signed by: Alnotz
GPG key ID: BB5A7B6724BF531A
3 changed files with 40 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# Ignored files
node_modules/
package-lock.json

16
bs-config.json Normal file
View file

@ -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"
}
}

21
package.json Normal file
View file

@ -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"
}
}