mirror of
https://github.com/zhigang1992/bundlewatch.git
synced 2026-01-12 22:46:14 +08:00
93 lines
2.4 KiB
JSON
93 lines
2.4 KiB
JSON
{
|
|
"name": "bundlewatch",
|
|
"version": "0.0.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"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "./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.19.0",
|
|
"bytes": "^3.0.0",
|
|
"chalk": "^2.4.0",
|
|
"commander": "^2.15.1",
|
|
"glob": "^7.1.2",
|
|
"gzip-size": "^5.1.1",
|
|
"jsonpack": "^1.1.5",
|
|
"lodash.merge": "^4.6.1",
|
|
"read-pkg-up": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"axios-mock-adapter": "^1.15.0",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-eslint": "^10.0.2",
|
|
"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": "^5.16.0",
|
|
"eslint-config-airbnb-base": "^13.2.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-plugin-import": "^2.18.0",
|
|
"eslint-plugin-jest": "^22.7.2",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"husky": "^3.0.0",
|
|
"jest": "^24.8.0",
|
|
"jest-junit": "^6.4.0",
|
|
"lint-staged": "^9.2.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"
|
|
}
|
|
]
|
|
}
|
|
}
|