48 lines
2.7 KiB
JSON
48 lines
2.7 KiB
JSON
{
|
|
"name": "ente-web",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"workspaces": [
|
|
"apps/*",
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build:photos",
|
|
"build:accounts": "yarn workspace accounts next build",
|
|
"build:auth": "yarn workspace auth next build",
|
|
"build:cast": "yarn workspace cast next build",
|
|
"build:payments": "yarn workspace payments build",
|
|
"build:photos": "yarn workspace photos next build",
|
|
"build:staff": "yarn workspace staff build",
|
|
"deploy:accounts": "open 'https://github.com/ente-io/ente/compare/deploy/accounts...main?quick_pull=1&title=[web]+Deploy+accounts&body=Deploy+accounts.ente.io'",
|
|
"deploy:auth": "open 'https://github.com/ente-io/ente/compare/deploy/auth...main?quick_pull=1&title=[web]+Deploy+auth&body=Deploy+auth.ente.io'",
|
|
"deploy:cast": "open 'https://github.com/ente-io/ente/compare/deploy/cast...main?quick_pull=1&title=[web]+Deploy+cast&body=Deploy+cast.ente.io'",
|
|
"deploy:payments": "open 'https://github.com/ente-io/ente/compare/deploy/payments...main?quick_pull=1&title=[web]+Deploy+payments&body=Deploy+payments.ente.io'",
|
|
"deploy:photos": "open 'https://github.com/ente-io/ente/compare/deploy/photos...main?quick_pull=1&title=[web]+Deploy+photos&body=Deploy+web.ente.io'",
|
|
"dev": "yarn dev:photos",
|
|
"dev:accounts": "yarn workspace accounts next dev -p 3001",
|
|
"dev:albums": "yarn workspace photos next dev -p 3002",
|
|
"dev:auth": "yarn workspace auth next dev",
|
|
"dev:cast": "yarn workspace cast next dev -p 3001",
|
|
"dev:payments": "yarn workspace payments dev",
|
|
"dev:photos": "yarn workspace photos next dev",
|
|
"dev:staff": "yarn workspace staff dev",
|
|
"lint": "yarn prettier --check --log-level warn . && yarn workspaces run eslint --report-unused-disable-directives . && yarn workspaces run tsc",
|
|
"lint-fix": "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",
|
|
"preview:staff": "yarn workspace staff preview"
|
|
},
|
|
"resolutions": {
|
|
"libsodium": "0.7.9"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8",
|
|
"prettier": "^3",
|
|
"typescript": "^5"
|
|
}
|
|
}
|