Fixed bug for run
This commit is contained in:
parent
7b18c601c2
commit
b1aaeaaef8
3 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -122,3 +122,4 @@ dist
|
||||||
yarn.lock
|
yarn.lock
|
||||||
public/css
|
public/css
|
||||||
public/css
|
public/css
|
||||||
|
docker-compose.yml
|
||||||
|
|
|
@ -10,7 +10,7 @@ services:
|
||||||
command: >
|
command: >
|
||||||
bash -c "
|
bash -c "
|
||||||
yarn install &&
|
yarn install &&
|
||||||
yarn run"
|
yarn run:all"
|
||||||
volumes:
|
volumes:
|
||||||
- ./:/home/node/app
|
- ./:/home/node/app
|
||||||
- /home/node/node_modules
|
- /home/node/node_modules
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "Simple application to manage your CD/Vinyl collection",
|
"description": "Simple application to manage your CD/Vinyl collection",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node ./dist/bin/www",
|
"start": "node ./dist/bin/www",
|
||||||
"run": "npm-run-all build sass start",
|
"run:all": "npm-run-all build sass start",
|
||||||
"watch": "nodemon -e js,scss",
|
"watch": "nodemon -e js,scss",
|
||||||
"sass": "npx sass sass/index.scss public/css/main.css -s compressed",
|
"sass": "npx sass sass/index.scss public/css/main.css -s compressed",
|
||||||
"prebuild": "rimraf dist",
|
"prebuild": "rimraf dist",
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
"vue": "^3.2.31"
|
"vue": "^3.2.31"
|
||||||
},
|
},
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
"exec": "yarn run",
|
"exec": "yarn run:all",
|
||||||
"watch": [
|
"watch": [
|
||||||
"src/*",
|
"src/*",
|
||||||
"sass/*"
|
"sass/*"
|
||||||
|
|
Loading…
Reference in a new issue