Apply prettier formating
[e-mobility-charging-stations-simulator.git] / package.json
index 0056f899ce2bc4d30a03fbfaa6f80dac384dcb17..d1589d37e4540e5073c124211dfcffdebb1cf344 100644 (file)
@@ -53,6 +53,7 @@
     "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
     "lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
     "lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
+    "format": "prettier --write .",
     "import-sort": "npx import-sort-cli --write 'src/**/*.ts{,x}'",
     "test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\"}' nyc mocha test/**/*Test.ts",
     "coverage": "nyc report --reporter=lcov",
     "clinic": "^11.1.0",
     "cross-env": "^7.0.3",
     "eslint": "^8.10.0",
+    "eslint-config-prettier": "^8.5.0",
     "eslint-plugin-import": "^2.25.4",
     "eslint-plugin-jsdoc": "^37.9.6",
     "eslint-plugin-node": "^11.1.0",
     "mochawesome": "^7.1.1",
     "npm-check": "^5.9.2",
     "nyc": "^15.1.0",
+    "prettier": "^2.5.1",
     "release-it": "^14.12.5",
     "robohydra": "^0.6.9",
     "rollup": "^2.69.0",