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