npm run dist called "npm run build", but that script had been renamed to "build:sass" without updating the reference, so dist errored out before ever running scripts/build-dist.js. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
28 lines
944 B
JSON
28 lines
944 B
JSON
{
|
|
"name": "theoldfitz",
|
|
"version": "1.0.0",
|
|
"description": "The Old Fitz Public House website",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "concurrently --kill-others-on-fail \"npm:dev:php\" \"npm:dev:sass\" \"npm:dev:browser\"",
|
|
"dev:php": "php -S localhost:8000",
|
|
"dev:sass": "sass --watch --source-map src/scss/styles.scss:styles.css",
|
|
"dev:browser": "browser-sync start --proxy http://localhost:8000 --files \"*.php,admin/**/*.php,inc/**/*.php,main.js,styles.css\" --no-open",
|
|
"build:sass": "sass --no-source-map src/scss/styles.scss:styles.css",
|
|
"dist": "npm run build:sass && node scripts/build-dist.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.home.daviddyer.me/david/the-old-fitz.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"type": "commonjs",
|
|
"devDependencies": {
|
|
"browser-sync": "^3.0.4",
|
|
"concurrently": "^10.0.5",
|
|
"sass": "^1.103.1"
|
|
}
|
|
}
|