-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
81 lines (81 loc) · 2.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "share2fedi",
"version": "3.1.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",
"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"
},
"browserslist": "cover 95%, last 2 versions, Firefox ESR, not dead",
"dependencies": {
"@astrojs/cloudflare": "^11.0.4",
"@astrojs/deno": "^5.0.1",
"@astrojs/netlify": "^5.5.2",
"@astrojs/node": "^8.3.3",
"@astrojs/vercel": "^7.8.1",
"@nanostores/persistent": "^0.10.2",
"astro": "^4.15.4",
"nanostores": "^0.11.3"
},
"devDependencies": {
"@astrojs/check": "^0.9.3",
"@types/node": "^18.19.50",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"browserslist": "^4.23.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-astro": "^1.2.4",
"eslint-plugin-unicorn": "^55.0.0",
"husky": "^9.1.6",
"lightningcss": "^1.27.0",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"sass": "^1.78.0",
"sharp": "^0.33.5",
"stylelint": "^16.9.0",
"stylelint-config-standard-scss": "^13.1.0",
"svgo": "^3.3.2",
"typescript": "^5.6.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.0 || >= 20.3.0"
}
}