feat: 新增 Taro 模板双端运行与独立 Web 预览
This commit is contained in:
1 parent
f4061a24bd
commit
7e8fc01fba
48 files changed
+11576
-12
No files matched your search
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "@personal-brand/taro",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev:h5": "taro build --type h5 --watch",
|
||||
"build:h5": "taro build --type h5",
|
||||
"build:weapp": "taro build --type weapp",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"lint": "pnpm --workspace-root exec eslint apps/taro/src apps/taro/config packages/template-acheng-campus-food/taro packages/template-linjing-editorial/taro",
|
||||
"test": "node --experimental-strip-types --test test/*.test.mjs",
|
||||
"test:browser": "playwright test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@personal-brand/types": "workspace:*",
|
||||
"@tarojs/components": "4.3.0",
|
||||
"@tarojs/helper": "4.3.0",
|
||||
"@tarojs/plugin-framework-react": "4.3.0",
|
||||
"@tarojs/plugin-platform-h5": "4.3.0",
|
||||
"@tarojs/plugin-platform-weapp": "4.3.0",
|
||||
"@tarojs/react": "4.3.0",
|
||||
"@tarojs/runtime": "4.3.0",
|
||||
"@tarojs/shared": "4.3.0",
|
||||
"@tarojs/taro": "4.3.0",
|
||||
"react": "18.3.1",
|
||||
"react-dom": "18.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tarojs/cli": "4.3.0",
|
||||
"@tarojs/vite-runner": "4.3.0",
|
||||
"@types/react": "18.3.18",
|
||||
"@types/react-dom": "18.3.5",
|
||||
"@vitejs/plugin-react": "4.7.0",
|
||||
"vite": "4.5.14",
|
||||
"@types/node": "^22.10.0",
|
||||
"@babel/plugin-proposal-decorators": "^7.25.9",
|
||||
"@babel/plugin-transform-class-properties": "^7.25.9",
|
||||
"@playwright/test": "1.58.2"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user