{"id":16254192,"url":"https://github.com/sumn2u/react-deploy-cli","last_synced_at":"2025-03-19T21:30:26.732Z","repository":{"id":29073788,"uuid":"120153830","full_name":"sumn2u/react-deploy-cli","owner":"sumn2u","description":"CLI tool to deploy React App to S3 and CloudFront","archived":false,"fork":false,"pushed_at":"2022-12-07T16:26:23.000Z","size":417,"stargazers_count":10,"open_issues_count":6,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T10:54:31.690Z","etag":null,"topics":["cli","react","react-cli","react-deploy","revision","s3","s3-bucket"],"latest_commit_sha":null,"homepage":"https://www.react-deploy.com/","language":"JavaScript","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/sumn2u.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}},"created_at":"2018-02-04T04:12:29.000Z","updated_at":"2024-04-07T19:56:29.000Z","dependencies_parsed_at":"2023-01-14T14:05:31.750Z","dependency_job_id":null,"html_url":"https://github.com/sumn2u/react-deploy-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Freact-deploy-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Freact-deploy-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Freact-deploy-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sumn2u%2Freact-deploy-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sumn2u","download_url":"https://codeload.github.com/sumn2u/react-deploy-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244507826,"owners_count":20463689,"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":["cli","react","react-cli","react-deploy","revision","s3","s3-bucket"],"created_at":"2024-10-10T15:20:25.220Z","updated_at":"2025-03-19T21:30:26.378Z","avatar_url":"https://github.com/sumn2u.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-deploy-cli\n\n[![GitHub issues](https://img.shields.io/github/issues/sumn2u/react-deploy-cli.svg)](https://github.com/sumn2u/react-deploy-cli/issues) [![GitHub forks](https://img.shields.io/github/forks/sumn2u/react-deploy-cli.svg)](https://github.com/sumn2u/react-deploy-cli/network) [![GitHub stars](https://img.shields.io/github/stars/sumn2u/react-deploy-cli.svg)](https://github.com/sumn2u/react-deploy-cli/stargazers) [![GitHub license](https://img.shields.io/github/license/sumn2u/react-deploy-cli.svg)](https://github.com/sumn2u/react-deploy-cli/blob/master/LICENSE)\n[![codecov](https://codecov.io/gh/sumn2u/react-deploy-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/sumn2u/react-deploy-cli) [![Build Status](https://travis-ci.org/sumn2u/react-deploy-cli.svg?branch=master)](https://travis-ci.org/sumn2u/react-deploy-cli) [![Twitter](https://img.shields.io/twitter/url/https/github.com/sumn2u/react-deploy-cli.svg?style=social)](https://twitter.com/intent/tweet?text=Wow:\u0026url=https%3A%2F%2Fgithub.com%2Fsumn2u%2Freact-deploy-cli)\n\n\u003e  Deploy react app to s3 and Cloudfront with versioning and activation features.\n\n```\n                              _                 _                  _                 \n  _ __    ___    __ _    ___  | |_            __| |   ___   _ __   | |   ___    _   _ \n | '__|  / _ \\  / _` |  / __| | __|  _____   / _` |  / _ \\ | '_ \\  | |  / _ \\  | | | |\n | |    |  __/ | (_| | | (__  | |_  |_____| | (_| | |  __/ | |_) | | | | (_) | | |_| |\n |_|     \\___|  \\__,_|  \\___|  \\__|          \\__,_|  \\___| | .__/  |_|  \\___/   \\__, |\n                                                           |_|                  |___/ \n\n```\n\nThis package doesn't build the app, instead use webpack or create-react-app to build your application instead.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n```sh\nnpm i -g react-deploy-cli\n\n# or\n\nyarn global add react-deploy-cli\n\n```\n\n## Usage\n\u003e react-deploy\n```\n Usage: react-deploy [options] [command]\n\n\n  Commands:\n\n    setup                 run deployment configuration file\n    deploy [env]          deploy code to s3 bucket with specific environment\n    list [env]            list deployed version from s3\n    activate \u003ckey\u003e [env]  activate version with or specific environment\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n\n\n```\n To initialize setup file for `react-deploy` , go inside your react app project root directory and  use following command \n\n\u003e react-deploy setup\n```\n                               _                 _                  _                 \n  _ __    ___    __ _    ___  | |_            __| |   ___   _ __   | |   ___    _   _ \n | '__|  / _ \\  / _` |  / __| | __|  _____   / _` |  / _ \\ | '_ \\  | |  / _ \\  | | | |\n | |    |  __/ | (_| | | (__  | |_  |_____| | (_| | |  __/ | |_) | | | | (_) | | |_| |\n |_|     \\___|  \\__,_|  \\___|  \\__|          \\__,_|  \\___| | .__/  |_|  \\___/   \\__, |\n                                                           |_|                  |___/ \n\nResult:\n\n\n✓ Deployment file created\n\n➡  Type help command to proceed further\n\n\n```\nIt will automatically create a deploy.js file. Now inside deploy.js file put your s3 bucket name, along with `ACCESSKEYID` and `SECERETKEY`.\n\nAfter building your react app. It's time to deploy your app to S3 bucket.\n\n\u003e react-deploy deploy development\n\n```\n\nChecking configuration file\n\nResult:\n\nStarting 'upload:development'...\nFinished 'upload:development' after 1ms\n\nRevision created successfuly\n\n```\nIt will upload your assests to the `s3` bucket with uniquely generated file name. \n![upload revisions](img/deploy.png)\n\nIn order to get revision of deployed files we use list command.\n\n\u003e  react-deploy list development\n\n```\n\nChecking configuration file\nResult:\nStarting 'list:development'...\nFinished 'list:development' after 4ms\n┌───────────────────┬──────────────────────────────┐\n│ RevisionKey       │ Commit Date                  │\n├───────────────────┼──────────────────────────────┤\n│   index:01403ec   │ 2018/04/04 14:26:29          │\n├───────────────────┼──────────────────────────────┤\n│   index:527cd76   │ 2018/04/04 14:34:49          │\n├───────────────────┼──────────────────────────────┤\n│   index:6993120   │ 2018/04/04 14:09:03          │\n├───────────────────┼──────────────────────────────┤\n│   index:fa51993   │ 2018/04/04 15:41:51          │\n└───────────────────┴──────────────────────────────┘\n \n```\nTo activate a specific version use the activate command followed by key.\n\n\u003e  react-deploy activate fa51993 development\n\n```\nChecking configuration file\nResult:\nStarting 'activate:fa51993'...\nFinished 'activate:fa51993' after 6ms\nActivating index file of key fa51993\nActivating service-worker file of key fa51993\nRevision activated successfully\nRevision activated successfully\n\n```\n\n\n## Contribute\n\nContributors are welcome.\nSmall note: If editing the `README`, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification. \n\n## License\n\nMIT © sumn2u","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumn2u%2Freact-deploy-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumn2u%2Freact-deploy-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumn2u%2Freact-deploy-cli/lists"}