localhostify
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -7,3 +7,3 @@ const fs = require('fs'); | ||
const extDir = process.cwd() + '/.localhostify-ext'; | ||
const extDir = process.cwd() + '/localhostify-ext'; | ||
@@ -17,8 +17,8 @@ if (!fs.existsSync(extDir)) { | ||
fs.writeFileSync(process.cwd() + '/.localhostify-ext/config.js', chromeConfig); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/icon_128.png', process.cwd() + '/.localhostify-ext/icon_128.png'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/manifest.json', process.cwd() + '/.localhostify-ext/manifest.json'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/scripts/http.js', process.cwd() + '/.localhostify-ext/scripts/http.js'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/scripts/fetch.js', process.cwd() + '/.localhostify-ext/scripts/fetch.js'); | ||
fs.writeFileSync(process.cwd() + '/localhostify-ext/config.js', chromeConfig); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/icon_128.png', process.cwd() + '/localhostify-ext/icon_128.png'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/manifest.json', process.cwd() + '/localhostify-ext/manifest.json'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/scripts/http.js', process.cwd() + '/localhostify-ext/scripts/http.js'); | ||
fs.copyFileSync(__dirname + '/../chrome-ext/scripts/fetch.js', process.cwd() + '/localhostify-ext/scripts/fetch.js'); | ||
console.log("Localhostify: Chrome Ext created in .localhostify-ext folder."); | ||
console.log("Localhostify: Chrome Ext created in localhostify-ext folder."); |
{ | ||
"name": "Localhostify", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"manifest_version": 2, | ||
@@ -5,0 +5,0 @@ "description": "Localhostify: External redirects interceptor", |
{ | ||
"name": "localhostify", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Easy HTTP reverse proxy - localhost:3001 -> prod.domain.com", | ||
@@ -5,0 +5,0 @@ "source": "src/index.js", |
@@ -68,7 +68,7 @@ <p align="center"> | ||
``` | ||
This command will create a folder ".localhostify-ext" on your project. Load it on Chrome. That's all!. | ||
This command will create a folder "localhostify-ext" on your project. Load it on Chrome. That's all!. | ||
Note: if you update your .localhostify.js config, please execute again `npx localhostify --chrome-ext` to update also the ext. | ||
It the browser is opened, refresh all the exstensions. | ||
</br></br> | ||
--- | ||
### 👏 Contributing | ||
@@ -75,0 +75,0 @@ |
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
40777