mirror of
https://github.com/fluencelabs/js-mafmt
synced 2025-04-24 20:12:29 +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
|
lib
|
||||||
dist
|
dist
|
||||||
|
coverage
|
||||||
|
|
||||||
*.log
|
*.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
|
11
README.md
11
README.md
@ -1,7 +1,12 @@
|
|||||||
js-mafmt
|
js-mafmt
|
||||||
========
|
========
|
||||||
|
|
||||||
[](http://ipn.io) [](http://webchat.freenode.net/?channels=%23ipfs)
|
[](http://ipn.io)
|
||||||
|
[](http://ipfs.io/)
|
||||||
> Javascript implementation of multiaddr validation
|
[](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",
|
"main": "lib/index.js",
|
||||||
"jsnext:main": "src/index.js",
|
"jsnext:main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "dignified-lint",
|
"lint": "aegir-lint",
|
||||||
"build": "dignified-build",
|
"build": "aegir-build",
|
||||||
"test": "dignified-test",
|
"test": "aegir-test",
|
||||||
"test:node": "dignified-test node",
|
"test:node": "aegir-test node",
|
||||||
"test:browser": "dignified-test browser",
|
"test:browser": "aegir-test browser",
|
||||||
"release": "dignified-release"
|
"release": "aegir-release",
|
||||||
|
"coverage": "aegir-coverage",
|
||||||
|
"coverage-publish": "aegir-coverage publish"
|
||||||
},
|
},
|
||||||
"pre-commit": [
|
"pre-commit": [
|
||||||
"lint",
|
"lint",
|
||||||
@ -30,8 +32,8 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://github.com/whyrusleeping/js-mafmt#readme",
|
"homepage": "https://github.com/whyrusleeping/js-mafmt#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"aegir": "^2.1.1",
|
||||||
"chai": "^3.5.0",
|
"chai": "^3.5.0",
|
||||||
"dignified.js": "github:dignifiedquire/dignified.js",
|
|
||||||
"pre-commit": "^1.1.2"
|
"pre-commit": "^1.1.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user