just tidying up a bit

nodejs-version-freeze
Ro 4 years ago
parent 92a5169949
commit a407eeb9be

@ -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…
Cancel
Save