manifold/web/package.json
Austin Chen da4ce99755
Merge Manifold for Teams infra into main codebase (#61)
* Add dev target for TheoremOne

* Restrict signups to theoremone.co emails

* Add new indices

* Forbid reads from unauthenticated users

* Client-side render pages that need auth

These pages are now client-side rendered:
- /home
- /leaderboards
- /market/...
- /fold/...

* Hide 404 for private Manifolds

* Brand instance for TheoremOne

* Hide "Add Funds" and "Personalize your feed"

* "M$" =>  "T$"

* Hide Discord & About Page too

* Update placeholders for teams

* Update firestore.indexes.json

* Switch /analytics to propz

* Migrate per-env code into common/

* More migrations to PROJECT_ID

* Conditionally use SSG depending on public vs private instance

* Fix props to be empty object

* Move more logic into access

* Spin out config files for each environment

* Generify most of the customizable brand stuff

* Move IS_PRIVATE_MANIFOLD to access.ts

* Rename access.ts to envs/constants.ts

* Add "dev:dev" alias

* Rever firestore rules to existing settings

* Fixes according to James's review
2022-03-08 18:43:30 -08:00

59 lines
1.9 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": "NEXT_PUBLIC_FIREBASE_ENV=DEV concurrently -n NEXT,TS -c magenta,cyan \"FIREBASE_ENV=DEV next dev -p 3000\" \"FIREBASE_ENV=DEV yarn ts --watch\"",
"dev:dev": "yarn devdev",
"dev:the": "NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE concurrently -n NEXT,TS -c magenta,cyan \"FIREBASE_ENV=THEOREMONE next dev -p 3000\" \"FIREBASE_ENV=THEOREMONE yarn ts --watch\"",
"ts": "tsc --noEmit --incremental --preserveWatchOutput --pretty",
"build": "next build",
"start": "next start",
"lint": "next lint",
"format": "npx prettier --write .",
"prepare": "cd .. && husky install web/.husky"
},
"dependencies": {
"@headlessui/react": "1.4.2",
"@heroicons/react": "1.0.5",
"@nivo/core": "0.74.0",
"@nivo/line": "0.74.0",
"clsx": "1.1.1",
"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",
"next": "12.0.7",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-expanding-textarea": "^2.3.4"
},
"devDependencies": {
"@tailwindcss/forms": "0.4.0",
"@tailwindcss/typography": "^0.5.1",
"@types/lodash": "4.14.178",
"@types/node": "16.11.11",
"@types/react": "17.0.37",
"autoprefixer": "10.2.6",
"concurrently": "6.5.1",
"critters": "0.0.16",
"eslint": "7.32.0",
"eslint-config-next": "12.0.4",
"husky": "7.0.4",
"lint-staged": "12.1.3",
"postcss": "8.3.5",
"prettier": "2.5.0",
"prettier-plugin-tailwindcss": "^0.1.5",
"pretty-quick": "3.1.2",
"tailwindcss": "3.0.1",
"tsc-files": "1.1.3",
"typescript": "4.5.2"
},
"lint-staged": {
"*.{ts,tsx}": "tsc-files --noEmit --incremental false"
}
}