mirror of
https://github.com/fluencelabs/js-libp2p-tcp
synced 2025-04-25 12:22:37 +00:00
chore: update deps (#110)
* chore: add node 12 to travis * test: just use spec files
This commit is contained in:
parent
c26cc70c65
commit
44f9e32d07
19
.travis.yml
19
.travis.yml
@ -1,5 +1,6 @@
|
|||||||
language: node_js
|
language: node_js
|
||||||
cache: npm
|
cache: npm
|
||||||
|
sudo: false
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- check
|
- check
|
||||||
@ -8,22 +9,20 @@ stages:
|
|||||||
|
|
||||||
node_js:
|
node_js:
|
||||||
- '10'
|
- '10'
|
||||||
|
- '12'
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
- windows
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'; fi
|
||||||
script: npx nyc -s npm run test:node -- --bail
|
script: npx nyc -s npm run test:node -- --bail
|
||||||
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- os: linux
|
|
||||||
sudo: false
|
|
||||||
before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
|
|
||||||
|
|
||||||
- os: windows
|
|
||||||
filter_secrets: false
|
|
||||||
cache: false
|
|
||||||
|
|
||||||
- os: osx
|
|
||||||
|
|
||||||
- stage: check
|
- stage: check
|
||||||
os: linux
|
os: linux
|
||||||
script:
|
script:
|
||||||
|
13
package.json
13
package.json
@ -6,8 +6,8 @@
|
|||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "aegir lint",
|
"lint": "aegir lint",
|
||||||
"test": "aegir test -t node -f test/**/*.js",
|
"test": "aegir test -t node",
|
||||||
"test:node": "aegir test -t node -f test/**/*.js",
|
"test:node": "aegir test -t node",
|
||||||
"release": "aegir release -t node --no-build",
|
"release": "aegir release -t node --no-build",
|
||||||
"release-minor": "aegir release -t node --type minor --no-build",
|
"release-minor": "aegir release -t node --type minor --no-build",
|
||||||
"release-major": "aegir-release -t node --type major --no-build",
|
"release-major": "aegir-release -t node --type major --no-build",
|
||||||
@ -35,22 +35,21 @@
|
|||||||
"npm": ">=3.0.0"
|
"npm": ">=3.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"aegir": "^18.2.2",
|
"aegir": "^20.0.0",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"dirty-chai": "^2.0.1",
|
"dirty-chai": "^2.0.1",
|
||||||
"interface-transport": "~0.3.6",
|
"interface-transport": "~0.3.6",
|
||||||
"lodash.isfunction": "^3.0.9",
|
"pull-stream": "^3.6.14"
|
||||||
"pull-stream": "^3.6.9"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"class-is": "^1.1.0",
|
"class-is": "^1.1.0",
|
||||||
"debug": "^4.1.1",
|
"debug": "^4.1.1",
|
||||||
"interface-connection": "~0.3.3",
|
"interface-connection": "~0.3.3",
|
||||||
"ip-address": "^5.9.0",
|
"ip-address": "^6.1.0",
|
||||||
"lodash.includes": "^4.3.0",
|
"lodash.includes": "^4.3.0",
|
||||||
"lodash.isfunction": "^3.0.9",
|
"lodash.isfunction": "^3.0.9",
|
||||||
"mafmt": "^6.0.7",
|
"mafmt": "^6.0.7",
|
||||||
"multiaddr": "^6.0.6",
|
"multiaddr": "^6.1.0",
|
||||||
"once": "^1.4.0",
|
"once": "^1.4.0",
|
||||||
"stream-to-pull-stream": "^1.7.3"
|
"stream-to-pull-stream": "^1.7.3"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user