mediawiki-skins-MinervaNeue/package.json
jdlrobson 7340485014 Monitor render blocking css bundle sizes
Add a script that builds CSS for Minerva using lessc than measures
their bundlesize.

This will give us added protection to large increases in bundlesize
that can lead to performance regressions.

Change-Id: I2e5e55ad10fac7ecb5a8c19ccdf3cc54de59b75d
2020-01-29 11:03:59 +00:00

52 lines
1.3 KiB
JSON

{
"private": true,
"scripts": {
"test": "grunt test && npm run doc && dev-scripts/svg_check.sh",
"doc": "jsdoc -c jsdoc.json",
"test:bundle": "./dev-scripts/bundlesize.sh",
"selenium-test-cucumber": "wdio tests/selenium/wdio.conf.cucumber.js",
"selenium-daily": "MW_SERVER=https://en.m.wikipedia.beta.wmflabs.org npm run selenium-test",
"selenium-test": "wdio tests/selenium/wdio.conf.js"
},
"dependencies": {},
"devDependencies": {
"bundlesize": "0.18.0",
"eslint-config-wikimedia": "0.15.0",
"grunt": "1.0.4",
"grunt-banana-checker": "0.8.1",
"grunt-contrib-watch": "1.1.0",
"grunt-eslint": "22.0.0",
"grunt-notify": "0.4.5",
"grunt-stylelint": "0.11.1",
"jsdoc": "3.5.5",
"less": "3.8.1",
"mwbot": "1.0.10",
"pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.5.0",
"svgo": "0.7.2",
"wdio-cucumber-framework": "2.2.8",
"wdio-mediawiki": "0.5.0",
"wdio-mocha-framework": "0.6.4",
"wdio-spec-reporter": "0.1.4",
"webdriverio": "4.14.4"
},
"bundlesize": [
{
"path": "tmp/skins.minerva.content.styles.css",
"maxSize": "5.3KB"
},
{
"path": "tmp/skins.minerva.base.styles.css",
"maxSize": "4.3KB"
},
{
"path": "tmp/skins.minerva.amc.styles.css",
"maxSize": "1.4KB"
},
{
"path": "tmp/skins.minerva.mainMenu.styles.css",
"maxSize": "2.0KB"
}
]
}