|
@@ -70,8 +70,8 @@
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"build": "webpack --mode production",
|
|
"build": "webpack --mode production",
|
|
|
- "lint": "eslint --quiet '**/*.js'",
|
|
|
|
|
- "precommit": "lint-staged",
|
|
|
|
|
|
|
+ "lint": "eslint --quiet '**/*.js'",
|
|
|
|
|
+ "precommit": "lint-staged",
|
|
|
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
|
|
"preversion": "npm run build; if [ -n \"$(git status src/ckeditor.js build/ --porcelain)\" ]; then git add -u src/ckeditor.js build/ && git commit -m 'Internal: Build.'; fi"
|
|
|
},
|
|
},
|
|
|
"lint-staged": {
|
|
"lint-staged": {
|
|
@@ -80,6 +80,7 @@
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
"eslintIgnore": [
|
|
"eslintIgnore": [
|
|
|
- "build/**"
|
|
|
|
|
|
|
+ "build/**",
|
|
|
|
|
+ "packages/**"
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|