New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@robertoachar/generator-react

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robertoachar/generator-react

Yeoman generator for React Apps.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

generator-react

Travis Status AppVeyor Status CircleCI Status Coveralls Status NPM Version License

Yeoman generator for React apps.

This generator provides the following features:

  • public and src folders as a starter point to build your app.
  • EditorConfig to help you define and maintain consistent coding styles between different editors.
  • ESLint to provide a pluggable linting utility for JavaScript.
  • Airbnb React/JSX style guide.
  • Prettier as an opinionated code formatter.
  • README.md and CHANGELOG.md with information about the project, installation, usage, development, author and license.
  • Badge for License.

Project files

.
|--- public
|    |--- favicon.ico
|    |--- index.html
|    |--- manifest.json
|--- src
     |--- components
          |--- App.jsx
|    |--- index.jsx
|--- .editorconfig
|--- .eslintignore
|--- .eslintrc.json
|--- .gitattributes
|--- .gitignore
|--- .npmrc
|--- .prettierrc
|--- CHANGELOG.md
|--- LICENSE
|--- package.json
|--- README.md

Installation

  • Install Yeoman
$ npm install -g yo
  • Install Generator
$ npm install -g @robertoachar/generator-react

Usage

  • Create an app
# Create a directory for your app
$ mkdir awesome-app

# Change into directory
$ cd awesome-app

# Generate an app
$ yo @robertoachar/react
  • Run scripts
ActionUsage
Start development modenpm start
Build for productionnpm run build
Lint codenpm run lint
Run testsnpm run test
Eject from create-react-appnpm run eject

Development

Prerequisites

$ npm install -g yo

Clone the repo

$ git clone https://github.com/robertoachar/generator-react.git

Run generator

# Change into directory
$ cd generator-react

# Link generator
$ npm link

# Run generator
$ yo @robertoachar/react

Author

Roberto Achar

License

MIT

Keywords

yeoman

FAQs

Package last updated on 16 Apr 2019

Did you know?

Socket

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.

Install

Related posts