{"id":14963013,"url":"https://github.com/goods-services/goodz","last_synced_at":"2025-10-25T00:31:50.620Z","repository":{"id":34481018,"uuid":"179539111","full_name":"goods-services/goodz","owner":"goods-services","description":"🚀 A command-line utility for generating goodness for your react and gatsby apps","archived":false,"fork":false,"pushed_at":"2022-12-03T04:51:22.000Z","size":763,"stargazers_count":6,"open_issues_count":9,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T05:02:42.534Z","etag":null,"topics":["cli","cli-app","gatsby","gatsbyjs","generator","react"],"latest_commit_sha":null,"homepage":"","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/goods-services.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":"2019-04-04T16:51:03.000Z","updated_at":"2020-02-18T05:12:45.000Z","dependencies_parsed_at":"2023-01-15T07:20:58.589Z","dependency_job_id":null,"html_url":"https://github.com/goods-services/goodz","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/goods-services%2Fgoodz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goods-services%2Fgoodz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goods-services%2Fgoodz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goods-services%2Fgoodz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goods-services","download_url":"https://codeload.github.com/goods-services/goodz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238053514,"owners_count":19408699,"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","cli-app","gatsby","gatsbyjs","generator","react"],"created_at":"2024-09-24T13:30:54.653Z","updated_at":"2025-10-25T00:31:45.276Z","avatar_url":"https://github.com/goods-services.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goodz\n\n\u003e A command-line utility for generating goodness\n\nGoodz allows for structured, repeatable code generation for development teams.\n\n## Install\n\n#### Install globally\n\n```\n$ npm install -g goodz\n```\n\n#### Install locally in your project\n\n```\n$ yarn add goodz --dev\n```\n\n```json\n// package.json\n\"Scripts\": {\n    \"goodz\": \"goodz\"\n}\n```\n\n## Usage\n\n```\n$ goodz --help\n\n  Usage\n    $ goodz          Select from a list of generators\n    $ goodz \u003cname\u003e   Run a generator of that name\n\n  Options\n    -h, --help       Display the help screen\n    -d, --dir        Specify base path directory\n    -v, --version    Display the version number\n\n  Examples\n    $ goodz react.component\n    $ goodz react.component --dir app\n```\n\nUses [Plop](https://github.com/amwmedia/plop) and [Inquirer](https://github.com/SBoudrias/Inquirer.js) underneath... :raised_hands:\n\n## Generators\n\n- [React App](#react-app)\n- [React Component](#react-component)\n- [React Saga](#react-saga)\n- [Gatsby Site](#gatsby-site)\n- [Gatsby Template](#gatsby-template)\n\n### \u003ca id=\"react-app\"\u003e\u003c/a\u003eReact App\n\nGenerates a functional React app. Based on [Create React App](https://github.com/facebook/create-react-app), but with some added goodness.\n\n```\n$ goodz react.app\n```\n\n#### Options\n\n```\nWhat is the name of your project?\n\nShould this react app have Redux? (Y/n)\n```\n\n### \u003ca id=\"react-component\"\u003e\u003c/a\u003eReact Component\n\nGenerates a react component inside your app, based on atomic design principles\n\n```\n$ goodz react.component\n```\n\n#### Options\n\n```\nName of component?\" (e.g. Button)\n\nWhere should this component live?\nchoices: [\"atoms\", \"molecules\", \"organisms\", \"templates\"]\n\nDo you need Styled Components, Material Design, or SCSS?\",\nchoices: [\"Styled Components\", \"Material Design\", \"SCSS\"]\n\nDo you need a Stateless or Stateful component?\nchoices: [\"Stateless\", \"Stateful\"]\n\nShould this component be connected to the redux store? (y/N)\n\nWhat functions would you like to include?\nchoices: [\"constructor\", \"componentDidMount\", \"componentWillMount\"]\n*statefull components only*\n\nWhat redux functions would you like to include?\nchoices: [\"componentWillReceiveProps\", \"mapStateToProps\", \"mapDispatchToProps\"]\n*connected components only*\n```\n\n#### Output\n\n```\n  └── src\n      └── components\n          └── atoms\n              └── Button\n                  |── Button.js            - Component file\n                  |── Button.style.js      - Scoped styled component\n                  |── index.js             - For easy reference\n                  └── __tests__\n                      └── Button.test.js   - Jest unit test file\n```\n\n### \u003ca id=\"react-saga\"\u003e\u003c/a\u003eReact Saga\n\nGenerates a saga inside your Redux app\n\n```\n$ goodz react.saga\n```\n\n#### Options\n\n```\nSaga Name? (e.g. counter)\n\nAction Constant? (e.g. COUNTER_INCREMENT)\n\nReducer Constant? (e.g. COUNTER_CHANGED)\n```\n\n#### Output\n\n```\n  └── src\n      └── state\n        |── middleware.js\n        |── saga.js\n        └── store.js\n        └── counter\n          |── counter.actions.js\n          |── counter.reducer.js\n          |── counter.saga.js\n          └── index.js\n```\n\n### \u003ca id=\"gatsby-site\"\u003e\u003c/a\u003eGatsby App\n\nGenerates a Gatsby site readt to go. Site is based on [Gatsby Starter Default](https://github.com/gatsbyjs/gatsby-starter-default)\n\n```\n$ goodz gatsby.app\n```\n\n#### Options\n\n```\nWhat is the name of your project?\n\nDo you want to use Contentful as a source? (Y/n)\n\nWhat is your Contentful API Token?\n\nWhat is your Contentful Space ID?\n```\n\n#### Output\n\n```\n  └── src\n      └── config\n      └── gatsby\n      └── src\n```\n\n### \u003ca id=\"gatsby-template\"\u003e\u003c/a\u003eGatsby Template\n\nGenerates a Gatsby templates in the templates folder of your Gatsby project.\n\n```\n$ goodz gatsby.template\n```\n\n#### Options\n\n```\nTemplate Name (e.g. blogPost)\n```\n\n## FAQ\n\n#### Why did you make this?\n\nEveryone deserves some goodness from time to time.\n\n## Related\n\n- [Create React App](https://github.com/facebook/create-react-app) - Set up a modern web app by running one command.\n- [Redux](https://github.com/reduxjs/redux) - A predictable state container for JavaScript apps.\n- [Redux Saga](https://github.com/redux-saga/redux-saga/) - An alternative side effect model for Redux apps.\n- [Styled Components](https://github.com/styled-components) - Visual primitives for the component age.\n- [Jest](https://github.com/facebook/jest) - Delightful JavaScript Testing.\n- [Enzyme](https://github.com/airbnb/enzyme) - JavaScript Testing utilities for React.\n- [Gatsby Default Starter](https://github.com/gatsbyjs/gatsby-starter-default) -- Official starter for Gatsby\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoods-services%2Fgoodz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoods-services%2Fgoodz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoods-services%2Fgoodz/lists"}