forked from craftcms/ckeditor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.32 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.32 KB
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
{
"name": "@craftcms/ckeditor",
"private": true,
"type": "module",
"browserslist": [
"extends @craftcms/browserslist-config"
],
"devDependencies": {
"@ckeditor/ckeditor5-dev-translations": "^43.0.1",
"@ckeditor/ckeditor5-inspector": ">=4.1.0",
"ckeditor5": ">=44.0.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"vite": "^6.0.7"
},
"peerDependencies": {
"glob": ">= 11.0",
"jquery": ">= 3.0.0"
},
"scripts": {
"prebuild": "npm run fix-prettier",
"build:config": "vite build -c ./src/web/assets/ckeconfig/vite.config.js",
"build:field": "vite build -c ./src/web/assets/ckeditor/vite.config.js",
"build": "npm-run-all -p build:*",
"postbuild": "npm run copy",
"dev": "npm-run-all -p \"build:* -- -w --mode=development --minify=false\"",
"predev": "npm run copy",
"precopy:lib": "rm -r ./src/web/assets/ckeditor/dist/lib || true",
"copy": "run-p copy:*",
"copy:browser": "cp -r ./node_modules/ckeditor5/dist/browser/ ./src/web/assets/ckeditor/dist/lib",
"copy:translations": "cp -r ./node_modules/ckeditor5/dist/translations/ ./src/web/assets/ckeditor/dist/lib/translations",
"check-prettier": "prettier --check .",
"fix-prettier": "prettier --write .",
"prepare": "husky install"
}
}