diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-19 11:11:08 +0530 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-19 12:03:29 +0530 |
commit | dceaf5938cc9d148d1737fff3ddb1c6ab762234c (patch) | |
tree | 2d68e6e67da811889b44b80e808aa99c1cc889f1 /package.json | |
parent | Fixed #56: Added favicon for all html pages served by the server. (diff) | |
download | ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.tar.gz ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.tar.zst ferdium-server-dceaf5938cc9d148d1737fff3ddb1c6ab762234c.zip |
Added husky pre-commit hook to run linter
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package.json b/package.json index 85a2082..6fc32a1 100644 --- a/package.json +++ b/package.json | |||
@@ -10,6 +10,7 @@ | |||
10 | "node-gyp": "^8.0" | 10 | "node-gyp": "^8.0" |
11 | }, | 11 | }, |
12 | "scripts": { | 12 | "scripts": { |
13 | "prepare": "husky install", | ||
13 | "start": "node server.js", | 14 | "start": "node server.js", |
14 | "test": "node ace test", | 15 | "test": "node ace test", |
15 | "lint": "eslint --quiet --fix ./" | 16 | "lint": "eslint --quiet --fix ./" |
@@ -53,7 +54,8 @@ | |||
53 | "eslint-plugin-import": "^2.20.2", | 54 | "eslint-plugin-import": "^2.20.2", |
54 | "eslint-plugin-jsx-a11y": "^6.2.3", | 55 | "eslint-plugin-jsx-a11y": "^6.2.3", |
55 | "eslint-plugin-react": "^7.19.0", | 56 | "eslint-plugin-react": "^7.19.0", |
56 | "eslint-plugin-react-hooks": "^1.7.0" | 57 | "eslint-plugin-react-hooks": "^1.7.0", |
58 | "husky": "^6.0.0" | ||
57 | }, | 59 | }, |
58 | "autoload": { | 60 | "autoload": { |
59 | "App": "./app" | 61 | "App": "./app" |