File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -23,3 +23,6 @@ before_script:
2323# Make sure to bundle the application before any deploys
2424before_deploy :
2525 - npm run bundle
26+ # Report code coverage to coveralls after successful test runs
27+ after_success :
28+ - npm run coveralls
Original file line number Diff line number Diff line change 1616 "clean" : " rm -rf build coverage *.js *.d.ts" ,
1717 "precompile" : " npm run clean" ,
1818 "compile" : " find src test typings -name \" *.ts\" | xargs tsc --declaration --module commonjs --target es5 --noImplicitAny --outDir build" ,
19+ "coveralls" : " cat ./coverage/lcov.info | coveralls" ,
1920 "prelint" : " npm run compile -- --sourceMap" ,
2021 "lint" : " find src test -name \" *.ts\" | sed 's/^/--file=/g' | xargs tslint" ,
2122 "pretest" : " npm run lint && find build -type f -name *.js -exec sed -i .bak -e '1s/^var __extends/\\ /\\ * istanbul ignore next \\ *\\ /\r var __extends/; 1s/^/require(\" source-map-support\" ).install();\r /' {} \\ ;" ,
3839 "homepage" : " https://github.com/Asana/typescript-starter" ,
3940 "devDependencies" : {
4041 "chai" : " ^2.3.0" ,
42+ "coveralls" : " ^2.11.2" ,
4143 "dts-generator" : " ^1.4.1" ,
4244 "istanbul" : " ^0.3.14" ,
4345 "mocha" : " ^2.2.4" ,
You can’t perform that action at this time.
0 commit comments