Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Unused

Manav Rathi2cfc5d9c59ef
diff --git a/web/docs/dev.md b/web/docs/dev.md
index a719c678f1..7ab1ef22c0 100644
--- a/web/docs/dev.md
+++ b/web/docs/dev.md
@@ -34,14 +34,6 @@ that can be then deployed to any web server.
There is one `yarn build:foo` for each app, e.g. `yarn build:auth`. The output
will be placed in `apps/<foo>/out`, e.g. `apps/auth/out`.
-### yarn preview:\*
-
-Build a production export and start a local web server to serve it. This uses
-Python's built in web server, and is okay for quick testing but should not be
-used in production.
-
-The ports are the same as that for `yarn dev:*`
-
### lint, lint-fix
Use `yarn lint` to check that your code formatting is as expected, and that
diff --git a/web/package.json b/web/package.json
index 35c30fbe31..7a8d9fd00b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -21,13 +21,7 @@
"dev:payments": "yarn workspace payments dev",
"dev:photos": "yarn workspace photos next dev -p 3000",
"lint": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --check --log-level warn .\" \"yarn workspaces run eslint\" \"yarn workspaces run tsc\"",
- "lint-fix": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --write --log-level warn .\" \"yarn workspaces run eslint --fix\" \"yarn workspaces run tsc\"",
- "preview": "yarn preview:photos",
- "preview:accounts": "yarn build:accounts && python3 -m http.server -d apps/accounts/out 3001",
- "preview:auth": "yarn build:auth && python3 -m http.server -d apps/auth/out 3000",
- "preview:cast": "yarn build:cast && python3 -m http.server -d apps/accounts/out 3001",
- "preview:payments": "yarn workspace payments preview",
- "preview:photos": "yarn build:photos && python3 -m http.server -d apps/photos/out 3000"
+ "lint-fix": "concurrently --names 'prettier,eslint,tsc' \"yarn prettier --write --log-level warn .\" \"yarn workspaces run eslint --fix\" \"yarn workspaces run tsc\""
},
"devDependencies": {
"concurrently": "^9.1.1",