diff --git a/ui/Dockerfile.build b/ui/Dockerfile.build index 50851074..10d037d9 100644 --- a/ui/Dockerfile.build +++ b/ui/Dockerfile.build @@ -4,7 +4,6 @@ ARG CIRCLE_BUILD_NUM ENV NPM_TOKEN ${NPM_TOKEN} ENV CIRCLE_BUILD_NUM ${CIRCLE_BUILD_NUM} RUN echo -e "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc -RUN make install RUN NODE_ENV=production make compile RUN npm version 0.0.1-${CIRCLE_BUILD_NUM} RUN npm publish --tag alpha --access public diff --git a/ui/Makefile b/ui/Makefile index fefd799d..49427d20 100644 --- a/ui/Makefile +++ b/ui/Makefile @@ -28,7 +28,7 @@ install-docs: .PHONY: install install: install-embed-markdown-loader - yarn install --prefer-offline + NODE_ENV=development yarn install --prefer-offline .PHONY: start start: diff --git a/ui/stories/index.js b/ui/stories/index.js index 2e37db61..dfefbc60 100644 --- a/ui/stories/index.js +++ b/ui/stories/index.js @@ -311,7 +311,7 @@ const colors = { alt: 'rgba(245, 93, 93, 0.2)' }; storiesOf('Metrics', module) - .add('mini', () => ( + .add('Mini Metric', () => (