Snippets

Michael Schramm KKxK9: Untitled snippet

Created by Former user

File snippet.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "name": "web-merchant",
+  "author": "Michale Schramm <michael@mymarket.io>",
+  "homepage": "http://merchant.mymarket.io",
+  "repository": {
+    "type": "git",
+    "url": "https://bitbucket.org/ladenseite/web-merchant.git"
+  },
+  "engines": {
+    "node": ">= 0.6.6"
+  },
+  "devDependencies": {
+    "browser-sync": "^2.9.8",
+    "connect-history-api-fallback": "^1.1.0",
+    "gulp": "*",
+    "gulp-angular-templatecache": "^1.8.0",
+    "gulp-concat": "^2.6.0",
+    "gulp-minify-css": "*",
+    "gulp-replace": "^0.5.4",
+    "gulp-sass": "*",
+    "gulp-sourcemaps": "*",
+    "gulp-uglify": "^1.2.0",
+    "http-proxy-middleware": "^0.9.0"
+  },
+  "dependencies": {},
+  "_virtualApp": {
+    "router": [
+      {
+        "module": "express-request-proxy",
+        "path": "/api/auth/:param1?/:param2?/:param3?",
+        "options": {
+          "url": "https://login-test.mymarket.io/:param1?/:param2?/:param3?",
+          "method": "*",
+          "query": {
+            "client_id": "env:CLIENT_ID"
+          }
+        }
+      },
+      {
+        "module": "express-request-proxy",
+        "path": "/api/file/:param1?/:param2?/:param3?",
+        "options": {
+          "url": "https://file-test.mymarket.io/:param1?/:param2?/:param3?",
+          "method": "GET",
+          "query": {
+            "client_id": "env:CLIENT_ID"
+          }
+        }
+      },
+      {
+        "module": "express-request-proxy",
+        "path": "/config.js",
+        "options": {
+          "url": "https://api-test.mymarket.io/v2/config",
+          "method": "GET",
+          "query": {
+            "client_id": "env:CLIENT_ID"
+          }
+        }
+      },
+      {
+        "module": "express-request-proxy",
+        "path": "/api/:param1?/:param2?",
+        "options": {
+          "url": "https://api-test.mymarket.io/:param1?/:param2?",
+          "method": "*",
+          "query": {
+            "client_id": "env:CLIENT_ID"
+          }
+        }
+      },
+      {
+        "module": "webpage",
+        "options": {
+          "pushState": true
+        }
+      }
+    ]
+  }
+}
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.