Fix ui deployment

This commit is contained in:
Tom Gallacher 2017-01-06 11:26:08 +00:00
parent 1e50e4d7aa
commit 49ae9e1eee
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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:

View File

@ -311,7 +311,7 @@ const colors = {
alt: 'rgba(245, 93, 93, 0.2)'
};
storiesOf('Metrics', module)
.add('mini', () => (
.add('Mini Metric', () => (
<MiniMetric
datasets={[{
backgroundColor: colors['perc'],