mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-14 19:24:42 +00:00
85d5d2f4db
The library was introduced in37dc0b5ad
to mock the History API. However the extension package.json is solely used for linters such as eslint. The JavaScript dependencies should be provided by a Resource Loader module and mediawiki/core already provides Sinon.JS for the QUnit tests (see tests/qunit/QUnitTestResources.php). Remove sinon from this extension package.json and thus partially revert37dc0b5ad
. The sinon variable is still defined to please eslint. Bug: T370573 Change-Id: I03d7fef161730d9f36b1367d931641430df4bfed
27 lines
735 B
JSON
27 lines
735 B
JSON
{
|
|
"name": "RevisionSlider",
|
|
"private": true,
|
|
"scripts": {
|
|
"minify:svg": "svgo --config=.svgo.config.js --quiet --recursive --folder resources/",
|
|
"selenium-daily": "npm run selenium-test",
|
|
"selenium-test": "wdio tests/selenium/wdio.conf.js",
|
|
"test": "grunt test"
|
|
},
|
|
"devDependencies": {
|
|
"@wdio/cli": "7.30.1",
|
|
"@wdio/junit-reporter": "7.29.1",
|
|
"@wdio/local-runner": "7.30.1",
|
|
"@wdio/mocha-framework": "7.26.0",
|
|
"@wdio/spec-reporter": "7.29.1",
|
|
"eslint-config-wikimedia": "0.28.2",
|
|
"grunt": "1.6.1",
|
|
"grunt-banana-checker": "0.13.0",
|
|
"grunt-eslint": "24.3.0",
|
|
"grunt-stylelint": "0.20.1",
|
|
"mwbot": "1.0.10",
|
|
"stylelint-config-wikimedia": "0.17.2",
|
|
"svgo": "3.2.0",
|
|
"wdio-mediawiki": "2.3.0"
|
|
}
|
|
}
|