Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "grunt-hazy", | ||
"description": "A grunt plugin that decode/obfuscate your javascript and php files.", | ||
"version": "0.1.2", | ||
"description": "A grunt plugin that encrypt/decode/obfuscate your javascript and php files.", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/ralphcrisostomo/grunt-hazy", | ||
@@ -43,5 +43,10 @@ "author": { | ||
"hazy", | ||
"code", | ||
"decode", | ||
"encrypt", | ||
"obfuscate", | ||
"obfuscator", | ||
"php", | ||
"js" | ||
"js", | ||
"wordpress" | ||
], | ||
@@ -48,0 +53,0 @@ "dependencies": { |
# grunt-hazy | ||
> A grunt plugin that decode/obfuscate your `javascript` and `php` files. | ||
> A grunt plugin that encrypt/decode/obfuscate your `javascript` and `php` files. | ||
@@ -57,5 +57,9 @@ | ||
#### SETUP | ||
In this example, we have the basic setup. So if the `sample.php` file has the content `<?php echo 'hello world'; ?>`, the generated result would be `<?php eval("?>".base64_decode("PD9waHAgZWNobyAnaGVsbG8gd29ybGQnOyA/Pg==")."<?");?>` | ||
In this example, we have the basic setup. So if the `sample.php` file has the content: | ||
```<?php echo 'hello world'; ?>``` | ||
The generated result would be : | ||
```<?php eval("?>".base64_decode("PD9waHAgZWNobyAnaGVsbG8gd29ybGQnOyA/Pg==")."<?");?>``` | ||
#### BASIC SETUP | ||
```js | ||
@@ -77,3 +81,3 @@ grunt.initConfig({ | ||
php: { | ||
expand: true, | ||
expand: true, | ||
cwd: 'src', | ||
@@ -90,3 +94,3 @@ dest: 'dest', | ||
js: { | ||
expand: true, | ||
expand: true, | ||
cwd: 'src', | ||
@@ -115,3 +119,3 @@ dest: 'dest', | ||
js: { | ||
expand: true, | ||
expand: true, | ||
cwd: 'src', | ||
@@ -122,3 +126,3 @@ dest: 'dest', | ||
all: { | ||
expand: true, | ||
expand: true, | ||
cwd: 'src', | ||
@@ -125,0 +129,0 @@ dest: 'dest', |
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
11603
135