bundle-checker
Version:
CLI tool to generate stats on the size of files between two git branches
1 lines • 1.19 kB
JSON
{"version":"1.5.0","commands":{"compare":{"id":"compare","description":"Compare the size of build files in two git branches.","pluginName":"bundle-checker","pluginType":"core","aliases":[],"examples":["$ npx bundle-checker compare"],"flags":{"buildFilesPatterns":{"name":"buildFilesPatterns","type":"option","description":"buildFilesPatterns","required":true,"default":"build/**/*.js,build/**/*.css"},"buildScript":{"name":"buildScript","type":"option","description":"buildScript","default":"NODE_ENV=production npm run build"},"currentBranch":{"name":"currentBranch","type":"option","description":"[default: branch detected] currentBranch"},"gitRepository":{"name":"gitRepository","type":"option","description":"[default: current git repo] gitRepository"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"installScript":{"name":"installScript","type":"option","description":"installScript","default":"npm ci || npm install"},"prComment":{"name":"prComment","type":"boolean","description":"Comment on PR","allowNo":false},"targetBranch":{"name":"targetBranch","type":"option","description":"targetBranch","default":"master"}},"args":[]}}}