mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-05 20:03:34 +01:00
81 lines
2.3 KiB
JSON
81 lines
2.3 KiB
JSON
{
|
|
"name": "share2fedi",
|
|
"version": "3.2.0",
|
|
"description": "Instance-agnostic share page for the Fediverse.",
|
|
"license": "AGPL-3.0-only",
|
|
"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",
|
|
"start": "astro dev",
|
|
"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",
|
|
"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"
|
|
},
|
|
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
|
|
"dependencies": {
|
|
"@astrojs/cloudflare": "^12.2.1",
|
|
"@astrojs/netlify": "^6.1.0",
|
|
"@astrojs/node": "^9.0.2",
|
|
"@astrojs/vercel": "^8.0.4",
|
|
"@deno/astro-adapter": "~0.2.0",
|
|
"@nanostores/persistent": "^0.10.2",
|
|
"astro": "^5.1.9",
|
|
"nanostores": "^0.11.3",
|
|
"zod": "^3.24.1"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "^0.9.4",
|
|
"@types/node": "^22.10.10",
|
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
"@typescript-eslint/parser": "^7.18.0",
|
|
"browserslist": "^4.24.4",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-prettier": "^9.1.0",
|
|
"eslint-plugin-astro": "^1.3.1",
|
|
"eslint-plugin-unicorn": "^55.0.0",
|
|
"husky": "^9.1.7",
|
|
"lightningcss": "^1.29.1",
|
|
"lint-staged": "^15.4.2",
|
|
"prettier": "^3.4.2",
|
|
"prettier-plugin-astro": "^0.14.1",
|
|
"sass": "^1.83.4",
|
|
"sharp": "^0.33.5",
|
|
"stylelint": "^16.14.0",
|
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
"svgo": "^3.3.2"
|
|
},
|
|
"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": {
|
|
"singleAttributePerLine": true
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-standard-scss"
|
|
},
|
|
"engines": {
|
|
"node": "^18.17.1 || ^20.3.0 || ^22.0.0"
|
|
}
|
|
}
|