UNPKG

bundlewatch

Version:
90 lines (89 loc) 2.02 kB
{ "name": "bundlewatch", "version": "0.2.0", "description": "Keep watch of your bundle size", "repository": { "type": "git", "url": "git+https://github.com/bundlewatch/bundlewatch.git" }, "main": "lib/index.js", "bin": { "bundlewatch": "lib/bin/index.js" }, "files": [ "lib" ], "scripts": { "precommit": "./scripts/check-versions.sh && lint-staged" }, "lint-staged": { "*.js": [ "node_modules/.bin/eslint" ] }, "keywords": [ "library", "size", "check", "build", "maxSize" ], "author": "bundlewatch", "license": "MIT", "dependencies": { "axios": "^0.18.0", "bytes": "^3.0.0", "chalk": "^2.4.0", "commander": "^2.15.1", "glob": "^7.1.2", "gzip-size": "^4.0.0", "jsonpack": "^1.1.5", "lodash.merge": "^4.6.1", "read-pkg-up": "^3.0.0" }, "devDependencies": { "axios-mock-adapter": "^1.15.0", "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "coveralls": "^3.0.1", "eslint": "^4.9.0", "eslint-config-airbnb-base": "^12.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-import": "^2.7.0", "eslint-plugin-jest": "^21.12.2", "eslint-plugin-prettier": "^2.6.0", "husky": "^0.14.3", "jest": "^22.4.3", "jest-junit": "^3.6.0", "lint-staged": "^5.0.0", "prettier": "^1.6.0" }, "jest": { "testEnvironment": "node", "collectCoverage": true, "coverageDirectory": "artifacts/test_results/jest/coverage" }, "engines": { "node": ">=6.11.5" }, "bundlewatch": { "files": [ { "path": "./__testdata__/*.jpg", "maxSize": "500kB", "compression": "none" }, { "path": "./lib/**/*.js", "maxSize": "2kB" }, { "path": "./artifacts/*.tgz", "maxSize": "15kB" } ] } }