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

awesome-react

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awesome-react

A basic web app from React, called awesome-react

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

awesome-react

Front-end with React@^16.13.0

GitHub package.json version Coverage Status CircleCI

Recommend you use cli to create project create-awesome-react

Installation And Usage

git clone git@github.com:TaylorPzreal/awesome-react.git

cd awesome-react
yarn install

yarn start # start a dev server
yarn start-browser # start a dev server and open default browser
yarn build # build for production
yarn build-analyse # build and generate a stats.json
yarn dll # generate DllPlugin
yarn test # run test
yarn lint # run lint jsx
yarn format # format code: .jsx?, .md, .s?css
yarn server # test build folder, here is dist folder.

You could config vim as default editor for git commit, just do:

git config --global core.editor "vim"

Features

  • npm init & gitignore
  • File structure
  • commitlint
  • eslint
  • format(prettier)
  • webpack
  • Test
  • Router
  • Common http request and interceptor
  • webpack dll
  • precommit format

Code styles

Problems

  • Fonts can't load # Make webpack css-loader module: false, More about css-modules
  • Jest test conf # Make ReactDom to ReactDOM, word error.
  • react-router@^4 # More about dynamic-import

More info

MIT License

Copyright (c) 2017-2020 TaylorPzreal

Keywords

react

FAQs

Package last updated on 11 Mar 2020

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