Split `coverage` and `coveralls` scripts
This commit is contained in:
Родитель
07bfd8e353
Коммит
8c139c4c1a
|
@ -18,7 +18,7 @@ main() {
|
||||||
npm run build
|
npm run build
|
||||||
npm run eslint
|
npm run eslint
|
||||||
npm run tslint
|
npm run tslint
|
||||||
npm run coverage
|
npm run coveralls
|
||||||
)
|
)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "lerna bootstrap && lerna run build",
|
"build": "lerna bootstrap && lerna run build",
|
||||||
"test": "lerna run test --parallel",
|
"test": "lerna run test --parallel",
|
||||||
"coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
|
"coverage": "nyc npm test",
|
||||||
|
"coveralls": "npm run coverage && nyc report --reporter=text-lcov | coveralls",
|
||||||
"eslint": "eslint --format \"node_modules/eslint-friendly-formatter\" \"./packages/**/*.js\" \"./packages/@(Dispatch|LUIS|LUISGen|QnAMaker)/bin/*\"",
|
"eslint": "eslint --format \"node_modules/eslint-friendly-formatter\" \"./packages/**/*.js\" \"./packages/@(Dispatch|LUIS|LUISGen|QnAMaker)/bin/*\"",
|
||||||
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose"
|
"tslint": "tslint ./packages/*/src/**/*.ts -t verbose"
|
||||||
},
|
},
|
||||||
|
|
Загрузка…
Ссылка в новой задаче