just tidying up a bit
This commit is contained in:
parent
92a5169949
commit
a407eeb9be
2 changed files with 3 additions and 4 deletions
|
@ -51,7 +51,7 @@ export default class Book {
|
||||||
//TODO: Duct tape solution until something better created
|
//TODO: Duct tape solution until something better created
|
||||||
|
|
||||||
//make check against menu to see if page should be marked as menu item
|
//make check against menu to see if page should be marked as menu item
|
||||||
//if it doesnt' exist in menu change, edit page to
|
//if it doesn't exist in menu change, edit page to
|
||||||
let page = _.find(pages, list => {
|
let page = _.find(pages, list => {
|
||||||
return list.metadata.uuid === id;
|
return list.metadata.uuid === id;
|
||||||
});
|
});
|
||||||
|
|
|
@ -8,9 +8,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "pm2 --node-args='-r esm' start init.js",
|
"start": "pm2 --node-args='-r esm' start init.js",
|
||||||
"stop": "pm2 stop init.js",
|
"stop": "pm2 stop init.js",
|
||||||
"dev": "nodemon -r esm init.js --ignore node_modules/ -e js",
|
"dev": "node -r esm init.js --ignore node_modules/ -e js",
|
||||||
"debug": "nodemon inspect -r esm init.js --ignore node_modules/ -e js",
|
"debug": "node inspect -r esm init.js --ignore node_modules/ -e js",
|
||||||
"prettier-watch": "npx onchange '**/*.js' -- npx prettier --write {{changed}}",
|
|
||||||
"watch": "stylus -w -o public/assets/css src/styles/dash.styl & parcel watch src/com/Start.js --out-dir public/assets/scripts --out-file dash.min.js --public-url /assets/scripts"
|
"watch": "stylus -w -o public/assets/css src/styles/dash.styl & parcel watch src/com/Start.js --out-dir public/assets/scripts --out-file dash.min.js --public-url /assets/scripts"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|
Loading…
Reference in a new issue