|
|
@@ -47,6 +47,8 @@
|
|
|
"scripts": {
|
|
|
"build": "npm run create-entry-file && npm run build-ckeditor",
|
|
|
"create-entry-file": "./bin/create-entry-file.js",
|
|
|
- "build-ckeditor": "./bin/build-ckeditor.sh"
|
|
|
+ "build-ckeditor": "./bin/build-ckeditor.sh",
|
|
|
+
|
|
|
+ "preversion": "npm run build; if [ -n \"$(git status ckeditor.js build/ --porcelain)\" ]; then git add -u ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
|
|
|
}
|
|
|
}
|