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
|
.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
|
||||||
|
|||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user