29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-28 16:13:42 +00:00
cms/package.json
Brian Teeman bda064a01b
[4.0] skipto accessibility plugin major upgrade v4.0 (#32043)
SkipTo is a replacement for your old classic "Skipnav" link, (so please use it as such)! The SkipTo script creates a drop-down menu consisting of the links to important landmarks and headings on a given web page. The menu makes it easier for keyboard and screen reader users to quickly jump to the desired location by simply choosing it from the list of options.

Benefits
- All users can get an outline of the content on the page.
- Screen reader users can get a higher level navigation menu without having to use the screen reader landmark and header navigation commands which typically include longer lists of lower level headings and less used landmarks.
- Keyboard only users can more efficiently navigate to content on a page.
- Speech recognition users can use the menu to more efficiently navigate to content on a page.

How it works
- The SkipTo menu button is the first tabbable element on the page, and it is configured not to be visible when the page is loaded, the menu button becomes visible when it receives focus.
- Once the keyboard focus is on the menu button, pressing the ENTER or the SPACEBAR key will pull down the list of important landmarks and headings on the page.
- If you decide to reach the menu again, simply press the built-in access key alt+9

This plugin is enabled by default for the admin and can optionally be enabled for the frontend
This version addresses previous concerns about an additional dropdown menu js.
This version addresses previous concerns that the landmarks were not translatable.

To facilitate upgrades from previous beta releases I have added the list of removed files.

Thanks to the help of the people at https://github.com/paypal/skipto for adding some joomla specific changes
2021-01-15 18:12:40 +00:00

120 lines
4.4 KiB
JSON

{
"name": "joomla",
"version": "4.0.0",
"description": "Joomla CMS",
"license": "GPL-2.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/joomla/joomla-cms.git"
},
"engines": {
"node": ">=10.19",
"npm": ">=6.13.4"
},
"scripts": {
"build:js": "node build/build.js --compile-js",
"build:css": "node build/build.js --compile-css",
"watch": "node build/build.js --watch",
"lint:js": "eslint --config build/.eslintrc --ignore-pattern '/media/' --ext .es6.js,.es6,.vue .",
"lint:css": "stylelint --config build/.stylelintrc.json -s scss \"administrator/components/com_media/resources/**/*.scss\" \"administrator/templates/**/*.scss\" \"build/media_source/**/*.scss\" \"templates/**/*.scss\" \"installation/template/**/*.scss\"",
"test": "karma start tests/javascript/karma.conf.js --single-run",
"install": "node build/build.js --copy-assets && node build/build.js --build-pages",
"postinstall": "node build/build.js --compile-js && node build/build.js --compile-css && npm run build:com_media",
"update": "node build/build.js --copy-assets && node build/build.js --build-pages && node build/build.js --compile-js && node build/build.js --compile-css",
"gzip": "node build/build.js --gzip",
"watch:com_media": "cross-env NODE_ENV=development webpack --progress --hide-modules --watch --config administrator/components/com_media/webpack.config.js",
"dev:com_media": "cross-env NODE_ENV=development webpack --progress --hide-modules --config administrator/components/com_media/webpack.config.js",
"build:com_media": "cross-env NODE_ENV=production webpack --progress --hide-modules --config administrator/components/com_media/webpack.config.js"
},
"browserslist": [
"last 1 version",
"not ie < 11"
],
"dependencies": {
"@claviska/jquery-minicolors": "^2.3.5",
"@webcomponents/webcomponentsjs": "^2.5.0",
"accessibility": "^3.0.10",
"awesomplete": "1.1.5",
"bootstrap": "^4.5.3",
"choices.js": "^9.0.1",
"chosen-js": "^1.8.7",
"codemirror": "^5.58.3",
"cropperjs": "^1.5.9",
"diff": "^4.0.2",
"dragula": "3.7.2",
"file-saver": "^2.0.2",
"focus-visible": "^5.2.0",
"joomla-ui-custom-elements": "0.0.40",
"jquery": "^3.5",
"jquery-migrate": "^3.3.1",
"mediaelement": "^4.2.16",
"metismenujs": "^1.2.1",
"popper.js": "^1.16.1",
"punycode": "1.4.1",
"qrcode-generator": "^1.4.4",
"roboto-fontface": "^0.10.0",
"short-and-sweet": "^1.0.2",
"skipto": "^4.0.0",
"tinymce": "^5.6.1",
"vue": "^2.6.12",
"vue-focus-lock": "^1.3.2",
"vuex": "^3.5.1",
"vuex-persistedstate": "^3.1.0"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-classes": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@fortawesome/fontawesome-free": "^5.15.1",
"@gfx/zopfli": "^1.0.15",
"autoprefixer": "^9.8.6",
"babel-loader": "^8.1.0",
"babel-plugin-add-header-comment": "^1.0.3",
"babel-preset-minify": "^0.5.1",
"babelify": "^10.0.0",
"browserify": "^16.5.2",
"commander": "^5.1.0",
"copy-dir": "^1.3.0",
"cross-env": "^7.0.0",
"css-loader": "^3.6.0",
"cssnano": "^4.1.10",
"eslint": "^7.12.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-vue": "^7.1.0",
"file-loader": "^6.2.0",
"fs-extra": "^9.0.1",
"ini": "^1.3.7",
"jasmine-core": "^3.6.0",
"karma": "^5.2.3",
"karma-coverage": "^2.0.3",
"karma-firefox-launcher": "^1.3.0",
"karma-fixture": "^0.2.6",
"karma-html2js-preprocessor": "^1.1.0",
"karma-jasmine": "^3.3.1",
"karma-jasmine-ajax": "^0.1.13",
"karma-json-fixtures-preprocessor": "0.0.6",
"karma-verbose-reporter": "^0.0.6",
"mini-css-extract-plugin": "^0.9.0",
"path": "^0.12.7",
"postcss": "^7.0.35",
"recursive-readdir": "^2.2.2",
"sass": "^1.28.0",
"sass-loader": "^8.0.2",
"selenium-standalone": "^6.20.1",
"stylelint": "^13.7.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"stylelint-scss": "^3.18.0",
"uglify-es": "^3.3.9",
"uglifycss": "^0.0.29",
"vue-loader": "^15.9.4",
"vue-template-compiler": "^2.6.12",
"walk-sync": "^2.2.0",
"watch": "^1.0.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
}
}