admin-iframe-compatibility
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "admin-iframe-compatibility", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Compatiblity js to adapt catalog admin to iframe", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Sorry m8, no tests yet...\"" | ||
"test": "echo \"Sorry m8, no tests yet...\"", | ||
"start": "node server.js" | ||
}, | ||
@@ -18,3 +19,6 @@ "repository": { | ||
}, | ||
"homepage": "https://github.com/vtex/admin-iframe-compatibility#readme" | ||
"homepage": "https://github.com/vtex/admin-iframe-compatibility#readme", | ||
"devDependencies": { | ||
"express": "^4.16.3" | ||
} | ||
} |
@@ -1,3 +0,23 @@ | ||
# There is nothing glamurous to see here | ||
# There is nothing glamorous to see here | ||
pls don't | ||
- this package is just a static js with jquery code that runs on catalog admin pages | ||
# Developing locally | ||
- Setup: | ||
``` | ||
npm install | ||
``` | ||
- You will need requestly chrome extension [linked here](https://chrome.google.com/webstore/detail/requestly-redirect-url-mo/mdnleldcmiljblolnjhpnblkcekpdkpa) | ||
- Open requestly, create a Redirect Rule like so: | ||
``` | ||
Request URL Contains //unpkg.com/admin-iframe-compatibility/index.js | ||
Destination http://localhost:4200/index.js | ||
``` | ||
- Save it and leave it on | ||
- Run the server and you are good to go | ||
``` | ||
npm start | ||
``` | ||
- Just edit the js, save it and refresh admin page to get the new version running |
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
9170
5
200
24
1