nomadro/apps/miniprogram/package.json
eric 69b0bd8224 Ship Taro H5 Vite build and Next-parity hub/nav/book/vip pages.
Switch miniprogram H5 to Vite for fast local compile; align portal pages and static icons for cross-machine continue.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-29 04:36:12 -05:00

66 lines
2.7 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"name": "@nomadro/miniprogram",
"version": "0.1.0",
"private": true,
"description": "Nomadro 统一小程序 — 微信 / 抖音 / 小红书(Taro 4 + React,能力对齐 apps 垂直仓)",
"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": "node ./node_modules/@tarojs/cli/bin/taro build --type weapp",
"dev:weapp": "node ./node_modules/@tarojs/cli/bin/taro build --type weapp --watch",
"build:tt": "cross-env TARO_APP_TARGET=tt node ./node_modules/@tarojs/cli/bin/taro build --type tt",
"dev:tt": "cross-env TARO_APP_TARGET=tt node ./node_modules/@tarojs/cli/bin/taro build --type tt --watch",
"build:xhs-taro": "cross-env TARO_ENV=weapp TARO_APP_TARGET=xhs taro build --type weapp",
"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",
"build:xhs": "npm run xhs:assemble && npm run xhs:pack",
"build:xhs-book": "npm run xhs:assemble-book && npm run xhs:pack-book",
"build:xhs-all": "npm run build:xhs && npm run build:xhs-book",
"dev:all": "echo use: pnpm dev:weapp | pnpm dev:tt | 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-tt": "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-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"
}
}