{"id":16549613,"url":"https://github.com/settinghead/react-roulette","last_synced_at":"2025-07-06T07:04:55.480Z","repository":{"id":142195466,"uuid":"66813436","full_name":"settinghead/react-roulette","owner":"settinghead","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-29T05:17:10.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T17:15:36.970Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/settinghead.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":"2016-08-29T05:16:55.000Z","updated_at":"2017-10-09T02:15:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"00b15fc7-c7d3-4add-b028-72e3547cb408","html_url":"https://github.com/settinghead/react-roulette","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/settinghead%2Freact-roulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settinghead%2Freact-roulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settinghead%2Freact-roulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/settinghead%2Freact-roulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/settinghead","download_url":"https://codeload.github.com/settinghead/react-roulette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241859392,"owners_count":20032314,"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":[],"created_at":"2024-10-11T19:30:00.948Z","updated_at":"2025-03-04T13:44:24.513Z","avatar_url":"https://github.com/settinghead.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-webpack-babel\nSimple React Webpack Babel Starter Kit\n\nTired of complicated starters with 200MB of dependencies which are hard to understand and modify?\n\nTry this is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.\n\n### What's in it?\n\n* Simple src/index.jsx and src/index.css (local module css).\n* Webpack configuration for development (with hot reloading) and production (with minification).\n* CSS module loading, so you can include your css by ```import styles from './path/to.css';```.\n* Both js(x) and css hot loaded during development.\n\n### To run\n\n* You'll need to have [git](https://git-scm.com/) and [node](https://nodejs.org/en/) installed in your system.\n* Fork and clone the project:\n\n```\n\u003e $ git clone THIS_REPO_URL\n```\n\n* Then install the dependencies:\n\n```\n\u003e $ npm install\n```\n\n* Run development server:\n\n```\n\u003e $ npm start\n```\n\nOpen the web browser to `http://localhost:8888/`\n\n### To build production package\n\n```\n\u003e $ npm run build\n```\n\n### Nginx Config\n\nHere is the suggested Nginx config:\n```\nserver {\n\t# ... root and other options\n\n\tgzip on;\n\tgzip_http_version 1.1;\n\tgzip_types text/plain text/css text/xml application/javascript image/svg+xml;\n\n\tlocation ~ \\.html?$ {\n\t\texpires 1d;\n\t}\n\n\tlocation ~ \\.(svg|ttf|js|css|svgz|eot|otf|woff|jpg|jpeg|gif|png|ico)$ {\n\t\taccess_log off;\n\t\tlog_not_found off;\n\t\texpires max;\n\t}\n}\n```\n\n### Eslint\nThere is a .eslint.yaml config for eslint ready with React plugin.\nTo use it, you need to install additional dependencies though:\n\n```\n\u003e npm install --save-dev eslint eslint-plugin-react\n```\n\nTo do the actual linting, run:\n\n```\n\u003e npm run lint\n```\n\n### Notes on importing css styles\n* styles having /src/ in their absolute path are considered part of the application and exported as local css modules.\n* styles having /node_modules|global/ in their absolute path are considered global styles used by many components and are included in the css bundle directly.\n\n### Contribute\nPlease contribute to the project if you think this can be done better in anyway even for this README :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsettinghead%2Freact-roulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsettinghead%2Freact-roulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsettinghead%2Freact-roulette/lists"}