This repository has been archived on 2024-05-13. You can view files and clone it, but cannot push or open issues or pull requests.
share2fedi/package.json
2023-09-02 21:56:58 +02:00

80 lines
2.3 KiB
JSON

{
"name": "share2fedi",
"version": "2.4.5",
"description": "Instance-agnostic share page for the Fediverse.",
"license": "AGPL-3.0-or-later",
"author": "Nikita Karamov <me@kytta.dev>",
"homepage": "https://s2f.kytta.dev/",
"repository": {
"type": "git",
"url": "https://github.com/kytta/share2fedi.git"
},
"private": true,
"type": "module",
"scripts": {
"dev": "astro dev --host 127.0.0.1",
"start": "astro dev --host 127.0.0.1",
"build": "astro build",
"build:icons": "bash ./script/build-icons",
"preview": "astro preview",
"check": "pnpm run /^check:/",
"check:astro": "astro check",
"check:eslint": "eslint .",
"check:prettier": "prettier --check --plugin=prettier-plugin-astro .",
"check:stylelint": "stylelint **/*.scss",
"check:typescript": "tsc --noEmit",
"fix": "pnpm fix:prettier . && pnpm fix:eslint .",
"fix:eslint": "eslint --fix",
"fix:prettier": "prettier --write --ignore-unknown --plugin=prettier-plugin-astro",
"fix:stylelint": "stylelint --fix",
"test": "pnpm run check",
"prepare": "husky install"
},
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
"dependencies": {
"@astrojs/cloudflare": "^6.8.1",
"@astrojs/deno": "^4.3.0",
"@astrojs/netlify": "^2.6.0",
"@astrojs/node": "^5.3.6",
"@astrojs/vercel": "^3.8.2",
"@nanostores/persistent": "^0.9.1",
"astro": "^2.10.14",
"nanostores": "^0.9.3"
},
"devDependencies": {
"@types/node": "^18.17.11",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-astro": "^0.29.0",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^8.0.0",
"lint-staged": "^14.0.1",
"prettier": "^3.0.2",
"prettier-plugin-astro": "^0.12.0",
"sass": "^1.66.1",
"sharp": "^0.32.5",
"stylelint": "^15.10.3",
"stylelint-config-standard-scss": "^10.0.0",
"svgo": "^3.0.2",
"typescript": "^5.0.2",
"vite-plugin-lightningcss": "^0.0.5"
},
"lint-staged": {
"*": "pnpm run fix:prettier",
"*.{astro,js,ts}": "pnpm run fix:eslint",
"*.scss": "pnpm run fix:stylelint",
"assets/*.{png,svg}": "pnpm run build:icons"
},
"prettier": {
"printWidth": 80,
"quoteProps": "as-needed",
"trailingComma": "all",
"proseWrap": "always",
"singleAttributePerLine": true
},
"stylelint": {
"extends": "stylelint-config-standard-scss"
}
}