Move back to npm-run-all as concurrently throws errors

This commit is contained in:
Ole Eskild Steensen 2023-05-26 10:56:41 +02:00
parent 181c7ea609
commit b216452d7a
2 changed files with 917 additions and 297 deletions

1206
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,13 +4,13 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "concurrently npm:get-theme npm:build:sass --parallel npm:watch:*", "start": "npm-run-all get-theme build:sass --parallel watch:*",
"watch:sass": "sass --watch src/site/styles:dist/styles", "watch:sass": "sass --watch src/site/styles:dist/styles",
"watch:eleventy": "cross-env ELEVENTY_ENV=dev eleventy --serve", "watch:eleventy": "cross-env ELEVENTY_ENV=dev eleventy --serve",
"build:eleventy": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy", "build:eleventy": "cross-env ELEVENTY_ENV=prod NODE_OPTIONS=--max-old-space-size=4096 eleventy",
"build:sass": "sass src/site/styles:dist/styles --style compressed", "build:sass": "sass src/site/styles:dist/styles --style compressed",
"get-theme": "node src/site/get-theme.js", "get-theme": "node src/site/get-theme.js",
"build": "concurrently npm:get-theme npm:build:*" "build": "npm-run-all get-theme build:*"
}, },
"keywords": [], "keywords": [],
"author": "", "author": "",
@ -21,7 +21,6 @@
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"node-html-parser": "^6.1.4", "node-html-parser": "^6.1.4",
"concurrently": "^8.0.1",
"sass": "^1.49.9" "sass": "^1.49.9"
}, },
"dependencies": { "dependencies": {
@ -41,6 +40,7 @@
"markdown-it-mark": "^3.0.1", "markdown-it-mark": "^3.0.1",
"markdown-it-mathjax3": "^4.3.1", "markdown-it-mathjax3": "^4.3.1",
"markdown-it-plantuml": "^1.4.1", "markdown-it-plantuml": "^1.4.1",
"markdown-it-task-checkbox": "^1.0.6" "markdown-it-task-checkbox": "^1.0.6",
"npm-run-all": "^4.1.5"
} }
} }