{"id":18273547,"url":"https://github.com/rus-sharafiev/dev-server","last_synced_at":"2025-04-09T03:40:48.702Z","repository":{"id":164996728,"uuid":"640270735","full_name":"rus-sharafiev/dev-server","owner":"rus-sharafiev","description":"Development server based on the esbuild","archived":false,"fork":false,"pushed_at":"2024-11-15T07:10:41.000Z","size":30691,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T22:14:05.290Z","etag":null,"topics":["dev-server","esbuild","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rus-sharafiev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-05-13T14:36:51.000Z","updated_at":"2024-11-15T07:10:44.000Z","dependencies_parsed_at":"2024-02-26T00:24:07.392Z","dependency_job_id":"7753956f-8e9b-41bc-91c9-b31149b79d0c","html_url":"https://github.com/rus-sharafiev/dev-server","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fdev-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fdev-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fdev-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rus-sharafiev%2Fdev-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rus-sharafiev","download_url":"https://codeload.github.com/rus-sharafiev/dev-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974584,"owners_count":21026742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["dev-server","esbuild","golang"],"created_at":"2024-11-05T12:06:52.877Z","updated_at":"2025-04-09T03:40:48.665Z","avatar_url":"https://github.com/rus-sharafiev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev server for React\n\nThe standalone application based on the [esbuild](https://esbuild.github.io/) for building, watching, serving and deploying React projects.  \nWritten on Go, it uses net/http module to serve web project and Go implementation of the esbuild, but, in order to get maximum performance and better stability, standalone original compilers are used for processing [Sass](https://sass-lang.com/dart-sass) and [Less](https://github.com/rus-sharafiev/less-compiler) files.\n\n## Install\nUsing PowerShell (Windows x64 only)\n```\nirm https://github.com/rus-sharafiev/dev-server/releases/latest/download/install.ps1 | iex\n```\n## Usage\n\nBuild the project, start the development server and watch for the changes\n```powershell\ndev start\n```\n\nCreate a minified production build\n```powershell\ndev build\n```\n\nCreate a minified production build and start the web server\n```powershell\ndev serve\n```\n\nBuild the project and then copy the resulting files to the remote server via scp, specifying the path in the configuration file named `dev.conf`...\n\n```json\n{\n    \"deployPath\": \"root@1.1.1.1:/var/www/html/\",\n    \"jsPath\": \"root@1.1.1.1:/var/www/html/js/\",\n    \"cssPath\": \"root@1.1.1.1:/var/www/html/css/\"\n}\n```\n...and then\n```bash\ndev deploy\n```\n\n`deployPath` - a path to copy whole build dir content  \n`jsPath` - a path to copy .js files only  \n`cssPath` - a path to copy .css files only  \n\nA `deployPath` or both `jsPath` and `cssPath` should be provided!  \nIf all fiels present, then `deployPath` will be ignored\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frus-sharafiev%2Fdev-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frus-sharafiev%2Fdev-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frus-sharafiev%2Fdev-server/lists"}