6c89e5f18f
* Add @ mentions to editor * Fix mention list not loading * Sort mention list by prefix, follow count * Render at mention with Linkify component - mentions are now Next <Link> rather than <a> - fix bug where editor.getText() returns [object Object] for mentions - fix mention rendering for posted markets
79 lines
2.8 KiB
JSON
79 lines
2.8 KiB
JSON
{
|
|
"name": "web",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"",
|
|
"devdev": "cross-env NEXT_PUBLIC_FIREBASE_ENV=DEV concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=DEV next dev -p 3000\" \"cross-env FIREBASE_ENV=DEV yarn ts --watch\"",
|
|
"dev:dev": "yarn devdev",
|
|
"dev:the": "cross-env NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE concurrently -n NEXT,TS -c magenta,cyan \"cross-env FIREBASE_ENV=THEOREMONE next dev -p 3000\" \"cross-env FIREBASE_ENV=THEOREMONE yarn ts --watch\"",
|
|
"dev:emulate": "cross-env NEXT_PUBLIC_FIREBASE_EMULATE=TRUE yarn devdev",
|
|
"ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"lint": "next lint",
|
|
"format": "npx prettier --write .",
|
|
"postbuild": "next-sitemap",
|
|
"verify": "(cd .. && yarn verify)",
|
|
"verify:dir": "npx prettier --check .; yarn lint --max-warnings 0; tsc --pretty --project tsconfig.json --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@amplitude/analytics-browser": "0.4.1",
|
|
"@headlessui/react": "1.6.1",
|
|
"@heroicons/react": "1.0.5",
|
|
"@nivo/core": "0.74.0",
|
|
"@nivo/line": "0.74.0",
|
|
"@react-query-firebase/firestore": "0.4.2",
|
|
"@tiptap/extension-character-count": "2.0.0-beta.31",
|
|
"@tiptap/extension-image": "2.0.0-beta.30",
|
|
"@tiptap/extension-link": "2.0.0-beta.43",
|
|
"@tiptap/extension-mention": "2.0.0-beta.102",
|
|
"@tiptap/extension-placeholder": "2.0.0-beta.53",
|
|
"@tiptap/react": "2.0.0-beta.114",
|
|
"@tiptap/starter-kit": "2.0.0-beta.190",
|
|
"algoliasearch": "4.13.0",
|
|
"clsx": "1.1.1",
|
|
"cors": "2.8.5",
|
|
"daisyui": "1.16.4",
|
|
"dayjs": "1.10.7",
|
|
"firebase": "9.6.0",
|
|
"gridjs": "5.0.2",
|
|
"gridjs-react": "5.0.2",
|
|
"lodash": "4.17.21",
|
|
"nanoid": "^3.3.4",
|
|
"next": "12.2.2",
|
|
"node-fetch": "3.2.4",
|
|
"react": "17.0.2",
|
|
"react-confetti": "6.0.1",
|
|
"react-dom": "17.0.2",
|
|
"react-expanding-textarea": "2.3.5",
|
|
"react-hot-toast": "2.2.0",
|
|
"react-instantsearch-hooks-web": "6.24.1",
|
|
"react-query": "3.39.0",
|
|
"string-similarity": "^4.0.4",
|
|
"tippy.js": "6.3.7"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/forms": "0.4.0",
|
|
"@tailwindcss/line-clamp": "^0.3.1",
|
|
"@tailwindcss/typography": "^0.5.1",
|
|
"@types/lodash": "4.14.178",
|
|
"@types/node": "16.11.11",
|
|
"@types/react": "17.0.43",
|
|
"@types/string-similarity": "^4.0.0",
|
|
"autoprefixer": "10.2.6",
|
|
"concurrently": "6.5.1",
|
|
"critters": "0.0.16",
|
|
"cross-env": "^7.0.3",
|
|
"eslint-config-next": "12.1.6",
|
|
"next-sitemap": "^2.5.14",
|
|
"postcss": "8.3.5",
|
|
"prettier-plugin-tailwindcss": "^0.1.5",
|
|
"tailwindcss": "3.1.6",
|
|
"tsc-files": "1.1.3"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": "tsc-files --noEmit --incremental false"
|
|
}
|
|
}
|