3.1.0 ā€¢ Published 4 years ago

@gnarlycode/react-app-tools v3.1.0

Weekly downloads
40
License
ISC
Repository
github
Last release
4 years ago
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 config
  • gnarly.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
3.1.0

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.3.0

5 years ago

2.2.5

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.5

6 years ago

2.1.4

6 years ago

2.1.3

6 years ago

2.1.2

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.6.0

6 years ago

1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago