bundle-report
Version:
Track your bundle size over time
107 lines (106 loc) • 2.4 kB
JSON
{
"name": "bundle-report",
"version": "1.2.2",
"description": "Track your bundle size over time",
"repository": {
"type": "git",
"url": "git+https://github.com/sethbattin/bundle-report.git"
},
"main": "src/reporter.js",
"bin": {
"bundle-report": "bin/index.js",
"bundle-report-init": "bin/init-status.js",
"bundle-report-pipe": "bin/pipe.js"
},
"scripts": {
"precommit": "lint-staged",
"test": "npm run test:self && npm run test:pipe && npm run test:unit",
"test:self": "scripts/testSelf.sh",
"test:pipe": "scripts/testPipe.sh",
"test:unit": "jest",
"lint": "eslint src store/*.js",
"postpack": "rm -rf tmp && scripts/testPack.sh"
},
"keywords": [
"library",
"size",
"check",
"build",
"performance",
"maxSize"
],
"files": [
"bin",
"src"
],
"engines": {
"npm": "^5.0.0"
},
"author": "sethbattin",
"license": "MIT",
"dependencies": {
"axios": "^0.17.0",
"bytes": "^3.0.0",
"ci-env": "^1.4.0",
"commander": "^2.11.0",
"github-build": "^1.2.0",
"glob": "^7.1.2",
"gzip-size": "^4.0.0",
"js-yaml": "^3.11.0",
"prettycli": "^1.4.3",
"read-pkg-up": "^2.0.0"
},
"bundleReport": {
"files": [
{
"path": "./bin/*",
"maxSize": "610B",
"name": "cli-bin"
},
{
"path": "./src/files.js",
"maxSize": "600B"
},
{
"path": "./src/config.js",
"maxSize": "3KB",
"replace": {
"pattern": "./src/",
"replacement": ""
}
},
{
"path": "./src/re*.js",
"maxSize": "2KB",
"replace": {
"pattern": [
"\\./src/(.*)\\.js"
],
"replacement": "$1"
}
}
],
"baseBranch": "parallel-dev"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"devDependencies": {
"eslint": "^4.5.0",
"eslint-config-airbnb-base": "^12.0.0",
"eslint-config-prettier": "^2.3.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-prettier": "^2.2.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"husky": "^0.14.3",
"jest": "^21.2.1",
"lint-staged": "^4.0.4",
"prettier": "^1.6.0"
}
}