From e63a7dcb78e5ec122586038352ece48fc8d149d5 Mon Sep 17 00:00:00 2001 From: vantezzen Date: Mon, 16 Sep 2019 21:30:10 +0200 Subject: Add "npm run prepare-code" command --- README.md | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 65866ffa4..e4cdd9bdb 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ You can find the installers in the [latest release](https://github.com/kytwb/fer - [x] [Add option to change server to a custom](https://github.com/kytwb/ferdi/wiki/Custom-Server) [ferdi-server](https://github.com/vantezzen/ferdi-server) - [x] Add "Private Notification"-Mode, that hides message content from notifications (as suggested in [meetfranz/franz#879](https://github.com/meetfranz/franz/issues/879)) - [x] [Add CTRL+← and CTRL+→ shortcuts and menu options to go back and forward in the service browsing history](https://github.com/kytwb/ferdi/issues/39) +- [x] Add "npm run prepare-code" command for development to lint and beautify code - [x] Remove "Franz is better together" popup - [x] [Makes it possible to edit the "Franz Todo" server](https://github.com/kytwb/ferdi/wiki/Custom-Todo) - [x] Makes RocketChat self-hosted generally available diff --git a/package.json b/package.json index 27ee107d4..50c3003ff 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,8 @@ "reformat-files": "./node_modules/.bin/prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", "packages": "npx lerna publish --no-git-tag-version", "uidev": "cd uidev && webpack-dev-server", - "postinstall": "npx lerna run prepare" + "postinstall": "npx lerna run prepare", + "prepare-code": "npm run lint && npm run reformat-files && npm run manage-translations" }, "keywords": [], "author": "Amine Mouafik ", -- cgit v1.2.3-54-g00ecf