{"id":26347274,"url":"https://github.com/survi218/food-menu","last_synced_at":"2026-04-16T05:31:10.717Z","repository":{"id":139643064,"uuid":"94813313","full_name":"survi218/food-menu","owner":"survi218","description":"Restaurant Menu Cart to checkout","archived":false,"fork":false,"pushed_at":"2023-04-18T16:39:35.000Z","size":19453,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-07T20:46:35.035Z","etag":null,"topics":["babel-preser-es2015","babel-preset","babelify","browserify","browsersync","bulma","es6","heroku-deployment","javascript","lite-server","node-sass","watchlist"],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/survi218.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-19T19:31:23.000Z","updated_at":"2017-06-19T19:42:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c026d0f8-5d95-4a20-8b4d-2c543667925f","html_url":"https://github.com/survi218/food-menu","commit_stats":null,"previous_names":["survi218/food-menu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/survi218/food-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/survi218%2Ffood-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/survi218%2Ffood-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/survi218%2Ffood-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/survi218%2Ffood-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/survi218","download_url":"https://codeload.github.com/survi218/food-menu/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/survi218%2Ffood-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["babel-preser-es2015","babel-preset","babelify","browserify","browsersync","bulma","es6","heroku-deployment","javascript","lite-server","node-sass","watchlist"],"created_at":"2025-03-16T07:16:27.309Z","updated_at":"2026-04-16T05:31:10.702Z","avatar_url":"https://github.com/survi218.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restaurant Menu \n\nThis is an interactive menu created for a fictional restaurant.  This project was made entirely in vanilla JavaScript without the help of any libraries.  [Browserify](https://github.com/substack/node-browserify#usage) and [Babel](https://github.com/babel/babel) were used to convert the ES6 to ES5 and then bundle all the modules together.\n\n# In the Package.json file\n````\n \"serve\": \"npm run build; npm run watch:js -- \u0026 \u003e /dev/null 2\u003e\u00261; npm run watch:scss -- \u0026 \u003e /dev/null 2\u003e\u00261; lite-server\"\n````\n*   Hey! I hope you're enjoying the project. When I made that, I didn't even think about the Windows users out there. It uses some syntax that available in Unix based systems. So, it doesn't work on Windows. :( We get better as we grow, right? :) Anyhoo...it is easy to fix. That script is essentially building the files and then running a bunch of watch scripts. This can be fixed using a package I use all the time now called concurrently. Here's how you can fix it.\n* Add a script to the package.json called preserve and make it npm run build. Then use npm to install concurrently with\n````\nnpm install --dev concurrently\n````\nLastly, we edit the serve script to be \n````\n\"serve\":\"concurrently \\\"npm run watch:js\\\" \\\"npm run watch:scss\\\" \\\"lite-server\\\"\"\n````\n- I still got the errors with the above code in watchify, so i modified to  the below code.\n* Perfect code for windows OS in the package.json\n````\n\"scripts\": {\n        \"dev\": \"lite-server\",\n        \"preserve\": \"npm run build\",\n        \"build:js\": \"browserify src/js/index.js -d -t babelify -o build/bundle.js\",\n        \"watch:js\": \"watchify src/js/index.js -d -v -t babelify -o build/bundle.js\",\n        \"build:scss\": \"node-sass src/scss/styles.scss --output build --source-map-embed --source-map-contents\",\n        \"watch:scss\": \"npm run build:scss -- --watch\",\n        \"build\": \"npm run build:js \u0026\u0026 npm run build:scss\",\n        \"serve\": \"concurrently \\\"npm run watch:js --\u0026 \u003e /dev/null 2\u003e\u00261\\\" \\\"npm run watch:scss --\u0026 \u003e /dev/null 2\u003e\u00261\\\" \\\"lite-server\\\"\"\n    },\n````\n\n\n  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurvi218%2Ffood-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsurvi218%2Ffood-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsurvi218%2Ffood-menu/lists"}