nativescript-dev-android-snapshot
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -7,3 +7,8 @@ var path = require("path"); | ||
function addSnapshotKeyInPackageJSON(appPackageJSONPath) { | ||
var appPackageJSON = JSON.parse(fs.readFileSync(appPackageJSONPath, 'utf8')); | ||
var appPackageJSON; | ||
if (!shelljs.test("-e", appPackageJSONPath)) { | ||
appPackageJSON = {}; | ||
} else { | ||
appPackageJSON = JSON.parse(fs.readFileSync(appPackageJSONPath, 'utf8')); | ||
} | ||
@@ -10,0 +15,0 @@ appPackageJSON["android"] = appPackageJSON["android"] || {}; |
{ | ||
"name": "nativescript-dev-android-snapshot", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "dependencies": { |
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
16858
234