Files
MyBlog-Next/package.json
T
Sat Naing fb63d96011 fix: slugify supports better acronyms and preserve non-latin char (#606)
* fix: slugify supports better acronyms and preserve non-latin char

Update slugify function to handle better acronyms and preserve non-latin characters.
- uses slugify (simov) for Latin-only strings to fix acronym issue (eg: e2e-testing)
- uses lodash.kebabcase for strings with non-latin characters to preserve them

* fix: remove dots in slugified titles for view transitions

Fixes #584
2026-01-14 05:20:25 +07:00

48 lines
1.3 KiB
JSON

{
"name": "astro-paper",
"type": "module",
"version": "5.5.1",
"scripts": {
"dev": "astro dev",
"build": "astro check && astro build && pagefind --site dist && cp -r dist/pagefind public/",
"preview": "astro preview",
"sync": "astro sync",
"astro": "astro",
"format:check": "prettier --check .",
"format": "prettier --write .",
"lint": "eslint ."
},
"dependencies": {
"@astrojs/rss": "^4.0.14",
"@astrojs/sitemap": "^3.6.0",
"@resvg/resvg-js": "^2.6.2",
"@tailwindcss/vite": "^4.1.18",
"astro": "^5.16.6",
"dayjs": "^1.11.19",
"lodash.kebabcase": "^4.1.1",
"remark-collapse": "^0.1.2",
"remark-toc": "^9.0.0",
"satori": "^0.18.3",
"sharp": "^0.34.5",
"slugify": "^1.6.6",
"tailwindcss": "^4.1.18"
},
"devDependencies": {
"@astrojs/check": "^0.9.6",
"@pagefind/default-ui": "^1.4.0",
"@shikijs/transformers": "^3.20.0",
"@tailwindcss/typography": "^0.5.19",
"@types/lodash.kebabcase": "^4.1.9",
"@typescript-eslint/parser": "^8.51.0",
"eslint": "^9.39.2",
"eslint-plugin-astro": "^1.5.0",
"globals": "^16.5.0",
"pagefind": "^1.4.0",
"prettier": "^3.7.4",
"prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.7.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.51.0"
}
}