Collapse portal under src/, unify pnpm workspace/scripts, thin VIP topic re-exports, drop orphan vip scaffolds and one-shot scripts, ignore xhs/release, document root commands. Co-authored-by: Cursor <cursoragent@cursor.com>
51 lines
1.7 KiB
JSON
51 lines
1.7 KiB
JSON
{
|
|
"name": "@nomadro/miniprogram-weapp",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Nomadro 微信小程序(独立目录,与 h5 / tt / xhs 互不影响)",
|
|
"scripts": {
|
|
"dev": "cross-env TARO_APP_TARGET=weapp node ./node_modules/@tarojs/cli/bin/taro build --type weapp --watch",
|
|
"build": "cross-env TARO_APP_TARGET=weapp node ./node_modules/@tarojs/cli/bin/taro build --type weapp && node ./scripts/copy-weapp-static.mjs",
|
|
"dev:weapp": "pnpm dev",
|
|
"build:weapp": "pnpm build",
|
|
"copy:static": "node ./scripts/copy-weapp-static.mjs",
|
|
"pack:hackrobot-book": "python ./scripts/pack-hackrobot-book.py"
|
|
},
|
|
"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/react": "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/plugin-platform-weapp": "4.0.9",
|
|
"@tarojs/webpack5-runner": "4.0.9",
|
|
"@types/react": "^18.3.12",
|
|
"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",
|
|
"webpack": "5.91.0"
|
|
}
|
|
}
|