Skip to content
This repository has been archived by the owner on Jan 7, 2019. It is now read-only.

Latest commit

 

History

History
70 lines (49 loc) · 1.09 KB

README.md

File metadata and controls

70 lines (49 loc) · 1.09 KB

Build Status

TypeScript react-mobx boilerplate

Pic Simple boilerplate for single page applications.


Installation

You should have git, node and npm.

Fork this repository, and run:

git clone https://github.com/<account>/typescript-react-mobx-boilerplate.git

where <account> is your github username.

Install global packages:

npm i -g webpack stylelint eslint eslint-plugin-node jest-cli tslint [email protected]

Go to dir:

cd typescript-react-mobx-boilerplate/

Install dependencies:

npm i

Edit misc/settings.js as you need.


Using

Run server:

npm start

Note: you can use npm run server

Production build:

npm run build

Delete build folder:

npm run clean

Run tests:

npm test

Lint project:

npm run lint

Note: you can use npm run lint:scripts and npm run lint:styles