Output to build folder

This commit is contained in:
Tom Butcher 2025-06-01 22:00:34 +01:00
parent 4063c0c6fc
commit 11fad9f518
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -93,6 +93,9 @@ out
.nuxt .nuxt
dist dist
# build folders
build
# Gatsby files # Gatsby files
.cache/ .cache/
# Comment in the public line in if your project uses Gatsby and not Next.js # Comment in the public line in if your project uses Gatsby and not Next.js

View File

@ -5,10 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"type": "module", "type": "module",
"scripts": { "scripts": {
"start": "node dist/index.js", "start": "node build/index.js",
"dev": "nodemon src/index.js", "dev": "nodemon src/index.js",
"build": "rimraf dist && mkdir dist && cp -r src/* dist/ && cp package.json config.json dist/", "build": "rimraf build && mkdir build && cp -r src/* build/ && cp package.json config.json build/",
"clean": "rimraf dist" "clean": "rimraf build"
}, },
"author": "Tom Butcher", "author": "Tom Butcher",
"license": "ISC", "license": "ISC",