Refine lint-staged related configurations
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Oct 2022 13:44:33 +0000 (15:44 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 9 Oct 2022 13:44:33 +0000 (15:44 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
package.json
src/ui/web/.lintstagedrc.js [moved from src/ui/web/lint-staged.config.js with 100% similarity]
src/ui/web/package.json

index aec21ed8b0e15c6964e876259f72a7bb332f5f99..eb827232b3a589d1fde38d6a49ae72f299aa98cc 100644 (file)
@@ -41,8 +41,8 @@
   },
   "scripts": {
     "prepare": "node prepare.js",
-    "build-requirements": "node build-requirements.js",
     "prestart": "npm run build",
+    "build-requirements": "node build-requirements.js",
     "start": "cross-env NODE_ENV=production node -r source-map-support/register dist/start.cjs",
     "start:debug": "cross-env NODE_ENV=production node -r source-map-support/register --inspect dist/start.cjs",
     "start:dev": "npm run build:dev && cross-env NODE_ENV=development node -r source-map-support/register dist/start.cjs",
index 4fb0ea5cce0507f15305ecdca0e860e4e8e6e436..8194d0e0551f5a5a966400fb816a982d61fb7a95 100644 (file)
@@ -2,9 +2,6 @@
   "name": "webui",
   "version": "0.1.1",
   "readme": "README.md",
-  "gitHooks": {
-    "pre-commit": "lint-staged"
-  },
   "scripts": {
     "start": "npm run build && node start.js",
     "serve": "vue-cli-service serve",