Remove Husky, not nessesary

This commit is contained in:
Korbs 2024-03-03 02:23:32 -05:00
parent 9e5dd18457
commit 831a887c89
No known key found for this signature in database

View file

@ -1,81 +1,79 @@
{ {
"name": "share2fedi", "name": "share2fedi",
"version": "3.1.0", "version": "3.1.0",
"description": "Instance-agnostic share page for the Fediverse.", "description": "Instance-agnostic share page for the Fediverse.",
"license": "AGPL-3.0-only", "license": "AGPL-3.0-only",
"author": "Nikita Karamov <me@kytta.dev>", "author": "Nikita Karamov <me@kytta.dev>",
"homepage": "https://s2f.kytta.dev/", "homepage": "https://s2f.kytta.dev/",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/kytta/share2fedi.git" "url": "https://github.com/kytta/share2fedi.git"
}, },
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "astro dev", "dev": "astro dev",
"start": "astro dev", "start": "astro dev",
"build": "astro build", "build": "astro build",
"build:icons": "bash ./script/build-icons", "build:icons": "bash ./script/build-icons",
"preview": "astro preview", "preview": "astro preview",
"check": "pnpm run /^check:/", "check": "pnpm run /^check:/",
"check:astro": "astro check", "check:astro": "astro check",
"check:eslint": "eslint .", "check:eslint": "eslint .",
"check:prettier": "prettier --check --plugin=prettier-plugin-astro .", "check:prettier": "prettier --check --plugin=prettier-plugin-astro .",
"check:stylelint": "stylelint **/*.scss", "check:stylelint": "stylelint **/*.scss",
"check:typescript": "tsc --noEmit", "check:typescript": "tsc --noEmit",
"fix": "pnpm fix:prettier . && pnpm fix:eslint .", "fix": "pnpm fix:prettier . && pnpm fix:eslint .",
"fix:eslint": "eslint --fix", "fix:eslint": "eslint --fix",
"fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro", "fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro",
"fix:stylelint": "stylelint --fix", "fix:stylelint": "stylelint --fix",
"test": "pnpm run check", "test": "pnpm run check"
"prepare": "husky" },
}, "browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead", "dependencies": {
"dependencies": { "@astrojs/cloudflare": "^9.0.0",
"@astrojs/cloudflare": "^9.0.0", "@astrojs/deno": "^5.0.1",
"@astrojs/deno": "^5.0.1", "@astrojs/netlify": "^5.1.1",
"@astrojs/netlify": "^5.1.1", "@astrojs/node": "^8.2.0",
"@astrojs/node": "^8.2.0", "@astrojs/vercel": "^7.3.0",
"@astrojs/vercel": "^7.3.0", "@nanostores/persistent": "^0.9.1",
"@nanostores/persistent": "^0.9.1", "astro": "^4.3.6",
"astro": "^4.3.6", "nanostores": "^0.9.5"
"nanostores": "^0.9.5" },
}, "devDependencies": {
"devDependencies": { "@astrojs/check": "^0.5.3",
"@astrojs/check": "^0.5.3", "@types/node": "^18.17.0",
"@types/node": "^18.17.0", "@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0", "browserslist": "^4.22.3",
"browserslist": "^4.22.3", "eslint": "^8.56.0",
"eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0",
"eslint-config-prettier": "^9.1.0", "eslint-plugin-astro": "^0.31.4",
"eslint-plugin-astro": "^0.31.4", "eslint-plugin-unicorn": "^51.0.1",
"eslint-plugin-unicorn": "^51.0.1", "lightningcss": "^1.23.0",
"husky": "^9.0.10", "lint-staged": "^15.2.2",
"lightningcss": "^1.23.0", "prettier": "^3.2.5",
"lint-staged": "^15.2.2", "prettier-plugin-astro": "^0.13.0",
"prettier": "^3.2.5", "sass": "^1.70.0",
"prettier-plugin-astro": "^0.13.0", "sharp": "^0.33.2",
"sass": "^1.70.0", "stylelint": "^16.2.1",
"sharp": "^0.33.2", "stylelint-config-standard-scss": "^13.0.0",
"stylelint": "^16.2.1", "svgo": "^3.2.0",
"stylelint-config-standard-scss": "^13.0.0", "typescript": "^5.3.3"
"svgo": "^3.2.0", },
"typescript": "^5.3.3" "lint-staged": {
}, "*": "pnpm run fix:prettier",
"lint-staged": { "*.{astro,js,ts}": "pnpm run fix:eslint",
"*": "pnpm run fix:prettier", "*.scss": "pnpm run fix:stylelint",
"*.{astro,js,ts}": "pnpm run fix:eslint", "assets/*.{png,svg}": "pnpm run build:icons"
"*.scss": "pnpm run fix:stylelint", },
"assets/*.{png,svg}": "pnpm run build:icons" "prettier": {
}, "singleAttributePerLine": true
"prettier": { },
"singleAttributePerLine": true "stylelint": {
}, "extends": "stylelint-config-standard-scss"
"stylelint": { },
"extends": "stylelint-config-standard-scss" "engines": {
}, "node": "^18.17.0 || >= 20.3.0"
"engines": { }
"node": "^18.17.0 || >= 20.3.0"
}
} }