174 lines
7.3 KiB
JSON
174 lines
7.3 KiB
JSON
{
|
|
"name": "nomadro",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"dev:portal": "next dev",
|
|
"dev:h5": "pnpm dev:taro",
|
|
"dev:weapp": "pnpm --filter @nomadro/miniprogram-weapp dev",
|
|
"dev:tt": "pnpm --filter @nomadro/miniprogram-tt dev",
|
|
"dev:minigame": "node apps/minigame-unity/scripts/print-unity-path.mjs",
|
|
"dev:minigame-unity": "node apps/minigame-unity/scripts/print-unity-path.mjs",
|
|
"dev:minigame-cocos": "node apps/minigame-cocos/scripts/print-cocos-path.mjs",
|
|
"dev:minigame-wx": "node apps/minigame/scripts/print-open-path.mjs",
|
|
"dev:admin": "pnpm --filter @nomadro/admin dev",
|
|
"dev:admin-com": "pnpm --filter @nomadro/admin-com dev",
|
|
"dev:api": "node scripts/dev-api.mjs",
|
|
"dev:social-api": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-social.ps1",
|
|
"dev:hub-api": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-hub.ps1",
|
|
"dev:centrifugo": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/dev-centrifugo.ps1",
|
|
"dev:work-api": "python -m uvicorn work_main:app --reload --port 8021 --app-dir apps/api",
|
|
"dev:notify-api": "python -m uvicorn notify_main:app --reload --port 8023 --app-dir apps/api",
|
|
"dev:coffee-api": "python -m uvicorn coffee_main:app --reload --port 8024 --app-dir apps/api",
|
|
"build": "next build",
|
|
"build:portal": "next build",
|
|
"build:h5": "pnpm --filter @nomadro/taro-web build",
|
|
"build:weapp": "pnpm --filter @nomadro/miniprogram-weapp build",
|
|
"build:tt": "pnpm --filter @nomadro/miniprogram-tt build",
|
|
"build:admin": "pnpm --filter @nomadro/admin build",
|
|
"build:admin-com": "pnpm --filter @nomadro/admin-com build",
|
|
"build:xhs": "python apps/miniprogram/xhs/scripts/assemble.py",
|
|
"start": "next start",
|
|
"lint": "eslint",
|
|
"typecheck": "tsc --noEmit",
|
|
"test:platform": "node --test tests/platform.test.cjs",
|
|
"typecheck:all": "pnpm typecheck && pnpm --filter @nomadro/admin exec tsc --noEmit && pnpm --filter @nomadro/admin-com exec tsc --noEmit && pnpm --filter @nomadro/taro-web exec tsc --noEmit && pnpm --filter @nomadro/miniprogram-weapp exec tsc --noEmit && pnpm --filter @nomadro/miniprogram-tt exec tsc --noEmit && pnpm --dir apps/hackrobot/vip exec tsc --noEmit && pnpm --filter @nomadro/taro-admin exec tsc --noEmit",
|
|
"test:local": "pnpm test:platform && pnpm --filter @nomadro/miniprogram-weapp test:runtime && pnpm --filter @nomadro/miniprogram-weapp test:social && python -m pytest apps/api/tests -q && python scripts/test_hub_boundaries.py && node scripts/test-hub-config.cjs && python scripts/lane_guard.py",
|
|
"guard:lanes": "python scripts/lane_guard.py",
|
|
"guard:lanes:update": "python scripts/lane_guard.py --update-baseline",
|
|
"clean": "node scripts/clean-artifacts.mjs",
|
|
"mcp": "pnpm --filter @nomadro/mcp start",
|
|
"dev:mcp": "pnpm --filter @nomadro/mcp start",
|
|
"work:fetch": "node apps/work/scripts/fetch-upstream.mjs",
|
|
"notify:fetch": "node apps/notify/scripts/fetch-upstream.mjs",
|
|
"coffee:fetch": "node apps/coffee/scripts/fetch-upstream.mjs",
|
|
"work:overlay": "node apps/work/scripts/apply-overlay.mjs",
|
|
"work:sync-ui": "node apps/work/scripts/sync-planka-ui.mjs",
|
|
"work:patch-ui": "node apps/work/scripts/patch-planka-for-next.mjs",
|
|
"work:flatten-scss": "node apps/work/scripts/flatten-planka-scss.mjs",
|
|
"work:port-ui": "pnpm work:sync-ui && pnpm work:patch-ui && pnpm work:flatten-scss",
|
|
"work:up": "docker-compose -f apps/work/docker-compose.yml --env-file apps/work/.env up -d",
|
|
"work:down": "docker-compose -f apps/work/docker-compose.yml --env-file apps/work/.env down",
|
|
"dev:taro": "node apps/taro/scripts/dev.mjs",
|
|
"dev:taro-web": "pnpm --filter @nomadro/taro-web dev",
|
|
"dev:taro-api": "python -m uvicorn main:app --app-dir apps/taro/api --host 127.0.0.1 --port 10089",
|
|
"dev:taro-admin": "pnpm --filter @nomadro/taro-admin dev",
|
|
"build:taro": "pnpm --filter @nomadro/taro-web build && pnpm --filter @nomadro/taro-admin build",
|
|
"test:taro": "python -m pytest apps/taro/api/tests -q && node --test apps/taro/scripts/test-isolation.cjs"
|
|
},
|
|
"dependencies": {
|
|
"@ant-design/icons": "^6.3.4",
|
|
"@ant-design/nextjs-registry": "^1.3.0",
|
|
"@diplodoc/cut-extension": "^1.1.8",
|
|
"@diplodoc/transform": "^4.78.12",
|
|
"@fingerprintjs/fingerprintjs": "^5.3.0",
|
|
"@gravity-ui/components": "^5.0.0",
|
|
"@gravity-ui/markdown-editor": "^15.49.0",
|
|
"@gravity-ui/uikit": "^8.0.0",
|
|
"@hello-pangea/dnd": "^18.0.1",
|
|
"@micro-zoe/micro-app": "1.0.0-rc.32",
|
|
"@nomadro/pay": "workspace:*",
|
|
"@nomadro/pb": "workspace:*",
|
|
"@nomadro/sdk": "workspace:*",
|
|
"animate.css": "^4.1.1",
|
|
"antd": "^6.6.5",
|
|
"centrifuge": "^5.8.0",
|
|
"classnames": "^2.5.1",
|
|
"dequal": "^2.0.3",
|
|
"framer-motion": "^12.36.0",
|
|
"geist": "^1.7.0",
|
|
"github-markdown-css": "^5.9.0",
|
|
"github-slugger": "^2.0.0",
|
|
"h3-js": "^4.5.0",
|
|
"highlight.js": "^11.12.0",
|
|
"history": "^5.3.0",
|
|
"i18next": "^26.7.1",
|
|
"i18next-browser-languagedetector": "^8.3.0",
|
|
"is-china-user": "^1.7.0",
|
|
"javascript-time-ago": "^2.6.4",
|
|
"js-cookie": "^3.0.8",
|
|
"jwt-decode": "^4.0.0",
|
|
"linkify-react": "^4.4.0",
|
|
"linkifyjs": "^4.4.0",
|
|
"lodash": "^4.18.1",
|
|
"lucide-react": "^0.577.0",
|
|
"maplibre-gl": "^6.16.0",
|
|
"markdown-it": "^15.0.3",
|
|
"marked": "^17.0.4",
|
|
"nanoid": "^6.0.2",
|
|
"next": "16.4.6",
|
|
"next-themes": "^0.4.6",
|
|
"photoswipe": "^5.4.4",
|
|
"pocketbase": "^0.26.8",
|
|
"posthog-js": "^1.447.3",
|
|
"prop-types": "^15.8.1",
|
|
"qrcode.react": "^4.2.0",
|
|
"react": "19.2.9",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"react-datepicker": "^9.1.0",
|
|
"react-dom": "19.2.9",
|
|
"react-dropzone": "^20.1.4",
|
|
"react-hot-keys": "^3.0.0",
|
|
"react-hot-toast": "^2.6.1",
|
|
"react-i18next": "^17.1.12",
|
|
"react-input-mask": "^2.0.4",
|
|
"react-intersection-observer": "^11.0.1",
|
|
"react-markdown": "^9.1.0",
|
|
"react-mentions": "^4.4.10",
|
|
"react-photoswipe-gallery": "^4.1.2",
|
|
"react-redux": "^9.3.1",
|
|
"react-router": "^8.5.1",
|
|
"react-textarea-autosize": "^8.5.9",
|
|
"react-time-ago": "^7.4.4",
|
|
"redux": "^5.0.1",
|
|
"redux-orm": "^0.16.2",
|
|
"redux-saga": "^1.5.1",
|
|
"rehype-highlight": "^7.0.2",
|
|
"rehype-raw": "^7.0.0",
|
|
"rehype-slug": "^6.0.0",
|
|
"remark-gfm": "^4.0.1",
|
|
"reselect": "^5.3.0",
|
|
"sails.io.js": "^1.2.1",
|
|
"sass": "^1.105.1",
|
|
"semantic-ui-react": "^2.1.5",
|
|
"socket.io-client": "^4.8.4",
|
|
"three": "^0.183.2",
|
|
"validator": "^13.15.35"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/geojson": "^7946.0.16",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"@types/three": "^0.183.1",
|
|
"eslint": "^9",
|
|
"eslint-config-next": "16.4.6",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
},
|
|
"packageManager": "pnpm@10.25.0+sha1.2cfb3ab644446565c127f58165cc76368c9c920b",
|
|
"engines": {
|
|
"node": ">=20.9.0"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"seroval@<1.6.10": "1.6.10",
|
|
"@remix-run/router@<1.23.3": "1.23.3",
|
|
"markdown-it@>=14.0.0 <14.3.3": "14.3.3",
|
|
"linkify-it@>=5.0.0 <5.0.2": "5.0.2"
|
|
},
|
|
"onlyBuiltDependencies": [
|
|
"@parcel/watcher",
|
|
"@swc/core",
|
|
"@tarojs/binding",
|
|
"core-js",
|
|
"core-js-pure",
|
|
"esbuild",
|
|
"sharp",
|
|
"unrs-resolver"
|
|
]
|
|
}
|
|
}
|