2020-09-23 09:08:21 -05:00
|
|
|
{
|
2023-03-16 09:20:56 -05:00
|
|
|
"name": "share2fedi",
|
2023-06-17 07:16:00 -05:00
|
|
|
"version": "2.4.5",
|
2023-03-16 13:06:57 -05:00
|
|
|
"description": "Instance-agnostic share page for the Fediverse.",
|
2021-08-14 12:01:37 -05:00
|
|
|
"license": "AGPL-3.0-or-later",
|
2021-11-04 12:01:45 -05:00
|
|
|
"author": "Nikita Karamov <me@kytta.dev>",
|
2023-03-16 09:20:56 -05:00
|
|
|
"homepage": "https://s2f.kytta.dev/",
|
2021-08-14 12:01:37 -05:00
|
|
|
"repository": {
|
2021-08-14 12:12:42 -05:00
|
|
|
"type": "git",
|
2023-03-16 04:41:55 -05:00
|
|
|
"url": "https://github.com/kytta/share2fedi.git"
|
2021-08-14 12:12:42 -05:00
|
|
|
},
|
2021-08-14 12:01:37 -05:00
|
|
|
"private": true,
|
2023-03-16 05:47:59 -05:00
|
|
|
"type": "module",
|
2021-01-29 16:56:37 -05:00
|
|
|
"scripts": {
|
2023-03-26 09:18:40 -05:00
|
|
|
"dev": "astro dev --host 127.0.0.1",
|
2023-08-26 08:23:09 -05:00
|
|
|
"start": "astro dev --host 127.0.0.1",
|
|
|
|
"build": "astro build",
|
2023-08-30 05:06:36 -05:00
|
|
|
"build:icons": "bash ./script/build-icons",
|
2023-03-17 15:08:08 -05:00
|
|
|
"preview": "astro preview",
|
2023-08-30 05:06:36 -05:00
|
|
|
"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"
|
2021-01-29 16:56:37 -05:00
|
|
|
},
|
2023-03-16 04:28:48 -05:00
|
|
|
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
|
2023-03-17 15:08:08 -05:00
|
|
|
"dependencies": {
|
2023-08-26 08:10:16 -05:00
|
|
|
"@astrojs/cloudflare": "^6.8.1",
|
2023-08-26 08:27:20 -05:00
|
|
|
"@astrojs/deno": "^4.3.0",
|
2023-08-26 08:10:16 -05:00
|
|
|
"@astrojs/netlify": "^2.6.0",
|
|
|
|
"@astrojs/node": "^5.3.6",
|
|
|
|
"@astrojs/vercel": "^3.8.2",
|
2023-08-26 08:21:13 -05:00
|
|
|
"@nanostores/persistent": "^0.9.1",
|
2023-08-26 08:10:16 -05:00
|
|
|
"astro": "^2.10.14",
|
2023-08-26 08:21:13 -05:00
|
|
|
"nanostores": "^0.9.3"
|
2023-03-17 15:08:08 -05:00
|
|
|
},
|
2021-01-29 16:56:37 -05:00
|
|
|
"devDependencies": {
|
2023-08-26 08:21:13 -05:00
|
|
|
"@types/node": "^18.17.11",
|
2023-08-26 08:15:56 -05:00
|
|
|
"@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",
|
2023-08-30 05:06:36 -05:00
|
|
|
"husky": "^8.0.0",
|
|
|
|
"lint-staged": "^14.0.1",
|
2023-08-26 08:15:56 -05:00
|
|
|
"prettier": "^3.0.2",
|
|
|
|
"prettier-plugin-astro": "^0.12.0",
|
2023-08-26 08:21:13 -05:00
|
|
|
"sass": "^1.66.1",
|
|
|
|
"sharp": "^0.32.5",
|
2023-08-26 08:24:31 -05:00
|
|
|
"stylelint": "^15.10.3",
|
|
|
|
"stylelint-config-standard-scss": "^10.0.0",
|
2023-03-17 20:02:20 -05:00
|
|
|
"svgo": "^3.0.2",
|
2023-08-26 08:37:02 -05:00
|
|
|
"typescript": "^5.0.2",
|
|
|
|
"vite-plugin-lightningcss": "^0.0.5"
|
2023-03-16 08:44:21 -05:00
|
|
|
},
|
2023-08-30 05:06:36 -05:00
|
|
|
"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"
|
|
|
|
},
|
2023-03-17 08:06:30 -05:00
|
|
|
"prettier": {
|
|
|
|
"printWidth": 80,
|
|
|
|
"quoteProps": "as-needed",
|
|
|
|
"trailingComma": "all",
|
|
|
|
"proseWrap": "always",
|
|
|
|
"singleAttributePerLine": true
|
|
|
|
},
|
2023-03-16 08:44:21 -05:00
|
|
|
"stylelint": {
|
|
|
|
"extends": "stylelint-config-standard-scss"
|
2021-01-29 16:56:37 -05:00
|
|
|
}
|
2020-09-23 09:08:21 -05:00
|
|
|
}
|