diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index 33e00d6..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
- // Use IntelliSense to learn about possible Node.js debug attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "type": "node",
- "request": "launch",
- "name": "Launch Program",
- "program": "${workspaceRoot}/node_modules/.bin/mocha",
- "args": [
- "--require", "should",
- "test/ansi_up-test.js"
- ],
- "cwd": "${workspaceRoot}",
- "outDir": "${workspaceRoot}/",
- "sourceMaps": true
- },
- {
- "type": "node",
- "request": "attach",
- "name": "Attach to Process",
- "port": 5858,
- "outDir": "${workspaceRoot}/"
- }
- ]
-}
\ No newline at end of file
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
deleted file mode 100644
index 34862b5..0000000
--- a/.vscode/tasks.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- // See https://go.microsoft.com/fwlink/?LinkId=733558
- // for the documentation about the tasks.json format
- "version": "0.1.0",
- "command": "./node_modules/.bin/tsc",
- "isShellCommand": true,
- "args": ["-p", "."],
- "showOutput": "always"
-}
\ No newline at end of file
diff --git a/Makefile b/Makefile
index 1f1a358..dc5e01b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,11 @@
-SOURCE = *.ts
-TESTS = test/*.js
+SOURCE = *.ts
+TESTS = test/*.js
REPORTER = dot
typescript:
./node_modules/.bin/tsc -p .
- cat ./umd.header ./dist/ansi_up.js ./umd.footer > ansi_up.js
- mv ./dist/ansi_up.js ./dist/ansi_up.js.include
- node ./scripts/fix-typings.js
-
+
test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--require should \
diff --git a/Readme.md b/Readme.md
index e739b67..21918ca 100644
--- a/Readme.md
+++ b/Readme.md
@@ -3,7 +3,7 @@
__ansi_up__ is an easy to use library that transforms text containing
[ANSI color escape codes](http://en.wikipedia.org/wiki/ANSI_escape_code#Colors) into HTML.
-This module is a single Javascript file with no dependencies.
+This module is a single ES6 Javascript file with no dependencies.
It is "isomorphic" javascript. This is just another way of saying that
the ansi_up.js file will work in both the browser or node.js.
The js library is compiled from TypeScript and its type description ships with the NPM.
@@ -25,12 +25,13 @@ For example, turn this terminal output:
## Browser Example
```HTML
-
-