2.3.4 • Published 6 years ago

access-watch-ui v2.3.4

Weekly downloads
13
License
Apache-2.0
Repository
github
Last release
6 years ago

Build Status Greenkeeper badge

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.

2.3.4

6 years ago

2.3.3

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.3.0

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

1.9.4

6 years ago

1.9.3

6 years ago

1.9.2

6 years ago

1.9.1

6 years ago

1.9.0

6 years ago

1.8.11

6 years ago

1.8.10

6 years ago

1.8.9

6 years ago

1.8.6

6 years ago

1.8.5

6 years ago

1.8.3

6 years ago

1.8.1

6 years ago

1.8.0

6 years ago

1.7.1

6 years ago

1.7.0

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.5

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.1

6 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.9

6 years ago

1.2.8

6 years ago

1.2.7

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago