From 2d439c3b1044aafa77d9eb87e758a1ebd05da9cc Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 24 Aug 2021 23:07:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Remove=20preview=20website?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 +++----- src/Preview.tsx | 14 -------------- src/index.tsx | 16 ---------------- 3 files changed, 3 insertions(+), 35 deletions(-) delete mode 100644 src/Preview.tsx delete mode 100644 src/index.tsx diff --git a/package.json b/package.json index 8950427..ca251d2 100644 --- a/package.json +++ b/package.json @@ -37,13 +37,11 @@ "babel-loader": "8.1.0" }, "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject", - "storybook": "start-storybook -p 30060 -s public", - "build-storybook": "build-storybook -s public", - "deploy-storybook": "storybook-to-ghpages" + "start": "start-storybook -p 30060 -s public", + "build": "build-storybook -s public", + "deploy": "storybook-to-ghpages" }, "browserslist": { "production": [ diff --git a/src/Preview.tsx b/src/Preview.tsx deleted file mode 100644 index 07e668e..0000000 --- a/src/Preview.tsx +++ /dev/null @@ -1,14 +0,0 @@ -import * as React from "react" -import * as ReactDOM from "react-dom" -import {Bluelib} from "./components/Bluelib"; -import * as Colors from "./utils/Colors" -import {Chapter} from "./components/chapters/Chapter"; -import {Heading} from "./components/common/Heading"; -import {Panel} from "./components/panels/Panel"; - - -export function Preview({...props}): JSX.Element { - return ( - Nothing to render here. - ) -} \ No newline at end of file diff --git a/src/index.tsx b/src/index.tsx deleted file mode 100644 index f6518c2..0000000 --- a/src/index.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import Preview from './Preview'; -import reportWebVitals from './reportWebVitals'; - -ReactDOM.render( - - - , - document.getElementById('react-root') -); - -// If you want to start measuring performance in your app, pass a function -// to log results (for example: reportWebVitals(console.log)) -// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals -reportWebVitals();