2016-10-13 23:53:15 +00:00
|
|
|
{
|
|
|
|
"name": "Drupal",
|
|
|
|
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
|
2024-04-09 19:56:31 +00:00
|
|
|
"license": "GPL-2.0-or-later",
|
2016-10-13 23:53:15 +00:00
|
|
|
"private": true,
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"engines": {
|
2024-03-15 18:08:24 +00:00
|
|
|
"yarn": ">= 4.1.1",
|
2024-07-10 12:39:24 +00:00
|
|
|
"node": ">= 20.0"
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
},
|
2016-10-13 23:53:15 +00:00
|
|
|
"scripts": {
|
2022-09-09 06:26:42 +00:00
|
|
|
"build": "yarn build:css & yarn build:ckeditor5 & yarn vendor-update",
|
|
|
|
"watch": "yarn watch:css & yarn watch:ckeditor5",
|
2021-06-15 16:16:54 +00:00
|
|
|
"build:css": "node ./scripts/css/postcss-build.js",
|
|
|
|
"watch:css": "node ./scripts/css/postcss-watch.js",
|
2018-05-31 11:06:29 +00:00
|
|
|
"lint:core-js": "node ./node_modules/eslint/bin/eslint.js .",
|
|
|
|
"lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json .",
|
|
|
|
"lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js .",
|
|
|
|
"lint:css": "stylelint \"**/*.css\"",
|
|
|
|
"lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js",
|
2021-08-17 08:58:20 +00:00
|
|
|
"lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .",
|
2022-09-09 06:26:42 +00:00
|
|
|
"test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
|
2024-05-01 16:58:54 +00:00
|
|
|
"prettier": "prettier --write \"./**/*.css\" \"./**/*.js\"",
|
2023-11-24 13:16:12 +00:00
|
|
|
"spellcheck": "cspell -c .cspell.json --cache",
|
2024-03-15 18:08:24 +00:00
|
|
|
"spellcheck:make-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
|
2023-11-24 13:16:12 +00:00
|
|
|
"spellcheck:core": "cspell -c .cspell.json --root .. --cache --cache-location core/.cspellcache \"core/**/*\" \"composer/**/*\" \"composer.json\" \".gitlab-ci/*\" \".gitlab-ci.yml\"",
|
2024-03-15 18:08:24 +00:00
|
|
|
"spellcheck:make-drupal-dict": "rm -f misc/cspell/drupal-dictionary.txt && touch misc/cspell/drupal-dictionary.txt && yarn spellcheck:core --unique --words-only | perl -Mopen=locale -pe '$_=lc$_' | LC_ALL=en_US.UTF-8 tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/drupal-dictionary.txt",
|
2022-03-08 11:48:28 +00:00
|
|
|
"vendor-update": "node ./scripts/js/vendor-update.js",
|
2021-11-25 14:52:00 +00:00
|
|
|
"watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch",
|
2022-02-02 23:41:39 +00:00
|
|
|
"build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js",
|
2022-03-15 18:15:22 +00:00
|
|
|
"check:ckeditor5": "node ./scripts/js/ckeditor5-check-plugins.js",
|
2022-04-15 12:12:47 +00:00
|
|
|
"build:ckeditor5-types": "node ./scripts/js/ckeditor5-types-documentation.js",
|
|
|
|
"build:ckeditor5-dev": "yarn build:ckeditor5 --mode=development",
|
|
|
|
"watch:ckeditor5-dev": "yarn watch:ckeditor5 --mode=development"
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-07-26 15:34:21 +00:00
|
|
|
"@ckeditor/ckeditor5-alignment": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-autoformat": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-basic-styles": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-block-quote": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-code-block": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-editor-classic": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-editor-decoupled": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-essentials": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-heading": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-horizontal-line": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-html-support": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-image": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-indent": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-language": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-link": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-list": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-paste-from-office": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-remove-format": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-show-blocks": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-source-editing": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-special-characters": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-style": "~42.0.2",
|
|
|
|
"@ckeditor/ckeditor5-table": "~42.0.2",
|
2024-05-11 10:33:39 +00:00
|
|
|
"@drupal/once": "^1.0.1",
|
2024-08-01 21:19:45 +00:00
|
|
|
"@floating-ui/dom": "^1.6.8",
|
2024-05-11 10:33:39 +00:00
|
|
|
"backbone": "^1.6.0",
|
|
|
|
"chokidar": "^3.6.0",
|
2024-07-26 15:34:21 +00:00
|
|
|
"ckeditor5": "~42.0.2",
|
2024-08-01 21:19:45 +00:00
|
|
|
"cspell": "^8.13.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"dotenv": "^16.4.5",
|
|
|
|
"dotenv-safe": "^9.1.0",
|
|
|
|
"eslint": "^8.57.0",
|
2022-03-21 14:17:38 +00:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"eslint-config-prettier": "^9.1.0",
|
|
|
|
"eslint-formatter-gitlab": "^5.1.0",
|
|
|
|
"eslint-plugin-import": "^2.29.1",
|
2021-06-29 00:47:31 +00:00
|
|
|
"eslint-plugin-jquery": "^1.5.1",
|
2024-08-01 21:19:45 +00:00
|
|
|
"eslint-plugin-prettier": "^5.2.1",
|
2024-05-11 10:33:39 +00:00
|
|
|
"eslint-plugin-yml": "^1.14.0",
|
2024-07-10 13:25:56 +00:00
|
|
|
"glob": "11.0.0",
|
2024-07-18 14:41:00 +00:00
|
|
|
"jquery": "^4.0.0-beta.2",
|
2024-08-06 21:09:42 +00:00
|
|
|
"jquery-ui": "^1.14.0",
|
2023-06-07 22:02:25 +00:00
|
|
|
"js-cookie": "^3.0.5",
|
2024-08-01 21:19:45 +00:00
|
|
|
"jsdom": "^24.1.1",
|
2024-05-11 10:33:39 +00:00
|
|
|
"loadjs": "^4.3.0",
|
2023-06-07 22:02:25 +00:00
|
|
|
"minimist": "^1.2.8",
|
|
|
|
"mkdirp": "^3.0.1",
|
2024-08-12 07:17:59 +00:00
|
|
|
"nightwatch": "^3.7.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"normalize.css": "^8.0.1",
|
2024-08-01 21:19:45 +00:00
|
|
|
"postcss": "^8.4.40",
|
2024-05-11 10:33:39 +00:00
|
|
|
"postcss-header": "^3.0.3",
|
|
|
|
"postcss-import": "^16.1.0",
|
2024-07-10 13:25:56 +00:00
|
|
|
"postcss-preset-env": "^9.6.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"postcss-pxtorem": "^6.1.0",
|
2022-09-13 10:31:51 +00:00
|
|
|
"postcss-url": "^10.1.3",
|
2024-08-01 21:19:45 +00:00
|
|
|
"prettier": "^3.3.3",
|
2024-05-11 10:33:39 +00:00
|
|
|
"sortablejs": "^1.15.2",
|
|
|
|
"stylelint": "^15.11.0",
|
2022-01-25 14:26:40 +00:00
|
|
|
"stylelint-checkstyle-formatter": "^0.1.2",
|
2023-10-28 10:39:47 +00:00
|
|
|
"stylelint-config-standard": "^34.0.0",
|
2023-09-19 13:27:24 +00:00
|
|
|
"stylelint-formatter-gitlab": "^1.0.2",
|
2024-05-11 10:33:39 +00:00
|
|
|
"stylelint-order": "^6.0.4",
|
2024-05-01 10:26:29 +00:00
|
|
|
"stylelint-prettier": "^4.1.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"tabbable": "^6.2.0",
|
2024-08-01 21:19:45 +00:00
|
|
|
"terser": "^5.31.3",
|
2024-05-11 10:33:39 +00:00
|
|
|
"terser-webpack-plugin": "^5.3.10",
|
2023-06-17 10:09:49 +00:00
|
|
|
"transliteration": "^2.3.5",
|
2024-05-11 10:33:39 +00:00
|
|
|
"tua-body-scroll-lock": "^1.5.0",
|
2024-08-01 21:19:45 +00:00
|
|
|
"underscore": "~1.13.7",
|
|
|
|
"webpack": "^5.93.0",
|
2024-05-11 10:33:39 +00:00
|
|
|
"webpack-cli": "^5.1.4"
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
2019-10-07 14:29:07 +00:00
|
|
|
"browserslist": [
|
2019-11-13 09:47:13 +00:00
|
|
|
"last 2 Chrome major versions",
|
|
|
|
"last 2 Firefox major versions",
|
|
|
|
"last 2 Safari major versions",
|
|
|
|
"last 2 Edge major versions",
|
|
|
|
"last 2 Opera versions",
|
|
|
|
"last 2 iOS major versions",
|
|
|
|
"last 1 ChromeAndroid version",
|
|
|
|
"last 1 Samsung version",
|
|
|
|
"Firefox ESR"
|
2024-03-15 14:40:10 +00:00
|
|
|
],
|
2024-03-15 18:08:24 +00:00
|
|
|
"packageManager": "yarn@4.1.1"
|
2016-10-13 23:53:15 +00:00
|
|
|
}
|