phanpy/package.json
Lim Chee Aun 400bc6f696 Truncate long posts on timeline, show "Read more"
10-line clamping for now
2022-12-17 21:06:51 +08:00

40 lines
1 KiB
JSON

{
"name": "phanpy",
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"fetch-instances": "env $(cat .env.dev | grep -v \"#\" | xargs) node scripts/fetch-instances-list.js"
},
"dependencies": {
"@github/text-expander-element": "~2.3.0",
"@github/time-elements": "~4.0.0",
"fast-blurhash": "~1.1.2",
"history": "~5.3.0",
"iconify-icon": "~1.0.2",
"masto": "~4.10.0",
"mem": "~9.0.2",
"preact": "~10.11.3",
"preact-router": "~4.1.0",
"react-intersection-observer": "~9.4.1",
"string-length": "~5.0.1",
"use-resize-observer": "~9.1.0",
"valtio": "~1.7.6"
},
"devDependencies": {
"@preact/preset-vite": "~2.5.0",
"@trivago/prettier-plugin-sort-imports": "~4.0.0",
"autoprefixer": "~10.4.13",
"postcss": "~8.4.20",
"postcss-dark-theme-class": "~0.7.3",
"vite": "~4.0.1"
},
"postcss": {
"plugins": {
"postcss-dark-theme-class": {},
"autoprefixer": {}
}
}
}