70 lines
1.8 KiB
JSON
70 lines
1.8 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": {
|
|
"build": "astro build",
|
|
"dev": "astro dev --host 127.0.0.1",
|
|
"fmt": "prettier --write --plugin-search-dir=. .",
|
|
"lint": "prettier --check . && eslint . && stylelint '**/*.scss' && tsc",
|
|
"preview": "astro preview",
|
|
"test": "pnpm run lint"
|
|
},
|
|
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
|
|
"dependencies": {
|
|
"@astrojs/cloudflare": "^6.8.1",
|
|
"@astrojs/netlify": "^2.6.0",
|
|
"@astrojs/node": "^5.3.6",
|
|
"@astrojs/vercel": "^3.8.2",
|
|
"@nanostores/persistent": "^0.7.0",
|
|
"astro": "^2.10.14",
|
|
"nanostores": "^0.7.4"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.15.10",
|
|
"@typescript-eslint/eslint-plugin": "^6.4.1",
|
|
"@typescript-eslint/parser": "^6.4.1",
|
|
"autoprefixer": "^10.4.14",
|
|
"browserslist": "^4.21.5",
|
|
"eslint": "^8.48.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-astro": "^0.29.0",
|
|
"eslint-plugin-unicorn": "^48.0.1",
|
|
"postcss": "^8.4.21",
|
|
"postcss-csso": "^6.0.1",
|
|
"prettier": "^3.0.2",
|
|
"prettier-plugin-astro": "^0.12.0",
|
|
"sass": "^1.60.0",
|
|
"sharp": "^0.31.3",
|
|
"stylelint": "^15.3.0",
|
|
"stylelint-config-standard-scss": "^7.0.1",
|
|
"svgo": "^3.0.2",
|
|
"typescript": "^5.0.2"
|
|
},
|
|
"postcss": {
|
|
"map": true,
|
|
"plugins": {
|
|
"autoprefixer": {},
|
|
"postcss-csso": {}
|
|
}
|
|
},
|
|
"prettier": {
|
|
"printWidth": 80,
|
|
"quoteProps": "as-needed",
|
|
"trailingComma": "all",
|
|
"proseWrap": "always",
|
|
"singleAttributePerLine": true
|
|
},
|
|
"stylelint": {
|
|
"extends": "stylelint-config-standard-scss"
|
|
}
|
|
}
|