From 75f8be7ac6b26c4eb2ccafccc94d04e073cca770 Mon Sep 17 00:00:00 2001 From: David Dias Date: Tue, 25 Aug 2015 11:00:19 +0100 Subject: [PATCH] badgers, ci, standard, precommit --- .travis.yml | 13 +++++++++++++ README.md | 8 ++++++-- package.json | 26 ++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 .travis.yml create mode 100644 package.json diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..5679e52c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +language: node_js +node_js: + - "iojs" + +branches: + only: + - master + +before_install: + - npm i -g npm + # Workaround for a permissions issue with Travis virtual machine images +script: + - npm test diff --git a/README.md b/README.md index 3f9a9887..52ef6726 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ -# node-libp2p -Node.js implementation of libp2p +node-libp2p +=========== + +[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) ![Build Status](https://travis-ci.org/diasdavid/node-libp2p.svg?style=flat-square)](https://travis-ci.org/diasdavid/node-libp2p) ![](https://img.shields.io/badge/coverage-%3F-yellow.svg?style=flat-square) [![Dependency Status](https://david-dm.org/diasdavid/node-libp2p.svg?style=flat-square)](https://david-dm.org/diasdavid/node-libp2p) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) + +> Node.js implementation of libp2p diff --git a/package.json b/package.json new file mode 100644 index 00000000..7e3a19ad --- /dev/null +++ b/package.json @@ -0,0 +1,26 @@ +{ + "name": "libp2p", + "version": "0.0.0", + "description": "Node.js implementation of libp2p", + "main": "src/index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://github.com/diasdavid/node-libp2p.git" + }, + "keywords": [ + "IPFS" + ], + "author": "David Dias ", + "license": "MIT", + "bugs": { + "url": "https://github.com/diasdavid/node-libp2p/issues" + }, + "homepage": "https://github.com/diasdavid/node-libp2p", + "devDependencies": { + "pre-commit": "^1.1.1", + "standard": "^5.1.0" + } +}