Browse Source

添加快手

黎海 1 year ago
parent
commit
38f410b4af
5 changed files with 14891 additions and 2 deletions
  1. 1 1
      config/index.js
  2. 5 0
      package-lock.json
  3. 5 1
      package.json
  4. 69 0
      project.kwai.json
  5. 14811 0
      yarn.lock

+ 1 - 1
config/index.js

@@ -25,7 +25,7 @@ const config = {
25 25
   },
26 26
   sourceRoot: 'src',
27 27
   outputRoot: `dist/${process.env.TARO_ENV}`,
28
-  plugins:[],
28
+  plugins:['@tarojs/plugin-platform-kwai'],
29 29
   defineConstants: {
30 30
   },
31 31
   copy: {

+ 5 - 0
package-lock.json

@@ -2643,6 +2643,11 @@
2643 2643
                 "@tarojs/shared": "3.5.7"
2644 2644
             }
2645 2645
         },
2646
+        "@tarojs/plugin-platform-kwai": {
2647
+            "version": "3.0.0",
2648
+            "resolved": "https://registry.npmjs.org/@tarojs/plugin-platform-kwai/-/plugin-platform-kwai-3.0.0.tgz",
2649
+            "integrity": "sha512-K171CQsmOLmx8hcVE5VOH3+OMDqW1EwdqAZLtPC+72j3J8e9ekmbb+rgsMEWnY8/jr9s80E5aNIUx1i63cPr0g=="
2650
+        },
2646 2651
         "@tarojs/plugin-platform-qq": {
2647 2652
             "version": "3.5.7",
2648 2653
             "resolved": "https://registry.npmjs.org/@tarojs/plugin-platform-qq/-/plugin-platform-qq-3.5.7.tgz",

+ 5 - 1
package.json

@@ -10,6 +10,8 @@
10 10
     },
11 11
     "scripts": {
12 12
         "build:weapp": "taro build --type weapp",
13
+        "build:kwai": "taro build --type kwai",
14
+        "build:kwai_upload": "taro build --type kwai  --upload",
13 15
         "build:weapp_upload": "taro build --type weapp  --upload",
14 16
         "build:swan": "taro build --type swan",
15 17
         "build:alipay": "taro build --type alipay",
@@ -21,6 +23,7 @@
21 23
         "build:jd": "taro build --type jd",
22 24
         "build:quickapp": "taro build --type quickapp",
23 25
         "dev:weapp": "npm run build:weapp -- --watch",
26
+        "dev:kwai": "npm run build:kwai -- --watch",
24 27
         "dev:swan": "npm run build:swan -- --watch",
25 28
         "dev:alipay": "npm run build:alipay -- --watch",
26 29
         "dev:tt": "npm run build:tt -- --watch",
@@ -44,6 +47,7 @@
44 47
         "@tarojs/plugin-framework-react": "3.5.7",
45 48
         "@tarojs/plugin-platform-alipay": "3.5.7",
46 49
         "@tarojs/plugin-platform-jd": "3.5.7",
50
+        "@tarojs/plugin-platform-kwai": "^3.0.0",
47 51
         "@tarojs/plugin-platform-qq": "3.5.7",
48 52
         "@tarojs/plugin-platform-swan": "3.5.7",
49 53
         "@tarojs/plugin-platform-tt": "3.5.7",
@@ -84,4 +88,4 @@
84 88
         "version": "1.3.7",
85 89
         "desc": "更改人物动漫化"
86 90
     }
87
-}
91
+}

+ 69 - 0
project.kwai.json

@@ -0,0 +1,69 @@
1
+{
2
+  "description": "快手配置",
3
+  "packOptions": {
4
+      "ignore": []
5
+  },
6
+  "setting": {
7
+      "urlCheck": true,
8
+      "es6": true,
9
+      "enhance": false,
10
+      "postcss": true,
11
+      "preloadBackgroundData": false,
12
+      "minified": true,
13
+      "newFeature": false,
14
+      "coverView": true,
15
+      "nodeModules": false,
16
+      "autoAudits": false,
17
+      "showShadowRootInWxmlPanel": true,
18
+      "scopeDataCheck": false,
19
+      "uglifyFileName": false,
20
+      "checkInvalidKey": true,
21
+      "checkSiteMap": true,
22
+      "uploadWithSourceMap": true,
23
+      "compileHotReLoad": false,
24
+      "babelSetting": {
25
+          "ignore": [],
26
+          "disablePlugins": [],
27
+          "outputPath": ""
28
+      },
29
+      "useIsolateContext": true,
30
+      "useCompilerModule": false,
31
+      "userConfirmedUseCompilerModuleSwitch": false
32
+  },
33
+  "compileType": "miniprogram",
34
+  "libVersion": "0.2.0",
35
+  "appid": "ks716072342548193665",
36
+  "projectname": "AI绘画练习生",
37
+  "debugOptions": {
38
+      "hidedInDevtools": []
39
+  },
40
+  "scripts": {},
41
+  "isGameTourist": false,
42
+  "simulatorPluginLibVersion": {},
43
+  "condition": {
44
+      "search": {
45
+          "current": -1,
46
+          "list": []
47
+      },
48
+      "conversation": {
49
+          "current": -1,
50
+          "list": []
51
+      },
52
+      "game": {
53
+          "current": -1,
54
+          "list": []
55
+      },
56
+      "plugin": {
57
+          "current": -1,
58
+          "list": []
59
+      },
60
+      "gamePlugin": {
61
+          "current": -1,
62
+          "list": []
63
+      },
64
+      "miniprogram": {
65
+          "current": -1,
66
+          "list": []
67
+      }
68
+  }
69
+}

File diff suppressed because it is too large
+ 14811 - 0
yarn.lock