MyCrypto Boilerplate
React + Typescript boilerplate
Getting Started
- Download source files or
git clone
- Install dependencies with
npm i
- Develop locally with
npm start
- Build with
npm run build
Commands
npm start
Runs webpack in development mode and launches webpack-dev-server on port 8080 โ http://localhost:8080.
npm run build
Runs webpack in production mode and outputs a build at ./dist
. Webpack optimizes the build for performance, these settings can be configured in ./webpack_config/webpack.prod.js
.
npm run precommit
Used by githooks to format commits with prettier.
npm run prepush
Used by githooks to check for linting errors with tslint.
What's Included?
- React, Redux, ES7, and Typescript.
- A live development server with hot module reloading.
- A build script to bundle Typescript, JS, CSS, and other assets for production.
License
MyCrypto Boilerplate is MIT licensed.