Giter VIP home page Giter VIP logo

react-starter's Introduction

license Build Status

Code Climate Issue Count


React-starter a react web starter kit.

Installation

GIT

git clone -b master [email protected]:lnked/react-starter.git

OR

git init
git remote add origin [email protected]:lnked/react-starter.git
git fetch origin
git pull origin master

Then run command

yarn

OR

npm i

Run tasks

Start dev-server

yarn start

Build without compress

yarn build

Build with compress

yarn release

Analyze code

yarn analyze

Stats

yarn stats

Lint scripts

yarn lint:scripts

Lint styles

yarn lint:styles

Lint styles and scripts

yarn lint

Fix

yarn run lint:fix

Build with environment

yarn release --env example

Requires a file .env.example file in the root folder of the project You can add any files to your environments

Code generation commands

Add layout

yarn add-layout --name test-layout
yarn add-layout --name 'test layout'

Optional

yarn add-layout --name test-layout --type class (default)
yarn add-layout --name test-layout --type function

Add page

yarn add-page --name test-page
yarn add-page --name 'test page'

Optional

yarn add-page --name test-page --type class (default)
yarn add-page --name test-page --type function

Add fragment

yarn add-fragment --name test-fragment
yarn add-fragment --name 'test fragment'

Optional

yarn add-fragment --name test-fragment --type class (default)
yarn add-fragment --name test-fragment --type function

Add component

yarn add-component --name test-component
yarn add-component --name 'test component'

Optional

yarn add-component --name test-component --type class (default)
yarn add-component --name test-component' --type function

Features

  • Webpack 4
  • TypeScript
  • Styled Components
  • PostCss / scss
  • Svg sprites
  • MobX
  • Tests
  • Code generation

Get in touch

react-starter's People

Contributors

lnked avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-starter's Issues

Logo

Hi. I am a graphic designer. I volunteer to design a logo for open source projects. I can design it for you to use it in the readme file. What dou you say?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.