Skip to content

Commit c27f4c1

Browse files
committed
dist
1 parent 177d44e commit c27f4c1

File tree

3 files changed

+273
-284
lines changed

3 files changed

+273
-284
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,13 @@
5858
"start": "parcel index.html",
5959
"build": "parcel build index.html --out-dir dist && yarn deletemaps",
6060
"deletemaps": "find . -type f -name *.map -delete",
61+
"lint": "prettier-eslint --write '**/*.{js,jsx}' --no-semi --trailing-comma es5 --tab-width 2 --single-quote",
6162
"delete-locks": "find . -type f -name package-lock.json -delete && find . -type f -name yarn.lock -delete",
6263
"delete-modules": "find . -type d -name node_modules -exec rm -rf \"{}\" +",
6364
"mass-install": "find . -maxdepth 1 -type d \\( ! -name . \\) -exec bash -c \"cd '{}' && npm install\" \\;",
64-
"cleanup": "yarn delete-locks && yarn delete-modules"
65+
"cleanup": "yarn delete-locks && yarn delete-modules",
66+
"zipdist": "zip dist.zip dist/*",
67+
"build-prod": "yarn cleanup && yarn && yarn build && yarn zipdist"
6568
},
6669
"targets": {
6770
"chrome": "58",

src/index.js

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
1-
import LogRocket from 'logrocket';
2-
import setupLogRocketReact from 'logrocket-react';
3-
LogRocket.init('chipsoft/ezrage');
4-
setupLogRocketReact(LogRocket);
5-
61
import React, { useState } from 'react'
72
import ReactDOM from 'react-dom'
8-
9-
// if (process.env.NODE_ENV !== 'production') {
10-
// const whyDidYouRender = require('@welldone-software/why-did-you-render')
11-
// whyDidYouRender(React, {
12-
// onlyLogs: true,
13-
// titleColor: 'green',
14-
// diffNameColor: 'darkturquoise',
15-
// })
16-
// }
17-
183
import { BrowserRouter, HashRouter, Switch, Route } from 'react-router-dom'
194

205
import App from './App'

0 commit comments

Comments
 (0)