
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
generator-react-flux
Advanced tools
Deprecation Notice
Use react-flux-starter for more new features.
Trick question. It's not a thing. It's this guy:
Basically, he wears a top hat, lives in your computer, and waits for you to tell him what kind of application you wish to create.
Not every new computer comes with a Yeoman pre-installed. He lives in the npm package repository. You only have to ask for him once, then he packs up and moves into your hard drive. Make sure you clean up, he likes new and shiny things.
npm install -g yo
Yeoman travels light. He didn't pack any generators when he moved in. You can think of a generator like a plug-in. You get to choose what type of application you wish to create, such as a Backbone application or even a Chrome extension.
To install generator-react-flux from npm, run:
npm install -g generator-react-flux
Finally, initiate the generator:
mkdir example
cd example
yo react-flux
.
├── app
│ ├── actions
│ │ └── .gitkeep
│ ├── assets
│ │ ├── fonts
│ │ │ └── .gitkeep
│ │ ├── images
│ │ │ └── logo.svg
│ │ └── styles
│ │ ├── _animations.scss
│ │ ├── app.scss
│ │ ├── _mixins.scss
│ │ └── _variables.scss
│ ├── bower_components
│ ├── components
│ │ ├── Document.js
│ │ ├── Footer.js
│ │ ├── Header.js
│ │ ├── PageHome.js
│ │ ├── PageNestedDefault.js
│ │ ├── PageNested.js
│ │ ├── PageNestedSub.js
│ │ ├── PageNormal.js
│ │ └── PageNotFound.js
│ ├── constants
│ │ └── .gitkeep
│ ├── dispatcher
│ │ └── AppDispatcher.js
│ ├── services
│ │ └── .gitkeep
│ ├── stores
│ │ └── .gitkeep
│ ├── utils
│ │ └── .gitkeep
│ ├── app.js
│ └── index.html
├── helper
│ ├── bundle.js
│ ├── server.js
│ ├── webpack-config.js
│ └── webpack-stats-helper.js
├── node_modules
├── scripts
│ ├── build-copy.js
│ └── build-html.js
├── test
│ ├── helper
│ │ └── phantomjs-shims.js
│ └── spec
│ └── components
│ └── Document.js
├── .babelrc
├── bower.json
├── .bowerrc
├── .editorconfig
├── .eslintrc
├── .gitignore
├── karma.conf.js
├── package.json
├── README.md
├── webpack.build.config.js
├── webpack.config.js
├── webpack.dev.config.js
├── webpack.dev.server.js
├── webpack.preview.config.js
├── webpack.preview.server.js
└── webpack.test.config.js
Watch(dev):
npm run start
Test:
npm run test
Preview
npm run preview
Build:
npm run build
MIT
css-loader
.postcss-loader
instead of autoprefixer-loader
.UglifyJsPlugin
config.react-proxy-loader
.lib
to helper
.webpack-hot-loader & webpack-dev-server
instead of gulp & browsersync
.FAQs
Yeoman generator
We found that generator-react-flux demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.