Socket
Socket
Sign inDemoInstall

access-watch-ui

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

access-watch-ui

The Access Watch User Interface


Version published
Weekly downloads
5
decreased by-90.2%
Maintainers
2
Weekly downloads
 
Created
Source

Usage

  • npm start: Runs a webpack dev server. Point browser to http://localhost:8080/main.
  • npm run lint: Runs eslint. This has to pass for CI to be successful.
  • npm test[:watch]: Runs tests. This has to pass for CI to be successful.
  • npm run build[:staging]: Builds for production, :staging is unminified
  • npm run prettier[|:watch]: Runs prettier

Environment variables

Environment variables are read during build time and injected by webpack.

  • API_BASE_URL=http://127.0.0.1:8000/1.0/etc: API base url (default: "http://localhost:3000")
  • NODE_ENV=production: (default: "")
  • WEBSOCKET_BASE_URL=ws://access.watch:8888: (default: "ws://localhost:3000")

Development

If you are developing on the project, you may find yourself wanting to modify some components coming from the shared components library access-watch-ui-components. To install node_modules for both projects, you can lerna bootstrap. You can easily link the dependency with lerna (lerna link) to see your modifications in the main ui.

Publishing

To publish a new version to npm, you should use lerna publish. Though in most cases, you will only have modified the UI itself, not the access-watch-ui-components package. In such case, you want to only publish this package. You can do so with lerna publish --scope access-watch-ui.

FAQs

Package last updated on 29 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc