fix: feedback

This commit is contained in:
Hugo Dias 2020-06-19 10:03:34 +01:00
parent a8274ad416
commit 069a2f9573
No known key found for this signature in database
GPG Key ID: 9F61AFCAB8C717A0
3 changed files with 7 additions and 8 deletions

View File

@ -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

View File

@ -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": {

View File

@ -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",