Skip to content

Commit

Permalink
build perf, fix for bowerfile, fix for webworker
Browse files Browse the repository at this point in the history
  • Loading branch information
thebigredgeek committed Dec 21, 2016
1 parent dc043cf commit d85c0c6
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 1,505 deletions.
5 changes: 0 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"parser": "babel-eslint",
"env": {
"browser": true,
"node": true
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
*.sock
build
yarn.lock
coverage
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ example
*.sock
dist
yarn.lock
coverage
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

2.4.5 / 2016-12-17
==================

Expand Down
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,31 +20,31 @@ BROWSERIFY ?= $(NODE) $(BIN)/browserify
all: dist/debug.js

install: node_modules

clean:
@rm -rf dist

dist:
@mkdir -p $@

dist/debug.js: node_modules browser.js debug.js dist
@$(BROWSERIFY) \
--standalone debug \
. > $@

distclean: clean
@rm -rf node_modules


node_modules: package.json
@NODE_ENV= $(PKG) install
@touch node_modules

lint: .FORCE
eslint browser.js debug.js index.js node.js

test: .FORCE
test-node: .FORCE
istanbul cover node_modules/mocha/bin/_mocha -- test/**.js

test-browser: .FORCE
mkdir -p dist

@$(BROWSERIFY) \
--standalone debug \
. > dist/debug.js

karma start --single-run
rimraf dist

test: .FORCE
concurrently \
"make test-node" \
"make test-browser"

coveralls:
cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# debug
[![Build Status](https://travis-ci.org/visionmedia/debug.svg?branch=master)](https://travis-ci.org/visionmedia/debug)
[![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)

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

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "visionmedia-debug",
"main": "./src/debug.js",
"main": "./src/browser.js",
"homepage": "https://github.com/visionmedia/debug",
"authors": [
"TJ Holowaychuk <tj@vision-media.ca>",
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "debug",
"repo": "visionmedia/debug",
"description": "small debugging utility",
"version": "2.4.5",
"version": "2.4.6",
"keywords": [
"debug",
"log",
Expand Down
Loading

0 comments on commit d85c0c6

Please sign in to comment.