2020-09-23 09:08:21 -05:00
|
|
|
{
|
2023-03-16 09:20:56 -05:00
|
|
|
"name": "share2fedi",
|
2023-09-02 17:27:30 -05:00
|
|
|
"version": "3.0.0",
|
2023-03-16 13:06:57 -05:00
|
|
|
"description": "Instance-agnostic share page for the Fediverse.",
|
2023-09-02 09:17:15 -05:00
|
|
|
"license": "AGPL-3.0-only",
|
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-08-30 05:19:28 -05:00
|
|
|
"dev": "astro dev",
|
|
|
|
"start": "astro dev",
|
2023-08-26 08:23:09 -05:00
|
|
|
"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-09-02 15:15:57 -05:00
|
|
|
"@astrojs/cloudflare": "^7.0.1",
|
|
|
|
"@astrojs/deno": "^5.0.0",
|
|
|
|
"@astrojs/netlify": "^3.0.1",
|
|
|
|
"@astrojs/node": "^6.0.0",
|
|
|
|
"@astrojs/vercel": "^4.0.3",
|
2023-08-26 08:21:13 -05:00
|
|
|
"@nanostores/persistent": "^0.9.1",
|
2023-09-02 15:15:57 -05:00
|
|
|
"astro": "^3.0.7",
|
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-09-02 15:15:57 -05:00
|
|
|
"@astrojs/check": "^0.2.0",
|
|
|
|
"@types/node": "^18.17.14",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^6.5.0",
|
|
|
|
"@typescript-eslint/parser": "^6.5.0",
|
2023-08-26 08:15:56 -05:00
|
|
|
"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-09-02 15:15:57 -05:00
|
|
|
"prettier": "^3.0.3",
|
2023-08-26 08:15:56 -05:00
|
|
|
"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-09-02 15:15:57 -05:00
|
|
|
"typescript": "^5.2.2",
|
2023-08-26 08:37:02 -05:00
|
|
|
"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": {
|
|
|
|
"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
|
|
|
}
|