drupal/core/package.json

113 lines
4.7 KiB
JSON
Raw Normal View History

{
"name": "Drupal",
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
"license": "GPL-2.0",
"private": true,
"engines": {
"yarn": ">= 1.6",
"node": ">= 16.0"
},
"scripts": {
"build": "yarn build:css & yarn build:ckeditor5 & yarn vendor-update",
"watch": "yarn watch:css & yarn watch:ckeditor5",
"build:css": "node ./scripts/css/postcss-build.js",
"watch:css": "node ./scripts/css/postcss-watch.js",
"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",
"lint:yaml": "node ./node_modules/eslint/bin/eslint.js --ext .yml .",
"test:nightwatch": "node -r dotenv-safe/config ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
"prettier": "prettier --write \"./**/*.js\"",
"spellcheck": "cspell",
"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",
"spellcheck:core": "cspell \"**/*\" \".*\" \"../composer/**/*\" \"../composer.json\"",
"vendor-update": "node ./scripts/js/vendor-update.js",
"watch:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js --watch",
"build:ckeditor5": "webpack --config ./modules/ckeditor5/webpack.config.js",
"check:ckeditor5": "node ./scripts/js/ckeditor5-check-plugins.js",
"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"
},
"devDependencies": {
"@ckeditor/ckeditor5-alignment": "~35.4.0",
"@ckeditor/ckeditor5-basic-styles": "~35.4.0",
"@ckeditor/ckeditor5-block-quote": "~35.4.0",
"@ckeditor/ckeditor5-code-block": "~35.4.0",
"@ckeditor/ckeditor5-editor-classic": "~35.4.0",
"@ckeditor/ckeditor5-editor-decoupled": "~35.4.0",
"@ckeditor/ckeditor5-essentials": "~35.4.0",
"@ckeditor/ckeditor5-heading": "~35.4.0",
"@ckeditor/ckeditor5-horizontal-line": "~35.4.0",
"@ckeditor/ckeditor5-html-support": "~35.4.0",
"@ckeditor/ckeditor5-image": "~35.4.0",
"@ckeditor/ckeditor5-indent": "~35.4.0",
"@ckeditor/ckeditor5-language": "~35.4.0",
"@ckeditor/ckeditor5-link": "~35.4.0",
"@ckeditor/ckeditor5-list": "~35.4.0",
"@ckeditor/ckeditor5-paste-from-office": "~35.4.0",
"@ckeditor/ckeditor5-remove-format": "~35.4.0",
"@ckeditor/ckeditor5-source-editing": "~35.4.0",
"@ckeditor/ckeditor5-special-characters": "~35.4.0",
"@ckeditor/ckeditor5-style": "~35.4.0",
"@ckeditor/ckeditor5-table": "~35.4.0",
"@drupal/once": "1.0.x",
"backbone": "1.4.x",
"chokidar": "^3.3.1",
"ckeditor5": "~35.4.0",
"cspell": "^6.0.0",
"dotenv-safe": "^8.2.0",
"eslint": "^8.9.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jquery": "^1.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-yml": "^1.2.0",
"glob": "^8.0.3",
"jquery": "~3.6.1",
"jquery-form": "4.3.x",
"jquery-ui": "1.13.x",
"js-cookie": "3.0.x",
"jsdom": "^20.0.0",
"loadjs": "4.2.x",
"minimist": "^1.2.2",
"mkdirp": "^1.0.4",
"nightwatch": "^2.3.9",
"normalize.css": "8.0.x",
"postcss": "^8.4.16",
"postcss-header": "^3.0.2",
"postcss-import": "^15.0.0",
"postcss-preset-env": "^7.8.1",
"postcss-pxtorem": "^6.0.0",
"postcss-url": "^10.1.3",
"prettier": "^2.1.2",
"shepherd.js": "~10.0.1",
"sortablejs": "1.15.x",
"stylelint": "^14.0.1",
"stylelint-checkstyle-formatter": "^0.1.2",
"stylelint-config-standard": "^29.0.0",
"stylelint-order": "^5.0.0",
"tabbable": "~6.0.0",
"terser": "^5.14.2",
"terser-webpack-plugin": "^5.3.3",
"underscore": "~1.13.4",
"webpack": "^5.51.1",
"webpack-cli": "^5.0.0"
},
"browserslist": [
"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"
],
"dependencies": {}
}