1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

add precommit command

This commit is contained in:
Baptiste Augrain
2018-10-01 18:54:50 +02:00
parent 2ccd00a378
commit e52bcf33c5
2 changed files with 121 additions and 1 deletions

View File

@@ -132,6 +132,7 @@
"grunt": "^0.4.5",
"grunt-electron-installer": "2.1.0",
"history": "^1.17.0",
"husky": "^1.1.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.4.3",
"jest-localstorage-mock": "^2.2.0",
@@ -179,5 +180,10 @@
"<rootDir>/tests/jest.js",
"jest-localstorage-mock"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
}
}