🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

wxmagic-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wxmagic-cli - npm Package Compare versions

Comparing version
0.1.3
to
0.1.4
+3
-15
lib/create.js

@@ -25,17 +25,5 @@ /**

console.log('下载完毕'.green);
let pkgFile = path.join(rootDir, 'package.json');
let pkg = utils.readJSON(pkgFile);
pkg.name = name;
utils.writeJson(pkgFile, pkg);
console.log('安装npm依赖'.green);
exec((which('yarn') ? 'yarn install' : 'npm install'), {
cwd: rootDir
}, () => {
console.log('构建项目...'.green);
exec('wxmagic build', {
cwd: rootDir
});
});
console.log('请安装依赖包'.green);
});

@@ -42,0 +30,0 @@ }

+1
-1
{
"name": "wxmagic-cli",
"version": "0.1.3",
"version": "0.1.4",
"description": "小程序手脚架",

@@ -5,0 +5,0 @@ "main": "index.js",