{ "name": "@nomadro/miniprogram", "version": "0.1.0", "private": true, "description": "Nomadro 小程序伞仓 — 微信(根目录) / 抖音(tt/) / 小红书(xhs/) 分目录、互不影响", "scripts": { "build:h5": "cross-env TARO_APP_TARGET=h5 node ./node_modules/@tarojs/cli/bin/taro build --type h5", "dev:h5": "cross-env TARO_APP_TARGET=h5 node ./node_modules/@tarojs/cli/bin/taro build --type h5 --watch", "build:weapp": "cross-env TARO_APP_TARGET=weapp node ./node_modules/@tarojs/cli/bin/taro build --type weapp && node ./scripts/copy-weapp-static.mjs", "dev:weapp": "cross-env TARO_APP_TARGET=weapp node ./node_modules/@tarojs/cli/bin/taro build --type weapp --watch", "postdev:weapp-static": "cross-env TARO_APP_TARGET=weapp node ./scripts/copy-weapp-static.mjs", "copy:weapp-static": "node ./scripts/copy-weapp-static.mjs", "dev:tt": "pnpm --dir tt install && pnpm --dir tt dev", "build:tt": "pnpm --dir tt install && pnpm --dir tt build", "dev:tt:vite": "pnpm --dir tt install && pnpm --dir tt dev:vite", "build:tt:vite": "pnpm --dir tt install && pnpm --dir tt build:vite", "xhs:sync": "python xhs/scripts/sync_data.py", "xhs:assemble": "python xhs/scripts/assemble.py", "xhs:pack": "python xhs/scripts/pack.py", "xhs:assemble-book": "python xhs/scripts/assemble_book.py", "xhs:pack-book": "python xhs/scripts/pack_book.py", "xhs:export": "node ./scripts/export-xhs-offline.mjs", "build:xhs": "python ./scripts/pack-hackrobot-book.py && npm run xhs:export && python ./scripts/pack-hackrobot-book.py && npm run xhs:assemble && python ./xhs/scripts/validate_size.py && npm run xhs:pack", "pack:hackrobot-book": "python ./scripts/pack-hackrobot-book.py", "build:xhs-book": "echo skip: book is inside portal — use pnpm build:xhs", "build:xhs-all": "npm run build:xhs", "pack:nomad-code": "node ./scripts/pack-nomad-code.mjs", "dev:all": "echo use: pnpm dev:weapp | pnpm --dir tt dev | pnpm build:xhs" }, "browserslist": [ "last 3 versions", "Android >= 4.1", "ios >= 8" ], "dependencies": { "@babel/runtime": "^7.26.0", "@tarojs/components": "4.0.9", "@tarojs/helper": "4.0.9", "@tarojs/plugin-framework-react": "4.0.9", "@tarojs/plugin-platform-h5": "^4.0.9", "@tarojs/plugin-platform-weapp": "4.0.9", "@tarojs/react": "4.0.9", "@tarojs/router": "^4.0.9", "@tarojs/runtime": "4.0.9", "@tarojs/shared": "4.0.9", "@tarojs/taro": "4.0.9", "react": "^18.3.1", "react-dom": "^18.3.1" }, "devDependencies": { "@babel/core": "^7.26.0", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-decorators": "7.25.9", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", "@babel/plugin-transform-runtime": "^7.29.7", "@babel/preset-react": "^7.26.3", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.17", "@tarojs/cli": "4.0.9", "@tarojs/vite-runner": "^4.0.9", "@tarojs/webpack5-runner": "4.0.9", "@types/react": "^18.3.12", "@vitejs/plugin-react": "^4.7.0", "babel-preset-taro": "4.0.9", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "sass": "^1.81.0", "typescript": "^5.6.3", "vite": "^4.5.14", "webpack": "5.91.0" } }