Output to build folder
This commit is contained in:
parent
4063c0c6fc
commit
11fad9f518
3
.gitignore
vendored
3
.gitignore
vendored
@ -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
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user