Skip to content

Commit d85c0c6

Browse files
committed
build perf, fix for bowerfile, fix for webworker
1 parent dc043cf commit d85c0c6

File tree

14 files changed

+38
-1505
lines changed

14 files changed

+38
-1505
lines changed

.eslintrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"parserOptions": {
3-
"ecmaVersion": 6,
4-
"sourceType": "module"
5-
},
6-
"parser": "babel-eslint",
72
"env": {
83
"browser": true,
94
"node": true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules
33
*.sock
44
build
55
yarn.lock
6+
coverage

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ example
55
*.sock
66
dist
77
yarn.lock
8+
coverage

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
2.4.5 / 2016-12-17
32
==================
43

Makefile

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,31 @@ BROWSERIFY ?= $(NODE) $(BIN)/browserify
2020
all: dist/debug.js
2121

2222
install: node_modules
23-
24-
clean:
25-
@rm -rf dist
26-
27-
dist:
28-
@mkdir -p $@
29-
30-
dist/debug.js: node_modules browser.js debug.js dist
31-
@$(BROWSERIFY) \
32-
--standalone debug \
33-
. > $@
34-
35-
distclean: clean
36-
@rm -rf node_modules
37-
23+
3824
node_modules: package.json
3925
@NODE_ENV= $(PKG) install
4026
@touch node_modules
4127

4228
lint: .FORCE
4329
eslint browser.js debug.js index.js node.js
4430

45-
test: .FORCE
31+
test-node: .FORCE
4632
istanbul cover node_modules/mocha/bin/_mocha -- test/**.js
33+
34+
test-browser: .FORCE
35+
mkdir -p dist
36+
37+
@$(BROWSERIFY) \
38+
--standalone debug \
39+
. > dist/debug.js
40+
4741
karma start --single-run
42+
rimraf dist
43+
44+
test: .FORCE
45+
concurrently \
46+
"make test-node" \
47+
"make test-browser"
4848

4949
coveralls:
5050
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# debug
2-
[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug)
2+
[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug) [![Coverage Status](https://coveralls.io/repos/github/visionmedia/debug/badge.svg?branch=master)](https://coveralls.io/github/visionmedia/debug?branch=master)
33

44
A tiny node.js debugging utility modelled after node core's debugging technique.
55

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "visionmedia-debug",
3-
"main": "./src/debug.js",
3+
"main": "./src/browser.js",
44
"homepage": "https://github.com/visionmedia/debug",
55
"authors": [
66
"TJ Holowaychuk <[email protected]>",

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "debug",
33
"repo": "visionmedia/debug",
44
"description": "small debugging utility",
5-
"version": "2.4.5",
5+
"version": "2.4.6",
66
"keywords": [
77
"debug",
88
"log",

0 commit comments

Comments
 (0)