From ce2a34acf42ecf3b0fb5241d463a4698c59a431d Mon Sep 17 00:00:00 2001 From: Brian B <15702512+briancodes@users.noreply.github.com> Date: Wed, 3 Jul 2019 20:11:14 +0100 Subject: [PATCH] Feature/comments and styling (#5) * Update color * Using --no-compress flag to keep comments * remove types field (unused at present) --- .gitignore | 1 + lib/index.js | 2 +- package.json | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 74a1746..0307c1f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ node_modules app/build .cache +.rts* dist coverage \ No newline at end of file diff --git a/lib/index.js b/lib/index.js index a5815bd..9972f47 100644 --- a/lib/index.js +++ b/lib/index.js @@ -13,7 +13,7 @@ const FLEX_CONTAINER_CLASS = 'dom-log__flex-container'; const BACKGROUND_COLOR = '#212020'; const BORDER_COLOR = '#cececec4'; const PRE_STYLE = { - color: '#7db15a', + color: '#40c64c', fontSize: ' 0.9em', overflowX: 'auto', margin: '0', diff --git a/package.json b/package.json index 1bab2cd..e78b74b 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "scripts": { "serve": "parcel app/app-index.html --out-dir app/build --open", - "build": "microbundle --name domLog", + "build": "microbundle --name domLog --no-compress", "test": "jest", "coverage": "jest --coverage", "release": "npm run build && np" @@ -21,7 +21,6 @@ "module": "dist/index.m.js", "umd:main": "dist/index.umd.js", "unpkg": "dist/index.umd.js", - "types": "dist/index.d.ts", "files": [ "lib", "dist"