influxdb/ui
Andrew Watkins 0f1a9a4d92 Make input SFC 2017-08-24 15:59:45 -07:00
..
.storybook
assets/images Use a new interaction pattern and new styles for file upload 2017-08-17 17:00:22 -07:00
spec Remove test console.log. 2017-08-18 15:35:25 -06:00
src Make input SFC 2017-08-24 15:59:45 -07:00
stories
tests
webpack
.babelrc
.eslintignore
.eslintrc
.gitignore
.npmrc
README.md
karma.conf.js
nightwatch.json
package.json Add SHOW DATABASES integration test with Nightwatch.js. 2017-08-24 15:59:42 -07:00
storybook.js
yarn.lock

README.md

Packages

We are using yarn 0.19.1.

Run yarn run to see a list of available tasks.

Adding new packages

To add a new package, run

yarn add packageName

Adding devDependency

yarn add --dev packageName

Updating a package

First, run

yarn outdated

... to determine which packages may need upgrading.

We really should not upgrade all packages at once, but, one at a time and make darn sure to test.

To upgrade a single package named packageName:

yarn upgrade packageName

Testing

Tests can be run via command line with yarn test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.