New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

veplayer-mp-douyin

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veplayer-mp-douyin - npm Package Compare versions

Comparing version 0.1.10-alpha.13 to 0.1.10-alpha.14

{
"name": "veplayer-mp-douyin",
"version": "0.1.10-alpha.13",
"version": "0.1.10-alpha.14",
"license": "MIT",

@@ -18,3 +18,3 @@ "miniprogramType": "tt-npm",

"release": "npm version patch && npm run build && npm publish --tag latest --registry=https://registry.npmjs.org",
"release:alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha --registry=https://registry.npmjs.org",
"release:alpha": "npm version prerelease --preid=alpha && npm publish && npm publish --tag alpha --registry=https://registry.npmjs.org",
"postinstall": "node postinstall.js",

@@ -21,0 +21,0 @@ "build": "TRANSFORM_TYPE=douyin gulp -f ../../scripts/gulp.file.ts --cwd ../../packages/douyin/"

@@ -16,6 +16,10 @@ const path = require('path');

if (!isExitTTCom) {
fs.mkdirSync(path.join(__dirname, `../../${isExitSrc ? 'src/' : '' }ttcomponents`), { recursive: true });
const ttPath = fs.mkdirSync(path.join(__dirname, `../../${isExitSrc ? 'src/' : '' }ttcomponents`), { recursive: true });
if (!ttPath) {
console.warn(`创建ttcomponents失败,请手动复制node_modules/veplayer-mp-douyin到${isExitSrc ? 'src/' : '' }ttcomponents`);
return;
}
}
targetPath = path.join(__dirname, `../../${isExitSrc ? 'src/' : '' }ttcomponents/veplayer-mp-douyin`);
fs.copyFileSync(sourcePath, targetPath);
fs.cpSync(sourcePath, targetPath, { recursive: true });
}

@@ -22,0 +26,0 @@ }