forked from drupal/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
162 lines (162 loc) · 6.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
{
"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:js & yarn build:ckeditor5 & yarn vendor-update",
"watch": "yarn watch:css & yarn watch:js & yarn watch:ckeditor5",
"build:css": "node ./scripts/css/postcss-build.js",
"watch:css": "node ./scripts/css/postcss-watch.js",
"build:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
"build:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
"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",
"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": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r @babel/register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
"prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\" \"./modules/ckeditor5/js/ckeditor5_plugins/**/*.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": {
"@babel/core": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.7.7",
"@ckeditor/ckeditor5-alignment": "~35.3.2",
"@ckeditor/ckeditor5-basic-styles": "~35.3.2",
"@ckeditor/ckeditor5-block-quote": "~35.3.2",
"@ckeditor/ckeditor5-code-block": "~35.3.2",
"@ckeditor/ckeditor5-dev-utils": "~30.4.0",
"@ckeditor/ckeditor5-editor-classic": "~35.3.2",
"@ckeditor/ckeditor5-editor-decoupled": "~35.3.2",
"@ckeditor/ckeditor5-essentials": "~35.3.2",
"@ckeditor/ckeditor5-heading": "~35.3.2",
"@ckeditor/ckeditor5-horizontal-line": "~35.3.2",
"@ckeditor/ckeditor5-html-support": "~35.3.2",
"@ckeditor/ckeditor5-image": "~35.3.2",
"@ckeditor/ckeditor5-indent": "~35.3.2",
"@ckeditor/ckeditor5-language": "~35.3.2",
"@ckeditor/ckeditor5-link": "~35.3.2",
"@ckeditor/ckeditor5-list": "~35.3.2",
"@ckeditor/ckeditor5-paste-from-office": "~35.3.2",
"@ckeditor/ckeditor5-remove-format": "~35.3.2",
"@ckeditor/ckeditor5-source-editing": "~35.3.2",
"@ckeditor/ckeditor5-special-characters": "~35.3.2",
"@ckeditor/ckeditor5-style": "~35.3.2",
"@ckeditor/ckeditor5-table": "~35.3.2",
"@drupal/once": "1.0.x",
"@popperjs/core": "2.11.x",
"babel-plugin-add-header-comment": "^1.0.3",
"backbone": "1.4.x",
"chalk": "^4.1.0",
"chokidar": "^3.3.1",
"chromedriver": "^98.0.1",
"ckeditor5": "~35.3.2",
"cross-env": "^7.0.2",
"cspell": "^5.0.0",
"css.escape": "1.5.x",
"dotenv-safe": "^8.2.0",
"es6-promise": "4.2.x",
"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": "^0.14.0",
"farbtastic": "https://github.com/mattfarina/farbtastic/archive/1.3u.tar.gz",
"glob": "^7.1.2",
"joyride": "https://github.com/zurb/joyride/archive/refs/heads/v2.1.tar.gz",
"jquery": "3.6.x",
"jquery-form": "4.3.x",
"jquery-once": "2.2.x",
"jquery-ui": "1.13.x",
"js-cookie": "3.0.x",
"jsdom": "^19.0.0",
"loadjs": "4.2.x",
"minimist": "^1.2.2",
"mkdirp": "^1.0.4",
"nightwatch": "^1.6.3",
"normalize.css": "8.0.x",
"picturefill": "3.0.x",
"postcss": "^7.0.18",
"postcss-calc": "^7.0.1",
"postcss-header": "^2.0.0",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.7.0",
"postcss-pxtorem": "^5.1.1",
"postcss-url": "^8.0.0",
"prettier": "^2.1.2",
"raw-loader": "^4.0.2",
"shepherd.js": "9.1.x",
"sortablejs": "1.15.x",
"stylelint": "^14.0.1",
"stylelint-checkstyle-formatter": "^0.1.2",
"stylelint-config-standard": "^23.0.0",
"stylelint-order": "^5.0.0",
"tabbable": "5.3.x",
"terser": "^5.14.2",
"terser-webpack-plugin": "^5.3.3",
"underscore": "1.13.x",
"webpack": "^5.51.1",
"webpack-cli": "^4.4.0"
},
"//": "'development is the default environment, and legacy is for transpiling the old jQuery codebase",
"babel": {
"env": {
"development": {
"presets": [
[
"@babel/preset-env",
{
"modules": "commonjs",
"targets": {
"node": "current"
}
}
]
]
},
"legacy": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
]
}
}
},
"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 Explorer major version",
"last 1 ChromeAndroid version",
"last 1 UCAndroid version",
"last 1 Samsung version",
"Firefox ESR"
]
}