2021-06-18 07:05:01 -04:00
|
|
|
{
|
2021-08-05 09:47:00 -04:00
|
|
|
"version": "0.0.0",
|
|
|
|
"scripts": {
|
2021-10-23 10:38:52 -04:00
|
|
|
"dev": "node scripts/setup_assets.js --check && vite",
|
|
|
|
"pull": "node scripts/setup_assets.js",
|
|
|
|
"build": "rimraf build && node scripts/setup_assets.js --check && vite build",
|
2021-08-05 09:47:00 -04:00
|
|
|
"preview": "vite preview",
|
2021-12-10 07:53:41 -05:00
|
|
|
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
2021-08-05 09:47:00 -04:00
|
|
|
"fmt": "prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
|
2021-08-30 10:24:15 -04:00
|
|
|
"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": "^_"
|
|
|
|
}
|
2021-12-10 07:53:41 -05:00
|
|
|
],
|
|
|
|
"require-jsdoc": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"require": {
|
|
|
|
"FunctionDeclaration": true,
|
|
|
|
"MethodDefinition": true,
|
|
|
|
"ClassDeclaration": true,
|
|
|
|
"ArrowFunctionExpression": false,
|
|
|
|
"FunctionExpression": false
|
2021-12-11 07:08:43 -05:00
|
|
|
},
|
|
|
|
"ignore": {
|
2021-12-11 16:04:12 -05:00
|
|
|
"MethodDefinition": [
|
|
|
|
"toJSON",
|
|
|
|
"hydrate"
|
|
|
|
]
|
2021-12-10 07:53:41 -05:00
|
|
|
}
|
|
|
|
}
|
2021-08-05 09:47:00 -04:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-09-03 14:27:39 -04:00
|
|
|
"fs-extra": "^10.0.0",
|
|
|
|
"klaw": "^3.0.0",
|
2021-10-12 10:43:17 -04:00
|
|
|
"react-beautiful-dnd": "^13.1.0",
|
2021-09-03 16:36:18 -04:00
|
|
|
"sirv-cli": "^1.0.14",
|
2021-11-20 06:55:05 -05:00
|
|
|
"vite": "^2.6.14"
|
2021-08-05 09:47:00 -04:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@fontsource/atkinson-hyperlegible": "^4.4.5",
|
|
|
|
"@fontsource/bree-serif": "^4.4.5",
|
|
|
|
"@fontsource/comic-neue": "^4.4.5",
|
|
|
|
"@fontsource/fira-code": "^4.4.5",
|
|
|
|
"@fontsource/inter": "^4.4.5",
|
2021-11-04 16:55:26 -04:00
|
|
|
"@fontsource/jetbrains-mono": "^4.4.5",
|
2021-08-05 09:47:00 -04:00
|
|
|
"@fontsource/lato": "^4.4.5",
|
|
|
|
"@fontsource/montserrat": "^4.4.5",
|
|
|
|
"@fontsource/noto-sans": "^4.4.5",
|
|
|
|
"@fontsource/open-sans": "^4.4.5",
|
|
|
|
"@fontsource/poppins": "^4.4.5",
|
|
|
|
"@fontsource/raleway": "^4.4.5",
|
|
|
|
"@fontsource/roboto": "^4.4.5",
|
|
|
|
"@fontsource/roboto-mono": "^4.4.5",
|
|
|
|
"@fontsource/source-code-pro": "^4.4.5",
|
|
|
|
"@fontsource/space-mono": "^4.4.5",
|
|
|
|
"@fontsource/ubuntu": "^4.4.5",
|
|
|
|
"@fontsource/ubuntu-mono": "^4.4.5",
|
|
|
|
"@hcaptcha/react-hcaptcha": "^0.3.6",
|
|
|
|
"@preact/preset-vite": "^2.0.0",
|
|
|
|
"@rollup/plugin-replace": "^2.4.2",
|
|
|
|
"@styled-icons/boxicons-logos": "^10.34.0",
|
|
|
|
"@styled-icons/boxicons-regular": "^10.34.0",
|
|
|
|
"@styled-icons/boxicons-solid": "^10.37.0",
|
|
|
|
"@styled-icons/simple-icons": "^10.33.0",
|
|
|
|
"@tippyjs/react": "^4.2.5",
|
|
|
|
"@traptitech/markdown-it-katex": "^3.4.3",
|
|
|
|
"@traptitech/markdown-it-spoiler": "^1.1.6",
|
|
|
|
"@trivago/prettier-plugin-sort-imports": "^2.0.2",
|
|
|
|
"@types/lodash.defaultsdeep": "^4.6.6",
|
|
|
|
"@types/lodash.isequal": "^4.5.5",
|
|
|
|
"@types/markdown-it": "^12.0.2",
|
|
|
|
"@types/node": "^15.12.4",
|
|
|
|
"@types/preact-i18n": "^2.3.0",
|
|
|
|
"@types/prismjs": "^1.16.5",
|
2021-10-27 18:25:08 -04:00
|
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
2021-08-05 09:47:00 -04:00
|
|
|
"@types/react-helmet": "^6.1.1",
|
|
|
|
"@types/react-router-dom": "^5.1.7",
|
|
|
|
"@types/react-scroll": "^1.8.2",
|
2021-08-08 11:17:16 -04:00
|
|
|
"@types/react-virtualized-auto-sizer": "^1.0.1",
|
2021-08-05 09:47:00 -04:00
|
|
|
"@types/styled-components": "^5.1.10",
|
|
|
|
"@types/twemoji": "^12.1.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
|
|
"@typescript-eslint/parser": "^4.27.0",
|
|
|
|
"classnames": "^2.3.1",
|
|
|
|
"dayjs": "^1.10.6",
|
|
|
|
"detect-browser": "^5.2.0",
|
|
|
|
"eslint": "^7.28.0",
|
|
|
|
"eslint-config-preact": "^1.1.4",
|
|
|
|
"eventemitter3": "^4.0.7",
|
|
|
|
"highlight.js": "^11.0.1",
|
2021-12-23 21:05:18 -05:00
|
|
|
"json-stringify-deterministic": "^1.0.2",
|
2021-08-05 09:47:00 -04:00
|
|
|
"localforage": "^1.9.0",
|
|
|
|
"lodash.defaultsdeep": "^4.6.1",
|
|
|
|
"lodash.isequal": "^4.5.0",
|
|
|
|
"markdown-it": "^12.0.6",
|
|
|
|
"markdown-it-emoji": "^2.0.0",
|
|
|
|
"markdown-it-sub": "^1.0.0",
|
|
|
|
"markdown-it-sup": "^1.0.0",
|
|
|
|
"mediasoup-client": "npm:@insertish/mediasoup-client@3.6.36-esnext",
|
|
|
|
"mobx": "^6.3.2",
|
|
|
|
"mobx-react-lite": "^3.2.0",
|
|
|
|
"preact": "^10.5.14",
|
2021-08-18 06:17:37 -04:00
|
|
|
"preact-context-menu": "^0.2.1",
|
2021-08-05 09:47:00 -04:00
|
|
|
"preact-i18n": "^2.4.0-preactx",
|
|
|
|
"prettier": "^2.3.1",
|
|
|
|
"prismjs": "^1.23.0",
|
|
|
|
"react-device-detect": "^1.17.0",
|
|
|
|
"react-helmet": "^6.1.0",
|
|
|
|
"react-hook-form": "6.3.0",
|
|
|
|
"react-overlapping-panels": "1.2.2",
|
|
|
|
"react-router-dom": "^5.2.0",
|
|
|
|
"react-scroll": "^1.8.2",
|
2021-08-08 11:17:16 -04:00
|
|
|
"react-virtualized-auto-sizer": "^1.0.5",
|
2021-08-08 15:28:47 -04:00
|
|
|
"react-virtuoso": "^1.10.4",
|
2021-11-13 17:55:41 -05:00
|
|
|
"revolt-api": "0.5.3-alpha.10",
|
2021-12-25 15:12:51 -05:00
|
|
|
"revolt.js": "5.2.2",
|
2021-08-05 09:47:00 -04:00
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"sass": "^1.35.1",
|
|
|
|
"shade-blend-color": "^1.0.0",
|
2021-12-25 09:32:28 -05:00
|
|
|
"stacktrace-js": "^2.0.2",
|
2021-08-05 09:47:00 -04:00
|
|
|
"styled-components": "^5.3.0",
|
2021-09-09 18:02:47 -04:00
|
|
|
"typescript": "^4.4.2",
|
2021-08-05 09:47:00 -04:00
|
|
|
"ulid": "^2.3.0",
|
|
|
|
"use-resize-observer": "^7.0.0",
|
|
|
|
"vite-plugin-pwa": "^0.8.1",
|
|
|
|
"workbox-precaching": "^6.1.5"
|
|
|
|
},
|
|
|
|
"name": "client",
|
|
|
|
"main": "index.js",
|
2021-09-03 05:30:27 -04:00
|
|
|
"repository": "https://github.com/revoltchat/revite.git",
|
2021-08-05 09:47:00 -04:00
|
|
|
"author": "Paul <paulmakles@gmail.com>",
|
|
|
|
"license": "MIT"
|
2021-06-18 07:05:01 -04:00
|
|
|
}
|