mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
yeet husky (#259)
This commit is contained in:
parent
fbeffdb166
commit
bea251634c
4 changed files with 2 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. "$(dirname $0)/_/husky.sh"
|
set -e
|
||||||
|
|
||||||
npm run format
|
npm run format
|
||||||
git add -A
|
git add -A
|
1
.husky/.gitignore
vendored
1
.husky/.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
_
|
|
|
@ -12,9 +12,7 @@
|
||||||
"packageQuick": "npm run build && electron-builder --dir",
|
"packageQuick": "npm run build && electron-builder --dir",
|
||||||
"format": "prettier --write src/**/*",
|
"format": "prettier --write src/**/*",
|
||||||
"CIbuild": "npm run build && electron-builder --linux zip && electron-builder --windows zip && electron-builder --macos zip",
|
"CIbuild": "npm run build && electron-builder --linux zip && electron-builder --windows zip && electron-builder --macos zip",
|
||||||
"postinstall": "husky install",
|
"prepare": "git config --local core.hooksPath .hooks/"
|
||||||
"precommit-fix": "husky uninstall && echo - && echo !Make sure to run 'npm run format' before commiting! | chalk --stdin yellow inverse && echo -",
|
|
||||||
"precommit-fix:format": "husky uninstall && npm run format"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -33,7 +31,6 @@
|
||||||
"copyfiles": "^2.4.1",
|
"copyfiles": "^2.4.1",
|
||||||
"electron": "^21.3.0",
|
"electron": "^21.3.0",
|
||||||
"electron-builder": "^23.6.0",
|
"electron-builder": "^23.6.0",
|
||||||
"husky": "^8.0.2",
|
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
"typescript": "^4.9.3"
|
"typescript": "^4.9.3"
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,7 +12,6 @@ specifiers:
|
||||||
electron-builder: ^23.6.0
|
electron-builder: ^23.6.0
|
||||||
electron-context-menu: github:ArmCord/electron-context-menu
|
electron-context-menu: github:ArmCord/electron-context-menu
|
||||||
extract-zip: ^2.0.1
|
extract-zip: ^2.0.1
|
||||||
husky: ^8.0.2
|
|
||||||
prettier: ^2.7.1
|
prettier: ^2.7.1
|
||||||
typescript: ^4.9.3
|
typescript: ^4.9.3
|
||||||
v8-compile-cache: ^2.3.0
|
v8-compile-cache: ^2.3.0
|
||||||
|
@ -34,7 +33,6 @@ devDependencies:
|
||||||
copyfiles: 2.4.1
|
copyfiles: 2.4.1
|
||||||
electron: 21.3.0
|
electron: 21.3.0
|
||||||
electron-builder: 23.6.0
|
electron-builder: 23.6.0
|
||||||
husky: 8.0.2
|
|
||||||
prettier: 2.7.1
|
prettier: 2.7.1
|
||||||
typescript: 4.9.3
|
typescript: 4.9.3
|
||||||
|
|
||||||
|
@ -1218,12 +1216,6 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/husky/8.0.2:
|
|
||||||
resolution: {integrity: sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==}
|
|
||||||
engines: {node: '>=14'}
|
|
||||||
hasBin: true
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/iconv-corefoundation/1.1.7:
|
/iconv-corefoundation/1.1.7:
|
||||||
resolution: {integrity: sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==}
|
resolution: {integrity: sha512-T10qvkw0zz4wnm560lOEg0PovVqUXuOFhhHAkixw8/sycy7TJt7v/RrkEKEQnAw2viPSJu6iAkErxnzR0g8PpQ==}
|
||||||
engines: {node: ^8.11.2 || >=10}
|
engines: {node: ^8.11.2 || >=10}
|
||||||
|
|
Loading…
Reference in a new issue