mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-12-21 07:50:10 +00:00
051073a046
This commit has a long story behind it. Removes Ruffle from /scripts/ and instead always loads the installed version from unpkg, Ruffle's preferred CDN. This requires having unpkg in the CORS rules. Ruffle is also loaded from the CDN in dev mode. To help with this an externalPackages array has been added to the vite dev config. Co-authored-by: Julia Johannesen <julia@insertdomain.name>
145 lines
4.7 KiB
JSON
145 lines
4.7 KiB
JSON
{
|
|
"name": "frontend",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"watch": "vite",
|
|
"dev": "vite --config vite.config.local-dev.ts --debug hmr",
|
|
"build": "vite build",
|
|
"storybook-dev": "nodemon --verbose --watch src --ext \"mdx,ts,vue\" --ignore \"*.stories.ts\" --exec \"pnpm build-storybook-pre && pnpm exec storybook dev -p 6006 --ci\"",
|
|
"build-storybook-pre": "(tsc -p .storybook || echo done.) && node .storybook/generate.js && node .storybook/preload-locale.js && node .storybook/preload-theme.js",
|
|
"build-storybook": "pnpm build-storybook-pre && storybook build --webpack-stats-json storybook-static",
|
|
"chromatic": "chromatic",
|
|
"test": "vitest --run --globals",
|
|
"test-and-coverage": "vitest --run --coverage --globals",
|
|
"typecheck": "vue-tsc --noEmit",
|
|
"eslint": "eslint --quiet \"{src,test,js,@types}/**/*.{js,jsx,ts,tsx,vue}\" --cache",
|
|
"lint": "pnpm typecheck && pnpm eslint"
|
|
},
|
|
"dependencies": {
|
|
"@discordapp/twemoji": "15.1.0",
|
|
"@github/webauthn-json": "2.1.1",
|
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
|
"@misskey-dev/browser-image-resizer": "2024.1.0",
|
|
"@phosphor-icons/web": "^2.0.3",
|
|
"@rollup/plugin-json": "6.1.0",
|
|
"@rollup/plugin-replace": "5.0.7",
|
|
"@rollup/pluginutils": "5.1.2",
|
|
"@ruffle-rs/ruffle": "0.1.0-nightly.2024.10.15",
|
|
"@syuilo/aiscript": "0.19.0",
|
|
"@transfem-org/sfm-js": "0.24.5",
|
|
"@twemoji/parser": "15.1.1",
|
|
"@vitejs/plugin-vue": "5.1.4",
|
|
"@vue/compiler-sfc": "3.5.10",
|
|
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.11",
|
|
"astring": "1.9.0",
|
|
"broadcast-channel": "7.0.0",
|
|
"buraha": "0.0.1",
|
|
"canvas-confetti": "1.9.3",
|
|
"chart.js": "4.4.4",
|
|
"chartjs-adapter-date-fns": "3.0.0",
|
|
"chartjs-chart-matrix": "2.0.1",
|
|
"chartjs-plugin-gradient": "0.6.1",
|
|
"chartjs-plugin-zoom": "2.0.1",
|
|
"chromatic": "11.10.4",
|
|
"compare-versions": "6.1.1",
|
|
"cropperjs": "2.0.0-rc.2",
|
|
"date-fns": "2.30.0",
|
|
"estree-walker": "3.0.3",
|
|
"eventemitter3": "5.0.1",
|
|
"idb-keyval": "6.2.1",
|
|
"insert-text-at-cursor": "0.3.0",
|
|
"is-file-animated": "1.0.2",
|
|
"json5": "2.2.3",
|
|
"katex": "0.16.10",
|
|
"matter-js": "0.19.0",
|
|
"misskey-bubble-game": "workspace:*",
|
|
"misskey-js": "workspace:*",
|
|
"misskey-reversi": "workspace:*",
|
|
"frontend-shared": "workspace:*",
|
|
"photoswipe": "5.4.4",
|
|
"punycode": "2.3.1",
|
|
"rollup": "4.22.5",
|
|
"sanitize-html": "2.13.0",
|
|
"sass": "1.79.3",
|
|
"shiki": "1.12.0",
|
|
"strict-event-emitter-types": "2.0.0",
|
|
"textarea-caret": "3.1.0",
|
|
"three": "0.169.0",
|
|
"throttle-debounce": "5.0.2",
|
|
"tinycolor2": "1.6.0",
|
|
"tsc-alias": "1.8.10",
|
|
"tsconfig-paths": "4.2.0",
|
|
"typescript": "5.6.2",
|
|
"uuid": "10.0.0",
|
|
"v-code-diff": "1.13.1",
|
|
"vite": "5.4.8",
|
|
"vue": "3.5.10",
|
|
"vuedraggable": "next"
|
|
},
|
|
"optionalDependencies": {
|
|
"cypress": "13.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@misskey-dev/summaly": "5.1.0",
|
|
"@storybook/addon-actions": "8.3.3",
|
|
"@storybook/addon-essentials": "8.3.3",
|
|
"@storybook/addon-interactions": "8.3.3",
|
|
"@storybook/addon-links": "8.3.3",
|
|
"@storybook/addon-mdx-gfm": "8.3.3",
|
|
"@storybook/addon-storysource": "8.3.3",
|
|
"@storybook/blocks": "8.3.3",
|
|
"@storybook/components": "8.3.3",
|
|
"@storybook/core-events": "8.3.3",
|
|
"@storybook/manager-api": "8.3.3",
|
|
"@storybook/preview-api": "8.3.3",
|
|
"@storybook/react": "8.3.3",
|
|
"@storybook/react-vite": "8.3.3",
|
|
"@storybook/test": "8.3.3",
|
|
"@storybook/theming": "8.3.3",
|
|
"@storybook/types": "8.3.3",
|
|
"@storybook/vue3": "8.3.3",
|
|
"@storybook/vue3-vite": "8.3.3",
|
|
"@testing-library/vue": "8.1.0",
|
|
"@types/estree": "1.0.6",
|
|
"@types/katex": "^0.16.7",
|
|
"@types/matter-js": "0.19.7",
|
|
"@types/micromatch": "4.0.9",
|
|
"@types/node": "20.14.12",
|
|
"@types/punycode": "2.1.4",
|
|
"@types/sanitize-html": "2.13.0",
|
|
"@types/seedrandom": "3.0.8",
|
|
"@types/throttle-debounce": "5.0.2",
|
|
"@types/tinycolor2": "1.4.6",
|
|
"@types/uuid": "10.0.0",
|
|
"@types/ws": "8.5.12",
|
|
"@typescript-eslint/eslint-plugin": "7.17.0",
|
|
"@typescript-eslint/parser": "7.17.0",
|
|
"@vitest/coverage-v8": "1.6.0",
|
|
"@vue/runtime-core": "3.5.10",
|
|
"acorn": "8.12.1",
|
|
"cross-env": "7.0.3",
|
|
"eslint-plugin-import": "2.30.0",
|
|
"eslint-plugin-vue": "9.28.0",
|
|
"fast-glob": "3.3.2",
|
|
"happy-dom": "10.0.3",
|
|
"intersection-observer": "0.12.2",
|
|
"micromatch": "4.0.8",
|
|
"msw": "2.4.9",
|
|
"msw-storybook-addon": "2.0.3",
|
|
"nodemon": "3.1.7",
|
|
"prettier": "3.3.3",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"seedrandom": "3.0.5",
|
|
"start-server-and-test": "2.0.8",
|
|
"storybook": "8.3.3",
|
|
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
|
|
"vite-plugin-turbosnap": "1.0.3",
|
|
"vitest": "1.6.0",
|
|
"vitest-fetch-mock": "0.2.2",
|
|
"vue-component-type-helpers": "2.1.6",
|
|
"vue-eslint-parser": "9.4.3",
|
|
"vue-tsc": "2.1.6"
|
|
}
|
|
}
|