Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

Commit f3a1229

Browse files
authored
Update to new plugin infrastructure (#61)
* Update to new plugin infrastructure * Remove Node 4 from Travis CI
1 parent 5494130 commit f3a1229

19 files changed

Lines changed: 3257 additions & 274 deletions

.babelrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.DS_Store
2+
13
# Logs
24
logs
35
*.log
@@ -27,5 +29,4 @@ node_modules
2729
# Users Environment Variables
2830
.lock-wscript
2931

30-
# The compiled/babelified modules
31-
lib/
32+
dist/

.istanbul.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
verbose: false
22
instrumentation:
3-
root: ./src/
4-
excludes:
5-
- lib/
3+
root: ./lib/
64
include-all-sources: true
75
reporting:
86
print: summary
@@ -14,4 +12,4 @@ reporting:
1412
statements: [50, 80]
1513
lines: [50, 80]
1614
functions: [50, 80]
17-
branches: [50, 80]
15+
branches: [50, 80]

.npmignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
.editorconfig
2+
.jshintrc
23
.travis.yml
34
.istanbul.yml
45
.babelrc
56
.idea/
6-
src/
7+
.vscode/
78
test/
8-
!lib/
9+
coverage/
910
.github/
10-
coverage

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: node_js
33
node_js:
44
- node
55
- '6'
6-
- '4'
76
addons:
87
code_climate:
98
repo_token: d9f42f8f2e37d2901823173fc96052de64f71b273a9320377cb11f5f878a7928

client.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

client.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

index.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

src/index.js renamed to lib/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import makeDebug from 'debug';
2-
import Proto from 'uberproto';
3-
import socket from 'feathers-socket-commons';
4-
import Primus from 'primus';
5-
import Emitter from 'primus-emitter';
1+
const makeDebug = require('debug');
2+
const Proto = require('uberproto');
3+
const socket = require('feathers-socket-commons');
4+
const Primus = require('primus');
5+
const Emitter = require('primus-emitter');
66

77
const debug = makeDebug('feathers-primus');
88

9-
export default function (config, configurer) {
9+
module.exports = function (config, configurer) {
1010
return function () {
1111
const app = this;
1212

@@ -57,4 +57,4 @@ export default function (config, configurer) {
5757
}
5858
}, app);
5959
};
60-
}
60+
};

mocha.opts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
--recursive test/
2-
--compilers js:babel-core/register
32
--exit

0 commit comments

Comments
 (0)