Skip to content

Commit

Permalink
refactor: use aegir
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Apr 15, 2016
1 parent 9744268 commit 8937fa5
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 6 deletions.
29 changes: 29 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

test
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
sudo: false
language: node_js
node_js:
- 4
- 5

# Make sure we have new NPM.
before_install:
- npm i -g npm
- npm install -g npm

script:
- npm run lint
- npm test
- npm run coverage

after_success:
- npm run coverage-publish
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
machine:
node:
version: stable
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
"description": "Node.js implementation of the µTP module that libp2p uses, which implements the abstract-connection interface",
"main": "lib/index.js",
"scripts": {
"lint": "dignified-lint",
"test": "dignified-test node",
"build": "dignified-build",
"release": "dignified-release"
"lint": "aegir-lint",
"test": "aegir-test node",
"build": "aegir-build only-node",
"release": "aegir-release only-node",
"coverage": "aegir-coverage",
"coverage-publish": "aegir-coverage publish"
},
"pre-commit": [
"lint",
Expand All @@ -26,8 +28,8 @@
},
"homepage": "https://github.com/diasdavid/js-libp2p-utp",
"devDependencies": {
"aegir": "^2.1.1",
"chai": "^3.5.0",
"dignified.js": "^1.0.0",
"interface-connection": "^0.0.3",
"interface-transport": "^0.1.1",
"pre-commit": "^1.1.2",
Expand Down

0 comments on commit 8937fa5

Please sign in to comment.