Skip to content

Commit

Permalink
* updating the promise-handler filename to use hyphen-casing instead …
Browse files Browse the repository at this point in the history
…of snake_casing to match the library idioms.

* Updating the npmignore so that coverage isn't published
* Updating the output of the library code so that require('') on sub-paths will behave normally
  • Loading branch information
Chris Trevino committed Mar 18, 2015
1 parent 876b4c5 commit 40a4979
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ node_modules

# Build Library
lib/

/jefferson.js
/proxies/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ test/
*.es6
Gulpfile.js
gulp.tasks.js
coverage/
2 changes: 1 addition & 1 deletion gulp.tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var gulp = require('gulp'),
MOCHA_REPORTER = 'nyan',
paths = {
source: ['src/**/*.js', '!src/**/*.test.js'],
dest: 'lib/',
dest: './',
main: 'src/index.js',
test: 'src/**/*.test.js',
build: {
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"name": "express-jefferson",
"version": "1.0.0",
"description": "Declarative Application Routing",
"main": "./lib/index.js",
"directories": {
"lib": "./lib"
},
"main": "jefferson.js",
"scripts": {
"test": "gulp ci-build"
},
Expand Down
1 change: 0 additions & 1 deletion src/index.js

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var proxy = require('./promise_handler'),
var proxy = require('./promise-handler'),
chai = require('chai'),
expect = chai.expect;

Expand Down

0 comments on commit 40a4979

Please sign in to comment.