revite/package.json

177 lines
6.5 KiB
JSON
Raw Permalink Normal View History

2021-06-18 07:05:01 -04:00
{
"version": "1.0.1",
2021-08-05 09:47:00 -04:00
"scripts": {
2022-09-19 05:53:50 -04:00
"preinstall": "npx only-allow pnpm",
"dev": "node scripts/setup_assets.js --check && vite",
"pull": "node scripts/setup_assets.js",
2022-09-19 08:14:36 -04:00
"build:deps": "pnpm run -r build",
"build": "rimraf build && node scripts/setup_assets.js --check && vite build",
2022-09-19 09:01:38 -04:00
"build:all": "npm run build:deps && npm run build",
2021-08-05 09:47:00 -04:00
"preview": "vite preview",
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
2021-08-05 09:47:00 -04:00
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"typecheck": "tsc --noEmit",
"start": "sirv dist --cors --single --host",
"start:inject": "node scripts/inject.js && sirv dist_injected --cors --single --host"
2021-08-05 09:47:00 -04:00
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"preact",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"build/"
],
"rules": {
"radix": "off",
"no-spaced-func": "off",
"react/no-danger": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^_"
}
],
"no-unused-vars": [
"warn",
{
"varsIgnorePattern": "^_"
}
],
"react/jsx-no-literals": "warn"
2021-08-05 09:47:00 -04:00
}
},
"dependencies": {
2022-09-19 08:14:36 -04:00
"fs-extra": "^10.1.0",
2021-09-03 14:27:39 -04:00
"klaw": "^3.0.0",
2021-09-03 16:36:18 -04:00
"sirv-cli": "^1.0.14",
2022-09-19 08:14:36 -04:00
"vite": "^3.1.2"
2021-08-05 09:47:00 -04:00
},
"devDependencies": {
2022-09-19 08:58:39 -04:00
"hast-util-is-element": "^2.1.2",
2022-09-19 08:14:36 -04:00
"@babel/plugin-proposal-decorators": "^7.19.1",
"@babel/runtime": "^7.19.0",
2022-08-08 10:21:46 -04:00
"@floating-ui/react-dom": "^1.0.0",
2022-09-19 08:14:36 -04:00
"@floating-ui/react-dom-interactions": "^0.9.3",
"@fontsource/atkinson-hyperlegible": "^4.5.9",
"@fontsource/bitter": "^4.5.8",
"@fontsource/comic-neue": "^4.5.9",
"@fontsource/fira-code": "^4.5.11",
"@fontsource/inter": "^4.5.12",
"@fontsource/jetbrains-mono": "^4.5.10",
"@fontsource/lato": "^4.5.9",
"@fontsource/lexend": "^4.5.12",
"@fontsource/montserrat": "^4.5.12",
"@fontsource/noto-sans": "^4.5.11",
"@fontsource/open-sans": "^4.5.11",
"@fontsource/opendyslexic": "^4.5.4",
"@fontsource/poppins": "^4.5.9",
"@fontsource/raleway": "^4.5.10",
"@fontsource/roboto": "^4.5.8",
"@fontsource/roboto-mono": "^4.5.8",
"@fontsource/source-code-pro": "^4.5.12",
"@fontsource/space-mono": "^4.5.10",
"@fontsource/ubuntu": "^4.5.11",
"@fontsource/ubuntu-mono": "^4.5.11",
"@hcaptcha/react-hcaptcha": "^0.3.10",
"@insertish/vite-plugin-babel-macros": "^1.0.5",
2022-09-19 08:14:36 -04:00
"@mapbox/hast-util-table-cell-style": "workspace:0.2.0",
"@preact/preset-vite": "^2.4.0",
"@revoltchat/ui": "workspace:1.0.77",
2021-08-05 09:47:00 -04:00
"@rollup/plugin-replace": "^2.4.2",
2022-09-19 08:14:36 -04:00
"@styled-icons/boxicons-logos": "^10.46.0",
"@styled-icons/boxicons-regular": "^10.46.0",
"@styled-icons/boxicons-solid": "^10.46.0",
"@styled-icons/simple-icons": "^10.46.0",
2022-05-27 16:18:12 -04:00
"@tippyjs/react": "4.2.6",
2022-09-19 08:14:36 -04:00
"@traptitech/markdown-it-katex": "^3.6.0",
2021-08-05 09:47:00 -04:00
"@traptitech/markdown-it-spoiler": "^1.1.6",
2022-09-19 08:14:36 -04:00
"@trivago/prettier-plugin-sort-imports": "^2.0.4",
"@types/lodash": "^4.14.185",
"@types/lodash.defaultsdeep": "^4.6.7",
"@types/lodash.isequal": "^4.5.6",
"@types/node": "^15.14.9",
"@types/preact-i18n": "^2.3.1",
"@types/prismjs": "^1.26.0",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-helmet": "^6.1.5",
"@types/react-router-dom": "^5.3.3",
"@types/react-scroll": "^1.8.4",
"@types/semver": "^7.3.12",
"@types/styled-components": "^5.1.26",
"@types/twemoji": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-legacy": "^1.8.2",
"classnames": "^2.3.2",
"color-rgba": "^2.4.0",
2022-09-19 08:14:36 -04:00
"dayjs": "^1.11.5",
"detect-browser": "^5.3.0",
"eslint": "^7.32.0",
"eslint-config-preact": "^1.3.0",
"eslint-plugin-jsdoc": "^39.3.6",
"eslint-plugin-mobx": "^0.0.8",
2021-08-05 09:47:00 -04:00
"eventemitter3": "^4.0.7",
2022-09-19 08:14:36 -04:00
"history": "^4.10.1",
"json-stringify-deterministic": "^1.0.7",
"localforage": "^1.10.0",
2022-07-04 14:04:27 -04:00
"lodash": "^4.17.21",
2021-08-05 09:47:00 -04:00
"lodash.defaultsdeep": "^4.6.1",
"lodash.isequal": "^4.5.0",
"long": "^5.2.0",
2022-09-19 08:14:36 -04:00
"mdast-util-to-hast": "^12.2.2",
"mediasoup-client": "npm:@insertish/mediasoup-client@^3.6.36-esnext",
"mobx": "^6.6.2",
2022-05-26 06:13:52 -04:00
"mobx-react-lite": "3.4.0",
2022-09-19 08:14:36 -04:00
"preact": "^10.11.0",
2022-06-14 11:27:46 -04:00
"preact-context-menu": "0.4.1",
2021-08-05 09:47:00 -04:00
"preact-i18n": "^2.4.0-preactx",
2022-09-19 08:14:36 -04:00
"prettier": "^2.7.1",
"prismjs": "^1.29.0",
"qrcode.react": "^3.1.0",
"react-beautiful-dnd": "^13.1.1",
2022-05-27 16:18:12 -04:00
"react-device-detect": "2.2.2",
2021-08-05 09:47:00 -04:00
"react-helmet": "^6.1.0",
"react-hook-form": "6.3.0",
"react-overlapping-panels": "1.2.2",
2022-09-19 08:14:36 -04:00
"react-router-dom": "^5.3.3",
"react-scroll": "^1.8.7",
"react-virtuoso": "^2.19.0",
"rehype-katex": "^6.0.2",
"rehype-prism": "^2.1.3",
"rehype-react": "^7.1.1",
2022-09-19 08:14:36 -04:00
"remark": "^14.0.2",
"remark-breaks": "^3.0.2",
"remark-gfm": "^3.0.1",
"remark-math": "^5.1.1",
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
2022-09-19 08:14:36 -04:00
"revolt.js": "workspace:6.0.18",
2021-08-05 09:47:00 -04:00
"rimraf": "^3.0.2",
2022-09-19 08:14:36 -04:00
"sass": "^1.54.9",
"semver": "^7.3.7",
2021-08-05 09:47:00 -04:00
"shade-blend-color": "^1.0.0",
2022-09-19 08:14:36 -04:00
"slate": "^0.81.3",
2022-07-04 14:04:27 -04:00
"slate-history": "^0.66.0",
"slate-react": "^0.81.0",
"stacktrace-js": "^2.0.2",
2022-09-19 08:14:36 -04:00
"styled-components": "^5.3.5",
"typescript": "^4.8.3",
2021-08-05 09:47:00 -04:00
"ulid": "^2.3.0",
"unified": "^10.1.2",
2022-09-19 08:14:36 -04:00
"unist-util-visit": "^4.1.1",
"use-resize-observer": "^7.0.1",
"vite-plugin-pwa": "^0.12.8",
"workbox-precaching": "^6.5.4",
"workbox-window": "^6.5.4"
2021-08-05 09:47:00 -04:00
},
"name": "client",
"main": "index.js",
"repository": "https://github.com/revoltchat/revite.git",
2021-08-05 09:47:00 -04:00
"author": "Paul <paulmakles@gmail.com>",
2022-09-19 05:53:50 -04:00
"license": "MIT"
2021-06-18 07:05:01 -04:00
}