mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-20 23:28:24 +03:00
For now, this only works for unsent unsaved drafts e.g. the browser kill the page without giving the user the chance to discard
62 lines
1.7 KiB
JSON
62 lines
1.7 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",
|
|
"sourcemap": "npx source-map-explorer dist/assets/*.js"
|
|
},
|
|
"dependencies": {
|
|
"@github/text-expander-element": "~2.3.0",
|
|
"@iconify-icons/mingcute": "~1.2.3",
|
|
"dayjs": "~1.11.7",
|
|
"dayjs-twitter": "~0.5.0",
|
|
"fast-blurhash": "~1.1.2",
|
|
"fast-deep-equal": "~3.1.3",
|
|
"history": "~5.3.0",
|
|
"idb-keyval": "~6.2.0",
|
|
"just-debounce-it": "~3.2.0",
|
|
"masto": "~5.2.0",
|
|
"mem": "~9.0.2",
|
|
"preact": "~10.11.3",
|
|
"preact-router": "~4.1.0",
|
|
"react-hotkeys-hook": "~4.3.2",
|
|
"react-intersection-observer": "~9.4.1",
|
|
"string-length": "~5.0.1",
|
|
"swiped-events": "~1.1.7",
|
|
"toastify-js": "~1.12.0",
|
|
"uid": "~2.0.1",
|
|
"use-resize-observer": "~9.1.0",
|
|
"valtio": "~1.8.2"
|
|
},
|
|
"devDependencies": {
|
|
"@preact/preset-vite": "~2.5.0",
|
|
"@trivago/prettier-plugin-sort-imports": "~4.0.0",
|
|
"autoprefixer": "~10.4.13",
|
|
"postcss": "~8.4.21",
|
|
"postcss-dark-theme-class": "~0.7.3",
|
|
"twitter-text": "~3.1.0",
|
|
"vite": "~4.0.4",
|
|
"vite-plugin-html-config": "~1.0.11",
|
|
"vite-plugin-html-env": "~1.2.7",
|
|
"vite-plugin-pwa": "~0.14.1",
|
|
"vite-plugin-remove-console": "~1.3.0",
|
|
"workbox-cacheable-response": "~6.5.4",
|
|
"workbox-expiration": "~6.5.4",
|
|
"workbox-routing": "~6.5.4",
|
|
"workbox-strategies": "~6.5.4"
|
|
},
|
|
"postcss": {
|
|
"plugins": {
|
|
"postcss-dark-theme-class": {},
|
|
"autoprefixer": {}
|
|
}
|
|
},
|
|
"browserslist": [
|
|
"defaults",
|
|
"android >= 4"
|
|
]
|
|
}
|