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.",
|
|
|
|
"license": "GPL-2.0",
|
|
|
|
"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": {
|
|
|
|
"yarn": ">= 1.6",
|
2020-04-29 11:39:58 +00:00
|
|
|
"node": ">= 12.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": {
|
2021-11-19 09:59:33 +00:00
|
|
|
"build": "yarn build:css & yarn build:js & yarn build:jqueryui & yarn build:ckeditor5",
|
|
|
|
"watch": "yarn watch:css & yarn watch:js & 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",
|
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
|
|
|
"build:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
|
2018-10-05 10:45:38 +00:00
|
|
|
"build:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
|
2021-06-15 16:16:54 +00:00
|
|
|
"build:jqueryui": "cross-env NODE_ENV=development node ./scripts/js/jqueryui-build.js",
|
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
|
|
|
"watch:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js",
|
|
|
|
"watch:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-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 .",
|
2020-01-30 09:08:38 +00:00
|
|
|
"test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r @babel/register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\" \"./modules/ckeditor5/js/ckeditor5_plugins/**/*.js\"",
|
Issue #2972224 by alexpott, longwave, jungle, sja112, xjm, dww, daffie, kiamlaluno, dawehner, quietone, Lendude: Add .cspell.json to automate spellchecking in Drupal core
2020-06-21 19:15:29 +00:00
|
|
|
"spellcheck": "cspell",
|
2021-10-28 12:18:59 +00:00
|
|
|
"spellcheck:make-drupal-dict": "rm -f misc/cspell/dictionary.txt && touch misc/cspell/dictionary.txt && yarn -s spellcheck:core --unique --wordsOnly | tr '[:upper:]' '[:lower:]' | tr -d \\\\\\\\ | LC_ALL=C sort -u -o misc/cspell/dictionary.txt",
|
2021-07-30 10:58:49 +00:00
|
|
|
"spellcheck:core": "cspell \"**/*\" \".*\" \"../composer/**/*\" \"../composer.json\"",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"vendor-update": "node ./scripts/js/assets.js",
|
2021-11-25 14:52:00 +00:00
|
|
|
"watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch",
|
2021-11-19 09:59:33 +00:00
|
|
|
"build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js"
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2020-01-30 09:08:38 +00:00
|
|
|
"@babel/core": "^7.0.0",
|
|
|
|
"@babel/preset-env": "^7.0.0",
|
|
|
|
"@babel/register": "^7.7.7",
|
2022-01-18 09:33:18 +00:00
|
|
|
"@ckeditor/ckeditor5-alignment": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-basic-styles": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-block-quote": "~31.1.0",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"@ckeditor/ckeditor5-dev-utils": "^25.4.5",
|
2022-01-18 09:33:18 +00:00
|
|
|
"@ckeditor/ckeditor5-editor-classic": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-editor-decoupled": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-essentials": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-heading": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-horizontal-line": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-html-support": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-image": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-indent": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-language": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-link": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-list": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-paste-from-office": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-remove-format": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-source-editing": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-special-characters": "~31.1.0",
|
|
|
|
"@ckeditor/ckeditor5-table": "~31.1.0",
|
2021-07-30 10:58:49 +00:00
|
|
|
"@drupal/once": "^1.0.1",
|
|
|
|
"@popperjs/core": "^2.9.2",
|
2018-01-29 06:21:50 +00:00
|
|
|
"babel-plugin-add-header-comment": "^1.0.3",
|
2021-07-30 10:58:49 +00:00
|
|
|
"backbone": "^1.4.0",
|
2020-10-21 10:41:33 +00:00
|
|
|
"chalk": "^4.1.0",
|
2020-01-30 09:08:38 +00:00
|
|
|
"chokidar": "^3.3.1",
|
2021-01-06 09:46:22 +00:00
|
|
|
"chromedriver": "^87.0.0",
|
2022-01-18 09:33:18 +00:00
|
|
|
"ckeditor5": "~31.1.0",
|
2020-10-21 10:41:33 +00:00
|
|
|
"cross-env": "^7.0.2",
|
2021-10-28 12:18:59 +00:00
|
|
|
"cspell": "^5.0.0",
|
2021-07-30 10:58:49 +00:00
|
|
|
"css.escape": "^1.5.1",
|
2020-01-30 09:08:38 +00:00
|
|
|
"dotenv-safe": "^8.2.0",
|
2021-07-30 10:58:49 +00:00
|
|
|
"es6-promise": "^4.2.8",
|
2020-10-21 10:41:33 +00:00
|
|
|
"eslint": "^7.10.0",
|
2020-01-30 09:08:38 +00:00
|
|
|
"eslint-config-airbnb": "^18.0.1",
|
|
|
|
"eslint-config-prettier": "^6.7.0",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint-plugin-import": "^2.13.0",
|
2021-06-29 00:47:31 +00:00
|
|
|
"eslint-plugin-jquery": "^1.5.1",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
2020-01-30 09:08:38 +00:00
|
|
|
"eslint-plugin-prettier": "^3.1.2",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint-plugin-react": "^7.10.0",
|
2020-10-21 10:41:33 +00:00
|
|
|
"eslint-plugin-react-hooks": "^4.1.2",
|
2021-08-17 08:58:20 +00:00
|
|
|
"eslint-plugin-yml": "^0.10.0",
|
2021-07-30 10:58:49 +00:00
|
|
|
"farbtastic": "https://github.com/mattfarina/farbtastic/archive/1.3u.tar.gz",
|
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
|
|
|
"glob": "^7.1.2",
|
2021-07-30 10:58:49 +00:00
|
|
|
"joyride": "https://github.com/zurb/joyride/archive/refs/heads/v2.1.tar.gz",
|
|
|
|
"jquery": "^3.6.0",
|
|
|
|
"jquery-form": "^4.3.0",
|
|
|
|
"jquery-once": "^2.2.3",
|
2021-10-28 19:59:23 +00:00
|
|
|
"js-cookie": "^3.0.1",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"jsdom": "^18.0.1",
|
2021-09-13 15:42:12 +00:00
|
|
|
"loadjs": "^4.2.0",
|
2020-03-28 07:16:23 +00:00
|
|
|
"minimist": "^1.2.2",
|
2020-10-21 10:41:33 +00:00
|
|
|
"mkdirp": "^1.0.4",
|
2021-05-05 08:12:05 +00:00
|
|
|
"nightwatch": "^1.6.3",
|
2021-07-30 10:58:49 +00:00
|
|
|
"normalize.css": "^8.0.1",
|
|
|
|
"picturefill": "^3.0.3",
|
2019-10-07 14:29:07 +00:00
|
|
|
"postcss": "^7.0.18",
|
|
|
|
"postcss-calc": "^7.0.1",
|
2020-03-05 22:42:18 +00:00
|
|
|
"postcss-header": "^2.0.0",
|
2019-10-07 14:29:07 +00:00
|
|
|
"postcss-import": "^12.0.1",
|
2020-09-30 21:46:42 +00:00
|
|
|
"postcss-preset-env": "^6.7.0",
|
2020-12-09 16:26:35 +00:00
|
|
|
"postcss-pxtorem": "^5.1.1",
|
2020-08-21 15:41:41 +00:00
|
|
|
"postcss-url": "^8.0.0",
|
2020-10-21 10:41:33 +00:00
|
|
|
"prettier": "^2.1.2",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"raw-loader": "^4.0.2",
|
2021-07-30 10:58:49 +00:00
|
|
|
"shepherd.js": "^8.3.1",
|
|
|
|
"sortablejs": "^1.13.0",
|
2022-01-25 14:26:40 +00:00
|
|
|
"stylelint": "^14.0.1",
|
|
|
|
"stylelint-checkstyle-formatter": "^0.1.2",
|
|
|
|
"stylelint-config-standard": "^23.0.0",
|
|
|
|
"stylelint-order": "^5.0.0",
|
2021-07-30 10:58:49 +00:00
|
|
|
"tabbable": "^5.2.0",
|
|
|
|
"terser": "^5.3.4",
|
Issue #3231364 by Wim Leers, lauriii, bnjmnm, webchick, xjm, tim.plunkett, larowlan, Luke.Leber, catch, effulgentsia, longwave, gabesullice, caldenjacobs, Reinmar, anand.toshniwal93, Shoshana Mayden, zrpnr, yash.rode, nod_, rkoller, antojose, johnwebdev: Add CKEditor 5 module to Drupal core
2021-11-11 22:10:39 +00:00
|
|
|
"terser-webpack-plugin": "^5.2.0",
|
|
|
|
"underscore": "^1.13.1",
|
|
|
|
"webpack": "^5.51.1",
|
|
|
|
"webpack-cli": "^4.4.0"
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
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
|
|
|
"//": "'development is the default environment, and legacy is for transpiling the old jQuery codebase",
|
2016-10-13 23:53:15 +00:00
|
|
|
"babel": {
|
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
|
|
|
"env": {
|
|
|
|
"development": {
|
|
|
|
"presets": [
|
|
|
|
[
|
2020-01-30 09:08:38 +00:00
|
|
|
"@babel/preset-env",
|
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
|
|
|
{
|
|
|
|
"modules": "commonjs",
|
|
|
|
"targets": {
|
|
|
|
"node": "current"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"legacy": {
|
|
|
|
"presets": [
|
|
|
|
[
|
2020-01-30 09:08:38 +00:00
|
|
|
"@babel/preset-env",
|
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
|
|
|
{
|
2019-10-07 14:29:07 +00:00
|
|
|
"modules": false
|
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
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
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 UCAndroid version",
|
|
|
|
"last 1 Samsung version",
|
|
|
|
"Firefox ESR"
|
2019-10-07 14:29:07 +00:00
|
|
|
]
|
2016-10-13 23:53:15 +00:00
|
|
|
}
|