{"id":21053524,"url":"https://github.com/etcinit/reaction","last_synced_at":"2025-05-15T21:36:46.949Z","repository":{"id":26603675,"uuid":"30058681","full_name":"etcinit/reaction","owner":"etcinit","description":"Browserify and React.js wrapper for Gulp.js","archived":true,"fork":false,"pushed_at":"2015-03-05T20:04:26.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-13T23:29:55.594Z","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/etcinit.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":"2015-01-30T06:03:13.000Z","updated_at":"2024-01-16T01:05:23.000Z","dependencies_parsed_at":"2022-08-17T17:31:13.182Z","dependency_job_id":null,"html_url":"https://github.com/etcinit/reaction","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Freaction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Freaction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Freaction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Freaction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcinit","download_url":"https://codeload.github.com/etcinit/reaction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254425818,"owners_count":22069239,"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-11-19T16:07:02.135Z","updated_at":"2025-05-15T21:36:46.690Z","avatar_url":"https://github.com/etcinit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reaction\n\nA simple wrapper of Browserify and React for gulp.js\n\n## Changes:\n\n### 0.2.0: Switch to Babelify\n\n- Instead of using react-tools, reaction now uses babelify. The options object\nnow passes configuration to babelify.\n\n## Usage\n\nFirst install it:\n\n    npm install --save react-reaction\n\nThen, create a gulp task using it:\n\n```js\n// ...\nvar reaction = require('react-reaction'),\n    uglify = require('gulp-uglify'); \n\n// Process all JSX scripts\ngulp.task('scripts', function () {\n    return gulp\n        .src(['./src/app.jsx'])\n        .pipe(reaction({\n            experimental: true,\n            playground: true,\n            comments: false\n        }))\n        .pipe(uglify()) // Optional\n        .pipe(gulp.dest('./public/js'));\n});\n```\n\n## API\n\n### reaction(options: Object): Object\n\nReturns a vinyl-transform that will process JS/JSX files using\nBrowserify and React's transform. Any options are esentially just\npassed down to Babel, so you can enable things like experimental language\nfeatures or generate a source map. See https://babeljs.io/docs/usage/options/\nfor more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Freaction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcinit%2Freaction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Freaction/lists"}