2.0.3 • Published 4 years ago

brdcst v2.0.3

Weekly downloads
21
License
-
Repository
github
Last release
4 years ago

Hartalega Broadcast : Widget

Build Status

A lightweight and offline-first embeddable widget for internal Hartalega Application.

Development

npm run start

Starts the development server running on http://localhost:3000

Server

Development

npm start

Starts the development server and makes your application accessible at localhost:3000 with hot-reloaded.

Production

npm run start:production
  • Runs tests (see npm test)
  • Builds your app (see npm run build)
  • Starts the production server (see npm run start:prod)

The app is built for optimal performance: assets are minified and served gzipped.

Host and Port

To change the host and/or port the app is accessible at, pass the --host and/or --port option to the command with --. E.g. to make the app visible at my-local-hostname:5000, run the following: npm start -- --host my-local-hostname --port 5000

Building

npm run build

Preps your app for deployment (does not run tests). Optimizes and minifies all files, piping them to the build folder.

Linting

npm run lint

Lints your JavaScript and your CSS.

npm run lint:eslint:fix -- .

Lints your code and tries to fix any errors it finds.