Browse Source

storage-node: npm scripts, match prettier args in format and checks scripts

Mokhtar Naamani 4 years ago
parent
commit
d18b5e2292
1 changed files with 2 additions and 2 deletions
  1. 2 2
      storage-node/package.json

+ 2 - 2
storage-node/package.json

@@ -34,8 +34,8 @@
     "test": "wsrun --serial test",
     "test": "wsrun --serial test",
     "lint": "eslint --ignore-path .gitignore .",
     "lint": "eslint --ignore-path .gitignore .",
     "build": "yarn workspace @joystream/storage-cli run build",
     "build": "yarn workspace @joystream/storage-cli run build",
-    "checks": "yarn lint && prettier ./ --check",
-    "format": "prettier ./ --write"
+    "checks": "yarn lint && prettier . --check",
+    "format": "prettier . --write"
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@types/chai": "^4.2.11",
     "@types/chai": "^4.2.11",