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(
- +