From bdf54945fed6decce241c37931b8593f96489e7a Mon Sep 17 00:00:00 2001 From: Jeff Avallone Date: Sun, 11 Feb 2018 07:11:16 -0500 Subject: [PATCH] Keeping description consistent across app --- package.json | 2 +- src/template.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ccffe8b..7152304 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "regexper", "version": "1.0.0", - "description": "Regular expression visualization tool", + "description": "Regular expression visualization tool using railroad diagrams", "homepage": "http://regexper.com", "author": { "name": "Jeffrey Avallone", diff --git a/src/template.js b/src/template.js index 82de999..efc2517 100644 --- a/src/template.js +++ b/src/template.js @@ -2,6 +2,8 @@ import 'babel-register'; import React from 'react'; import ReactDOMServer from 'react-dom/server'; +import pkg from '../package.json'; + import Message from './components/Message'; import AlertIcon from 'feather-icons/dist/icons/alert-octagon.svg'; import GithubIcon from 'feather-icons/dist/icons/github.svg'; @@ -11,7 +13,7 @@ module.exports = '' + ReactDOMServer.renderToString( - +