mirror of
https://github.com/fluencelabs/js-mafmt
synced 2025-04-25 01:42:24 +00:00
refactor: use aegir
This commit is contained in:
parent
cabcc7106e
commit
e91f738b65
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,5 +2,6 @@ node_modules
|
||||
|
||||
lib
|
||||
dist
|
||||
coverage
|
||||
|
||||
*.log
|
||||
|
7
.npmignore
Normal file
7
.npmignore
Normal file
@ -0,0 +1,7 @@
|
||||
node_modules
|
||||
|
||||
coverage
|
||||
|
||||
*.log
|
||||
|
||||
test
|
24
.travis.yml
Normal file
24
.travis.yml
Normal file
@ -0,0 +1,24 @@
|
||||
sudo: false
|
||||
language: node_js
|
||||
node_js:
|
||||
- 4
|
||||
- 5
|
||||
|
||||
# Make sure we have new NPM.
|
||||
before_install:
|
||||
- npm install -g npm
|
||||
|
||||
script:
|
||||
- npm run lint
|
||||
- npm test
|
||||
- npm run coverage
|
||||
|
||||
addons:
|
||||
firefox: 'latest'
|
||||
|
||||
before_script:
|
||||
- export DISPLAY=:99.0
|
||||
- sh -e /etc/init.d/xvfb start
|
||||
|
||||
after_success:
|
||||
- npm run coverage-publish
|
@ -1,7 +1,12 @@
|
||||
js-mafmt
|
||||
========
|
||||
|
||||
[](http://ipn.io) [](http://webchat.freenode.net/?channels=%23ipfs)
|
||||
[](http://ipn.io)
|
||||
[](http://ipfs.io/)
|
||||
[](http://webchat.freenode.net/?channels=%23ipfs)
|
||||
[](https://coveralls.io/github/whyrusleeping/js-mafmt?branch=master)
|
||||
[](https://travis-ci.org/whyrusleeping/js-mafmt)
|
||||
[](https://circleci.com/gh/whyrusleeping/js-mafmt)
|
||||
[](https://david-dm.org/whyrusleeping/js-mafmt) [](https://github.com/feross/standard)
|
||||
|
||||
> Javascript implementation of multiaddr validation
|
||||
|
||||
|
12
circle.yml
Normal file
12
circle.yml
Normal file
@ -0,0 +1,12 @@
|
||||
machine:
|
||||
node:
|
||||
version: stable
|
||||
|
||||
dependencies:
|
||||
pre:
|
||||
- google-chrome --version
|
||||
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
||||
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
||||
- sudo apt-get update
|
||||
- sudo apt-get --only-upgrade install google-chrome-stable
|
||||
- google-chrome --version
|
16
package.json
16
package.json
@ -5,12 +5,14 @@
|
||||
"main": "lib/index.js",
|
||||
"jsnext:main": "src/index.js",
|
||||
"scripts": {
|
||||
"lint": "dignified-lint",
|
||||
"build": "dignified-build",
|
||||
"test": "dignified-test",
|
||||
"test:node": "dignified-test node",
|
||||
"test:browser": "dignified-test browser",
|
||||
"release": "dignified-release"
|
||||
"lint": "aegir-lint",
|
||||
"build": "aegir-build",
|
||||
"test": "aegir-test",
|
||||
"test:node": "aegir-test node",
|
||||
"test:browser": "aegir-test browser",
|
||||
"release": "aegir-release",
|
||||
"coverage": "aegir-coverage",
|
||||
"coverage-publish": "aegir-coverage publish"
|
||||
},
|
||||
"pre-commit": [
|
||||
"lint",
|
||||
@ -30,8 +32,8 @@
|
||||
},
|
||||
"homepage": "https://github.com/whyrusleeping/js-mafmt#readme",
|
||||
"devDependencies": {
|
||||
"aegir": "^2.1.1",
|
||||
"chai": "^3.5.0",
|
||||
"dignified.js": "github:dignifiedquire/dignified.js",
|
||||
"pre-commit": "^1.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user