Add apps/miniprogram/tt as a standalone Douyin app with official usePrivacyCheck + tt.showModal/setClipboardData flow, single-chapter offline reader, and document console privacy setup for clipboard. Co-authored-by: Cursor <cursoragent@cursor.com>
57 lines
2.2 KiB
JSON
57 lines
2.2 KiB
JSON
{
|
|
"name": "@nomadro/miniprogram-tt",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "Nomadro 抖音小程序(独立目录,与微信 weapp / 小红书 xhs 互不影响)",
|
|
"scripts": {
|
|
"build": "cross-env TARO_APP_TARGET=tt node ./node_modules/@tarojs/cli/bin/taro build --type tt && node ./scripts/copy-static.mjs && node ./scripts/validate-size.mjs",
|
|
"dev": "cross-env TARO_APP_TARGET=tt node ./node_modules/@tarojs/cli/bin/taro build --type tt --watch",
|
|
"build:vite": "cross-env TARO_APP_TARGET=tt TARO_COMPILER=vite node ./node_modules/@tarojs/cli/bin/taro build --type tt && node ./scripts/copy-static.mjs && node ./scripts/validate-size.mjs",
|
|
"dev:vite": "cross-env TARO_APP_TARGET=tt TARO_COMPILER=vite node ./node_modules/@tarojs/cli/bin/taro build --type tt --watch",
|
|
"build:tt": "pnpm build",
|
|
"dev:tt": "pnpm dev",
|
|
"copy:static": "node ./scripts/copy-static.mjs",
|
|
"validate:size": "node ./scripts/validate-size.mjs"
|
|
},
|
|
"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-tt": "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/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",
|
|
"sharp": "^0.35.5",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^4.5.14",
|
|
"webpack": "5.91.0"
|
|
}
|
|
}
|