Comparing version 1.0.1 to 1.0.2
@@ -45,2 +45,6 @@ #!/usr/bin/env node | ||
} | ||
if (!fs.existsSync(REAL_PACKAGE_CONFIG)) { | ||
fs.copySync(PACKAGE_CONFIG, REAL_PACKAGE_CONFIG); | ||
msg.info('package.json文件创建成功'); | ||
} | ||
if (!fs.existsSync(REAL_STATIC)) { | ||
@@ -50,6 +54,3 @@ fs.copySync(DEFAULT_STATIC, REAL_STATIC); | ||
} | ||
if (!fs.existsSync(REAL_PACKAGE_CONFIG)) { | ||
fs.copySync(PACKAGE_CONFIG, REAL_PACKAGE_CONFIG); | ||
msg.info('静态文件目录创建成功'); | ||
} | ||
msg.notice('now,你可以运行npm run dev命令,在指定的8007端口查看你的项目。'); | ||
@@ -56,0 +57,0 @@ msg.notice('或者,你也可以运行npm run build命令,获取用于线上的代码'); |
{ | ||
"name": "riot-zero", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20825