-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.37 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.37 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
39
{
"name": "@craftcms/ckeditor",
"private": true,
"type": "module",
"browserslist": [
"extends @craftcms/browserslist-config"
],
"devDependencies": {
"@ckeditor/ckeditor5-dev-translations": ">=47.6.0",
"@ckeditor/ckeditor5-inspector": ">=5.0.0",
"ckeditor5": ">=47.6.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"vite": "^6.4.1",
"vite-plugin-static-copy": "^3.2.0"
},
"peerDependencies": {
"glob": ">= 11.0",
"jquery": ">= 3.0.0 || >= 4.0.0"
},
"scripts": {
"prebuild": "npm run fix-prettier",
"build:config": "vite build -c ./src/web/assets/fieldsettings/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"
}
}