Restructured toolchain to its own workspace

This commit is contained in:
2024-01-28 20:34:07 +01:00
parent d333ed98af
commit 502946376f
23 changed files with 312 additions and 196 deletions

View File

@@ -1,17 +1,21 @@
{
"name": "blog",
"version": "1.0.0",
"description": "",
"description": "A static blog generator",
"type": "module",
"main": "index.js",
"scripts": {
"dev": "concurrently --kill-others -n Build,Serve -c auto \"npm run watch-build\" \"npm run serve\"",
"watch-build": "nodemon --watch notes --watch build.js --watch markdown.js --watch templates -e js,md,html,css build.js",
"build": "node build.js",
"init": "npm install -g firebase-tools && firebase login",
"serve": "serve .dist"
"watch-build": "nodemon --watch notes --watch src --watch markdown.ts --exec \"npm run build && npm run generate-blog\"",
"build": "tsc -p tsconfig.json",
"serve": "serve dist",
"generate-blog": "node bin/index.js",
"initialize-firebase": "npm install -g firebase-tools && firebase login"
},
"author": "",
"workspaces": [
"packages/@zblog/toolchain"
],
"author": "Wholteza (Zackarias Montell)",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.11.5",