mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 17:12:33 +00:00
fix: feedback
This commit is contained in:
parent
a8274ad416
commit
069a2f9573
@ -1,5 +1,5 @@
|
||||
language: node_js
|
||||
cache: npm
|
||||
cache: yarn
|
||||
stages:
|
||||
- check
|
||||
- test
|
||||
@ -14,16 +14,15 @@ os:
|
||||
- osx
|
||||
- windows
|
||||
|
||||
script: npx nyc -s npm run test:node --ts -- --bail
|
||||
script: npx nyc -s yarn run test:node --bail
|
||||
after_success: npx nyc report --reporter=text-lcov > coverage.lcov && npx codecov
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: check
|
||||
script:
|
||||
- npx aegir dep-check
|
||||
- npm run lint --ts
|
||||
- npm run check-types
|
||||
- yarn aegir dep-check
|
||||
- yarn run lint
|
||||
|
||||
- stage: test
|
||||
name: chrome
|
||||
|
@ -16,11 +16,9 @@
|
||||
"scripts": {
|
||||
"build": "aegir build --ts",
|
||||
"lint": "aegir lint --ts",
|
||||
"pretest": "yarn check-types",
|
||||
"test": "aegir test --ts",
|
||||
"test:node": "aegir test -t node --ts",
|
||||
"test:browser": "aegir test -t browser --ts",
|
||||
"check-types": "tsc --noEmit",
|
||||
"proto:gen": "pbjs -t static-module -o ./src/proto/payload.js ./src/proto/payload.proto && pbts -o ./src/proto/payload.d.ts ./src/proto/payload.js && yarn run lint --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -3,6 +3,7 @@
|
||||
"target": "ES2018",
|
||||
"module": "commonjs",
|
||||
"strict": true,
|
||||
"allowJs": true,
|
||||
"resolveJsonModule": true,
|
||||
"esModuleInterop": true,
|
||||
"noImplicitAny": false,
|
||||
@ -12,7 +13,8 @@
|
||||
]
|
||||
},
|
||||
"include": [
|
||||
"**/src/**/*.ts"
|
||||
"**/src/**/*.ts",
|
||||
"**/src/**/*.js"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
|
Loading…
x
Reference in New Issue
Block a user