@gnarlycode/react-app-tools v3.1.0
GNARLY CODE Presents
REACT APP TOOLS
DESIGNED FOR CREATE-GNARLY-APP!
Helps to build universal
or static
react apps.
COMMANDS
š¹ npm run dev
ā dev server (hot reload, watch mode etc)
š¹ npm run build
ā build the app
š¹ npm run build-static
ā build the app with static html's
š¹ npm start
ā serve builded app
š¹ npm run tsint
ā check linter rules
CONFIG
You can create next files in root of your project to configure builder:
gnarly.config.js
ā default configgnarly.config.local.js
ā local, extends default, do not commit
Available options:
module.exports = {
// Server listening
host: '0.0.0.0',
port: 8080,
// Url prefix
baseUrl: '/base-url',
// For static renderer, used when you run `npm run build-static` or `build-all`
routerConfig: './src/routes',
// Serve static with express (do not enable if static served with nginx for example)
serveStatic: true,
}
Also you can create _env
and .env
for extra configurations
CREDITS
babel
commander
dotenv-webpack
dotenv
express
inquirer
react-helmet
react-hot-loader
react-router
react
redux
astroturf
svg-sprite-loader
eslint
typescript
webpack-hot-server-middleware
webpack
Author: Dmitry Podlesny
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago