@universityofwarwick/statuspage-widget

0.1.0 • Public • Published

StatusPage widget

Build status Netlify Status

Deploys by Netlify

A StatusPage widget that supports restricting by component. If you don't need to restrict by component then you may wish to just use @statuspage/status-widget.

Available Scripts

In the project directory, you can run:

npm start

NOTE: Currently broken since the move to Preact, needs looking at.

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder. This is what Netlify runs when it deploys the assets.

npm run dist

Builds the app for distribution to the dist folder. This is run on prepublish for npm.

Analysing bundle size

You can analyse the webpack bundle size by running the following:

npm run dist -- --stats
npx webpack-bundle-analyzer dist/bundle-stats.json

Readme

Keywords

none

Package Sidebar

Install

npm i @universityofwarwick/statuspage-widget

Weekly Downloads

19

Version

0.1.0

License

ISC

Unpacked Size

210 kB

Total Files

26

Last publish

Collaborators

  • lk9100
  • nickhowes
  • flamingelk
  • warwick-goatee
  • warwick-glasses