{"id":48540232,"url":"https://github.com/sncegroup/snce-docker-frontend","last_synced_at":"2026-04-08T04:02:03.952Z","repository":{"id":44294954,"uuid":"203969789","full_name":"SnceGroup/snce-docker-frontend","owner":"SnceGroup","description":"Basic Docker npm setup to enable a quick start for frontend project","archived":false,"fork":false,"pushed_at":"2022-02-10T19:05:54.000Z","size":717,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T04:35:21.939Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SnceGroup.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}},"created_at":"2019-08-23T09:40:28.000Z","updated_at":"2019-08-30T09:54:00.000Z","dependencies_parsed_at":"2022-09-03T23:30:15.601Z","dependency_job_id":null,"html_url":"https://github.com/SnceGroup/snce-docker-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SnceGroup/snce-docker-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fsnce-docker-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fsnce-docker-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fsnce-docker-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fsnce-docker-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SnceGroup","download_url":"https://codeload.github.com/SnceGroup/snce-docker-frontend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SnceGroup%2Fsnce-docker-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":[],"created_at":"2026-04-08T04:02:02.050Z","updated_at":"2026-04-08T04:02:03.946Z","avatar_url":"https://github.com/SnceGroup.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snce Docker-npm Frontend\n\n## Requirements\n\n - [Node.js](https://nodejs.org) (tested with v10.10.0)\n\n## Installation\n\n - Clone the repository.\n - Create `.env` file\n - Setup docker `docker-compose up -d`\n - Install dependencies: `docker/npm install`.\n - Run `docker/npm run build:prod`\n - Check on  [Localhost](http://localhost:8777)\n\n## Commands\nAvailable commands to execute with `docker/npm run \u003ccommand\u003e`.\n\n### Build\n\n| Command | Tasks | Notes |\n| --- | --- | --- |\n| build:css:dev | stylefmt, stylelint, scss, autoprefixer | CSS not minified. Source comments available. |\n| build:css:prod | stylefmt, stylelint, scss, autoprefixer, clean-css | CSS minified. |\n| build:html:dev | twig | |\n| build:html:prod | twig | |\n| build:images:dev | svg-sprite | Images are not minified. Folder is symlinked to build dev folder. |\n| build:images:prod | imagemin, svg-sprite | |\n| build:js:dev | webpack | |\n| build:js:prod | webpack | |\n| build:fonts:dev | symlink font to build-dev | |\n| build:fonts:prod | copy fonts to build | |\n| build:dev | rimraf, build:images:dev, build:css:dev, build:js:dev, build:html:dev, build:fonts:dev | Clean build dev folder and run all dev build tasks. |\n| build:prod | rimraf, build:images:prod, build:css:prod, build:js:prod, build:html:prod, build:fonts:prod  | Clean build prod folder and run all prod build tasks. |\n| build:critical | NODE_ENV=prod node ./script/critical/critical.js  | Generate critical css for full template. |\n| s3:upload | NODE_ENV=prod node script/aws/sw3-upload.js  | Upload build folder to S3 bucket |\n| release | NODE_ENV=prod node ./script/release/release.js  | Release command |\n\n\n### Watch\n\n| Command | Tasks | Notes |\n| --- | --- | --- |\n| watch:js | webpack | Run webpack in watch mode. |\n| watch | browser-sync, build:css:dev, build:html:dev | Watch for scss and twig files changes and run relative build dev tasks. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Fsnce-docker-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsncegroup%2Fsnce-docker-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsncegroup%2Fsnce-docker-frontend/lists"}