diff --git a/.gitignore b/.gitignore index 34f0002..544c3cb 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,9 @@ out .nuxt dist +# build folders +build + # Gatsby files .cache/ # Comment in the public line in if your project uses Gatsby and not Next.js diff --git a/package.json b/package.json index 32d4a8b..3d3b2f0 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "main": "src/index.js", "type": "module", "scripts": { - "start": "node dist/index.js", + "start": "node build/index.js", "dev": "nodemon src/index.js", - "build": "rimraf dist && mkdir dist && cp -r src/* dist/ && cp package.json config.json dist/", - "clean": "rimraf dist" + "build": "rimraf build && mkdir build && cp -r src/* build/ && cp package.json config.json build/", + "clean": "rimraf build" }, "author": "Tom Butcher", "license": "ISC",