@playcraft/devkit 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/cli/commands/builds.js +14 -14
- package/core/batch-build.js +106 -82
- package/core/cos-uploader.js +26 -26
- package/core/index.d.ts +169 -167
- package/core/loaders/gltf-loader.js +19 -19
- package/core/options.js +2 -2
- package/core/plugins/AdikteevInjectorPlugin.js +11 -11
- package/core/plugins/BigoAdsInjectorPlugin.js +4 -4
- package/core/plugins/DAPIInjectorPlugin.js +4 -4
- package/core/plugins/DebuggerInjectionPlugin.js +5 -5
- package/core/plugins/ExitAPIInjectorPlugin.js +9 -9
- package/core/plugins/FflateCompressionPlugin.js +43 -43
- package/core/plugins/LiftoffInjectorPlugin.js +11 -11
- package/core/plugins/MRAIDInjectorPlugin.js +3 -3
- package/core/plugins/MintegralInjectorPlugin.js +4 -4
- package/core/plugins/PangleInjectorPlugin.js +3 -3
- package/core/plugins/SnapchatInjectorPlugin.js +4 -4
- package/core/plugins/TikTokInjectorPlugin.js +3 -3
- package/core/plugins/UnityInjectorPlugin.js +13 -13
- package/core/resources/snapchat-config.json +1 -1
- package/core/resources/tiktok-config.json +1 -1
- package/core/utils/buildDefines.js +2 -2
- package/core/utils/buildTemplateString.js +2 -2
- package/core/utils/generateAdikteevHtmlWebpackPluginConfig.js +26 -26
- package/core/utils/generateInMobiHtmlWebpackPluginConfig.js +16 -16
- package/core/utils/injectSDKPlugins.js +10 -10
- package/core/utils/logOptions.js +2 -2
- package/core/utils/mergeOptions.js +5 -5
- package/core/utils/parseArgvOptions.js +4 -4
- package/core/utils/resolveChannelFold2Zip.js +14 -0
- package/core/webpack.build.js +22 -20
- package/core/webpack.dev.js +12 -12
- package/defines.d.ts +54 -54
- package/package.json +79 -79
package/package.json
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@playcraft/devkit",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "HTML5 Playable Ads 构建工具,支持多广告渠道打包",
|
|
5
|
-
"main": "core/index.js",
|
|
6
|
-
"module": "core/index.js",
|
|
7
|
-
"types": "core/index.d.ts",
|
|
8
|
-
"bin": {
|
|
9
|
-
"playable-scripts": "cli/bin/playable-scripts.js"
|
|
10
|
-
},
|
|
11
|
-
"files": [
|
|
12
|
-
"cli",
|
|
13
|
-
"core",
|
|
14
|
-
"LICENSE",
|
|
15
|
-
"defines.d.ts"
|
|
16
|
-
],
|
|
17
|
-
"scripts": {
|
|
18
|
-
"deploy": "npm publish --registry https://www.npmjs.com/registry"
|
|
19
|
-
},
|
|
20
|
-
"author": "Tencent ADS Team",
|
|
21
|
-
"license": "MIT",
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"@babel/core": "^7.26.0",
|
|
24
|
-
"@babel/preset-env": "^7.26.0",
|
|
25
|
-
"@vue/compiler-sfc": "^3.4.0",
|
|
26
|
-
"babel-loader": "^9.2.1",
|
|
27
|
-
"copy-webpack-plugin": "^13.0.0",
|
|
28
|
-
"cos-nodejs-sdk-v5": "^2.14.4",
|
|
29
|
-
"cross-spawn": "^7.0.3",
|
|
30
|
-
"css-loader": "^7.1.2",
|
|
31
|
-
"esbuild-loader": "^4.2.2",
|
|
32
|
-
"fflate": "^0.8.2",
|
|
33
|
-
"html-inline-script-webpack-plugin": "^3.2.1",
|
|
34
|
-
"html-webpack-plugin": "^5.6.0",
|
|
35
|
-
"mini-css-extract-plugin": "^2.7.6",
|
|
36
|
-
"prettyjson": "^1.2.5",
|
|
37
|
-
"style-loader": "^4.0.0",
|
|
38
|
-
"tencentcloud-sdk-nodejs-cdn": "^4.1.161",
|
|
39
|
-
"terser-webpack-plugin": "^5.3.10",
|
|
40
|
-
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
41
|
-
"vue": "^3.4.0",
|
|
42
|
-
"vue-loader": "^17.4.2",
|
|
43
|
-
"webpack": "^5.91.0",
|
|
44
|
-
"webpack-dev-server": "^5.1.0",
|
|
45
|
-
"webpack-merge": "^5.10.0",
|
|
46
|
-
"webpack-obfuscator": "^3.6.0",
|
|
47
|
-
"yazl": "^2.5.1"
|
|
48
|
-
},
|
|
49
|
-
"engines": {
|
|
50
|
-
"node": ">=14.0.0"
|
|
51
|
-
},
|
|
52
|
-
"keywords": [
|
|
53
|
-
"playable",
|
|
54
|
-
"scripts",
|
|
55
|
-
"builder",
|
|
56
|
-
"playable-ads",
|
|
57
|
-
"html5-ads",
|
|
58
|
-
"ad-network",
|
|
59
|
-
"ad-builder",
|
|
60
|
-
"compression",
|
|
61
|
-
"fflate",
|
|
62
|
-
"optimization",
|
|
63
|
-
"tencent",
|
|
64
|
-
"bigoads",
|
|
65
|
-
"mraid",
|
|
66
|
-
"vungle",
|
|
67
|
-
"applovin",
|
|
68
|
-
"google-ads",
|
|
69
|
-
"meta-ads",
|
|
70
|
-
"unity-ads",
|
|
71
|
-
"ironsource",
|
|
72
|
-
"webpack",
|
|
73
|
-
"cli-tool",
|
|
74
|
-
"build-tool"
|
|
75
|
-
],
|
|
76
|
-
"publishConfig": {
|
|
77
|
-
"registry": "https://www.npmjs.com/registry"
|
|
78
|
-
}
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@playcraft/devkit",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "HTML5 Playable Ads 构建工具,支持多广告渠道打包",
|
|
5
|
+
"main": "core/index.js",
|
|
6
|
+
"module": "core/index.js",
|
|
7
|
+
"types": "core/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"playable-scripts": "cli/bin/playable-scripts.js"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"cli",
|
|
13
|
+
"core",
|
|
14
|
+
"LICENSE",
|
|
15
|
+
"defines.d.ts"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"deploy": "npm publish --registry https://www.npmjs.com/registry"
|
|
19
|
+
},
|
|
20
|
+
"author": "Tencent ADS Team",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"@babel/core": "^7.26.0",
|
|
24
|
+
"@babel/preset-env": "^7.26.0",
|
|
25
|
+
"@vue/compiler-sfc": "^3.4.0",
|
|
26
|
+
"babel-loader": "^9.2.1",
|
|
27
|
+
"copy-webpack-plugin": "^13.0.0",
|
|
28
|
+
"cos-nodejs-sdk-v5": "^2.14.4",
|
|
29
|
+
"cross-spawn": "^7.0.3",
|
|
30
|
+
"css-loader": "^7.1.2",
|
|
31
|
+
"esbuild-loader": "^4.2.2",
|
|
32
|
+
"fflate": "^0.8.2",
|
|
33
|
+
"html-inline-script-webpack-plugin": "^3.2.1",
|
|
34
|
+
"html-webpack-plugin": "^5.6.0",
|
|
35
|
+
"mini-css-extract-plugin": "^2.7.6",
|
|
36
|
+
"prettyjson": "^1.2.5",
|
|
37
|
+
"style-loader": "^4.0.0",
|
|
38
|
+
"tencentcloud-sdk-nodejs-cdn": "^4.1.161",
|
|
39
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
40
|
+
"tsconfig-paths-webpack-plugin": "^4.2.0",
|
|
41
|
+
"vue": "^3.4.0",
|
|
42
|
+
"vue-loader": "^17.4.2",
|
|
43
|
+
"webpack": "^5.91.0",
|
|
44
|
+
"webpack-dev-server": "^5.1.0",
|
|
45
|
+
"webpack-merge": "^5.10.0",
|
|
46
|
+
"webpack-obfuscator": "^3.6.0",
|
|
47
|
+
"yazl": "^2.5.1"
|
|
48
|
+
},
|
|
49
|
+
"engines": {
|
|
50
|
+
"node": ">=14.0.0"
|
|
51
|
+
},
|
|
52
|
+
"keywords": [
|
|
53
|
+
"playable",
|
|
54
|
+
"scripts",
|
|
55
|
+
"builder",
|
|
56
|
+
"playable-ads",
|
|
57
|
+
"html5-ads",
|
|
58
|
+
"ad-network",
|
|
59
|
+
"ad-builder",
|
|
60
|
+
"compression",
|
|
61
|
+
"fflate",
|
|
62
|
+
"optimization",
|
|
63
|
+
"tencent",
|
|
64
|
+
"bigoads",
|
|
65
|
+
"mraid",
|
|
66
|
+
"vungle",
|
|
67
|
+
"applovin",
|
|
68
|
+
"google-ads",
|
|
69
|
+
"meta-ads",
|
|
70
|
+
"unity-ads",
|
|
71
|
+
"ironsource",
|
|
72
|
+
"webpack",
|
|
73
|
+
"cli-tool",
|
|
74
|
+
"build-tool"
|
|
75
|
+
],
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"registry": "https://www.npmjs.com/registry"
|
|
78
|
+
}
|
|
79
|
+
}
|