chore: add travis-size-report (#392)

chore: add travis-size-report
This commit is contained in:
Marvin Hagemeister 2019-05-17 15:41:18 +02:00 committed by GitHub
commit 64086d1ef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 4 deletions

View File

@ -1,7 +1,8 @@
language: node_js
node_js:
- "node"
- 'node'
branches:
except:
- trying.tmp
- staging.tmp
- trying.tmp
- staging.tmp
after_success: sizereport --config

View File

@ -97,6 +97,7 @@
"regenerator-runtime": "^0.13.2",
"rimraf": "^2.6.3",
"shell-quote": "^1.6.1",
"strip-ansi": "^5.2.0"
"strip-ansi": "^5.2.0",
"travis-size-report": "^1.0.1"
}
}

5
sizereport.config.js Normal file
View File

@ -0,0 +1,5 @@
module.exports = {
repo: 'developit/microbundle',
path: ['dist/!(*.js.map)', 'test/fixtures/**/dist/!(*.map)'],
branch: 'master',
};